commit e126cef2811ae7e55304d55b945478b29b73fc76 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Mar 21 09:30:13 2013 +0100 Import .gitignore | 1 + perl-App-p.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 58 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..8b8b87e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/App-p-0.0304.tar.gz diff --git a/perl-App-p.spec b/perl-App-p.spec new file mode 100644 index 0000000..53cfd22 --- /dev/null +++ b/perl-App-p.spec @@ -0,0 +1,56 @@ +Name: perl-App-p +Version: 0.0304 +Release: 1%{?dist} +Summary: Steroids for your perl one-liners +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/App-p/ +Source0: http://www.cpan.org/authors/id/I/IR/IRONCAMEL/App-p-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Data::Dump) +Requires: perl(Encode) +Requires: perl(File::Slurp) +Requires: perl(JSON::XS) +Requires: perl(L) +Requires: perl(List::AllUtils) +Requires: perl(LWP::Simple) +#Requires: perl(Pod::Usage) +Requires: perl(utf8::all) +Requires: perl(XML::Hash::LX) +Requires: perl(YAML::XS) + +%description +Provided tool "p" allows you to write and run perl one-liners in even more +compact syntax. + +%prep +%setup -q -n App-p-%{version} +sed -i -e '1 s/^#!.*/#!\/usr\/bin\/perl/' bin/p + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes LICENSE README +%{_bindir}/* +%{perl_vendorlib}/* +%{_mandir}/man1/* +%{_mandir}/man3/* + +%changelog +* Thu Feb 14 2013 Petr Pisar <ppisar@xxxxxxxxxx> 0.0304-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..7556a8a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +12963cac8b340a4c9e37bf0ee777db6b App-p-0.0304.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