commit 1ec5622deca3fc9cd97ff294e49c7c7d70b09592 Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Thu May 17 15:28:41 2012 +0200 Initial import .gitignore | 1 + perl-Module-Install-AutoManifest.spec | 46 +++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 48 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..74c3932 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Module-Install-AutoManifest-0.003.tar.gz diff --git a/perl-Module-Install-AutoManifest.spec b/perl-Module-Install-AutoManifest.spec new file mode 100644 index 0000000..6394bc9 --- /dev/null +++ b/perl-Module-Install-AutoManifest.spec @@ -0,0 +1,46 @@ +Name: perl-Module-Install-AutoManifest +Version: 0.003 +Release: 1%{?dist} +Summary: The module generates MANIFEST automatically +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Module-Install-AutoManifest/ +Source0: http://www.cpan.org/authors/id/H/HD/HDP/Module-Install-AutoManifest-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(inc::Module::Install) +BuildRequires: perl(Module::Install::Base) +BuildRequires: perl(Module::Install::ExtraTests) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module is extension to Module::Install. It adds behavior for +automatically generating MANIFEST. + +%prep +%setup -q -n Module-Install-AutoManifest-%{version} +rm -r inc +sed -i -e '/^inc\// d' MANIFEST +find -type f -exec chmod -x {} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed May 16 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> 0.003-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..bc96a59 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a799c35f4d9830b0f26f57cfd328006a Module-Install-AutoManifest-0.003.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel