commit 60d8298b0c697b53665d12ab193b513ee67a1c54 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu May 10 15:06:39 2012 +0200 Import .gitignore | 1 + perl-Module-Install-ManifestSkip.spec | 49 +++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 51 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..e12e4cc 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Module-Install-ManifestSkip-0.20.tar.gz diff --git a/perl-Module-Install-ManifestSkip.spec b/perl-Module-Install-ManifestSkip.spec new file mode 100644 index 0000000..e9e7ce9 --- /dev/null +++ b/perl-Module-Install-ManifestSkip.spec @@ -0,0 +1,49 @@ +Name: perl-Module-Install-ManifestSkip +Version: 0.20 +Release: 1%{?dist} +Summary: Generate a MANIFEST.SKIP file +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Module-Install-ManifestSkip/ +Source0: http://www.cpan.org/authors/id/I/IN/INGY/Module-Install-ManifestSkip-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: perl(base) +BuildRequires: perl(Module::Manifest::Skip) >= 0.10 +# Tests: +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module generates a MANIFEST.SKIP file for you (using +Module::Manifest::Skip) that contains the common files that people do not +want in their MANIFEST files. The SKIP file is generated each time that you +(the module author) run Makefile.PL. + +%prep +%setup -q -n Module-Install-ManifestSkip-%{version} +# XXX: Keep bundled built-time modules to break dependency cycle on +# Module::Package and because upstream uses old 'name' attribute. + +%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 LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Apr 23 2012 Petr Pisar <ppisar@xxxxxxxxxx> 0.20-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..95ceaf7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6fe56356e71351b88dce34aa510464eb Module-Install-ManifestSkip-0.20.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