rpms/perl-Module-Starter-PBP/devel perl-Module-Starter-PBP.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Chris Weyl (cweyl)
fedora-extras-commits at redhat.com
Tue Aug 8 15:44:17 UTC 2006
Author: cweyl
Update of /cvs/extras/rpms/perl-Module-Starter-PBP/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16912/devel
Modified Files:
.cvsignore sources
Added Files:
perl-Module-Starter-PBP.spec
Log Message:
auto-import perl-Module-Starter-PBP-0.000003-3.fc5 on branch devel from perl-Module-Starter-PBP-0.000003-3.fc5.src.rpm
--- NEW FILE perl-Module-Starter-PBP.spec ---
# Note that our versioning is a touch different here... I'm choosing to stick
# with the version as reported by cpan directly, for a number of reasons: 1)
# it's what v0.0.3 translates into when qv{}'ed, 2) it's easier on rpm, 3) it's
# what the author intended by versioning it that way within the CPAN system.
# note we have a CPAN version != the version embedded in the tarball
%define tarver v0.0.3
Name: perl-Module-Starter-PBP
Version: 0.000003
Release: 3%{?dist}
Summary: Create a module as recommended in "Perl Best Practices"
Group: Development/Libraries
License: Artistic or GPL
URL: http://search.cpan.org/dist/Module-Starter-PBP
# note different macro!
Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Module-Starter-PBP-%{tarver}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
## core
BuildRequires: perl
BuildRequires: perl(Test::More), perl(ExtUtils::MakeMaker)
## non-core
BuildRequires: perl(Module::Starter), perl(version), perl(Module::Build)
BuildRequires: perl(Test::Pod::Coverage), perl(Test::Pod)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# not picked up as it's a "use base" situation...
Requires: perl(Module::Starter::Simple)
%description
This module implements a simple approach to creating modules and their support
files, based on the Module::Starter approach.
When used as a Module::Starter plugin, this module allows you to specify a
simple directory of templates which are filled in with module-specific
information, and thereafter form the basis of your new module.
The default templates that this module initially provides are based on the
recommendations in the book "Perl Best Practices".
%prep
%setup -q -n Module-Starter-PBP-%{tarver}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*
%check
make test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README Changes
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Tue Aug 08 2006 Chris Weyl <cweyl at alumni.drew.edu> 0.000003-3
- added explicit br's on perl(Test::More)
* Sun Aug 06 2006 Chris Weyl <cweyl at alumni.drew.edu> 0.000003-2
- add explict requires on perl(Module::Starter::Simple)
* Sun Aug 06 2006 Chris Weyl <cweyl at alumni.drew.edu> 0.000003-1
- Initial spec file for F-E
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Module-Starter-PBP/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 8 Aug 2006 15:44:00 -0000 1.1
+++ .cvsignore 8 Aug 2006 15:44:16 -0000 1.2
@@ -0,0 +1 @@
+Module-Starter-PBP-v0.0.3.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Module-Starter-PBP/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 8 Aug 2006 15:44:00 -0000 1.1
+++ sources 8 Aug 2006 15:44:16 -0000 1.2
@@ -0,0 +1 @@
+2e39d69cd77f64721a875d903a632be3 Module-Starter-PBP-v0.0.3.tar.gz
More information about the fedora-extras-commits
mailing list