commit 2fd1866462d9dfd659fcbe4bf42513a1c81d271e Author: Petr PÃsaÅ <ppisar@xxxxxxxxxx> Date: Wed Sep 22 19:20:14 2010 +0200 perl-STD-32116 imported .gitignore | 1 + perl-STD.spec | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 66 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..49bbf8c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/STD-32116.tar.gz diff --git a/perl-STD.spec b/perl-STD.spec new file mode 100644 index 0000000..4ed6b68 --- /dev/null +++ b/perl-STD.spec @@ -0,0 +1,64 @@ +Name: perl-STD +Version: 32116 +Release: 1%{?dist} +Summary: The Standard Perl 6 Grammar +License: Artistic 2.0 +Group: Development/Libraries +URL: http://search.cpan.org/dist/STD/ +Source0: http://www.cpan.org/authors/id/S/SO/SOREAR/STD-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl >= 4:5.10 +BuildRequires: perl(File::ShareDir) >= 1.02 +BuildRequires: perl(Module::Build) >= 0.3601 +BuildRequires: perl(Moose) +BuildRequires: perl(YAML::XS) +Requires: perl(File::ShareDir) >= 1.02 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Provides: perl(STD) = %{version} + +# Remove unversioned Requires +%filter_from_requires /perl(File::ShareDir)$/d +# Remove private packages +%filter_from_requires /^perl(mangle.pl)$/d +%filter_from_requires /^perl(STD_P5)$/d +%filter_from_requires /^perl(STD_P6)$/d +%filter_from_requires /^perl(RE_ast)$/d +%filter_from_requires /^perl(STD::Cursor)$/d +%filter_setup + +%description +%{summary}. + +%prep +%setup -q -n STD-%{version} + +%build +%{__perl} Build.PL installdirs=core +./Build + +%install +rm -rf $RPM_BUILD_ROOT + +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%files +%defattr(-,root,root,-) +%doc LICENSE +%{perl_privlib}/* +%{_bindir}/* +%{_mandir}/man1/* + + +%changelog +* Wed Sep 22 2010 Petr Pisar <ppisar@xxxxxxxxxx> 32116-1 +- Specfile autogenerated by cpanspec 1.78. +- Remove pre-F12 spec statements (BuildRoot etc.) +- Filter private packages mangle.pl, STD_P5, STD_P6, RE_ast, STD::Cursor out of + Requires +- Provide versioned perl(STD) diff --git a/sources b/sources index e69de29..c2f0ac7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fc84fda3b80eef3708d8a51dfcb9a5ba STD-32116.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