commit 150c204e1144aa589eba2572376927e7e393bee4 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Wed Nov 12 16:55:10 2014 +0100 Import .gitignore | 1 + perl-Filter-Simple.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 57 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..c961b4c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Filter-Simple-0.91.tar.gz diff --git a/perl-Filter-Simple.spec b/perl-Filter-Simple.spec new file mode 100644 index 0000000..a04ff29 --- /dev/null +++ b/perl-Filter-Simple.spec @@ -0,0 +1,55 @@ +Name: perl-Filter-Simple +Version: 0.91 +Release: 240%{?dist} +Summary: Simplified Perl source filtering +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Filter-Simple/ +Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/Filter-Simple-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(Filter::Util::Call) +BuildRequires: perl(Text::Balanced) >= 1.97 +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Tests: +BuildRequires: perl(Exporter) +BuildRequires: perl(parent) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Text::Balanced) >= 1.97 +Requires: perl(warnings) + +# Filter under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Text::Balanced\\)$ + +%description +The Filter::Simple Perl module provides a simplified interface to +Filter::Util::Call; one that is sufficient for most common cases. + +%prep +%setup -q -n Filter-Simple-%{version} + +%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 README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Oct 29 2014 Petr Pisar <ppisar@xxxxxxxxxx> 0.91-240 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..1db3048 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +129be40ffda8b14cde0cd55f6a46f2b1 Filter-Simple-0.91.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