commit c857eb7db6872136f6bad7a124c8af67360bf5cc Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Wed May 7 14:20:19 2014 +0200 Import .gitignore | 1 + perl-autobox-Junctions.spec | 65 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 67 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..38f894f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/autobox-Junctions-0.001.tar.gz diff --git a/perl-autobox-Junctions.spec b/perl-autobox-Junctions.spec new file mode 100644 index 0000000..28aa51e --- /dev/null +++ b/perl-autobox-Junctions.spec @@ -0,0 +1,65 @@ +Name: perl-autobox-Junctions +Version: 0.001 +Release: 1%{?dist} +Summary: Autoboxified junction-style operators +License: LGPLv2+ +Group: Development/Libraries +URL: http://search.cpan.org/dist/autobox-Junctions/ +Source0: http://www.cpan.org/authors/id/R/RS/RSRCHBOY/autobox-Junctions-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(autobox) +BuildRequires: perl(parent) +BuildRequires: perl(Syntax::Keyword::Junction) +# Tests: +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IPC::Open3) +# Pod::Coverage::TrustPod not used +BuildRequires: perl(Test::CheckDeps) >= 0.007 +# Test::ConsistentVersion not used +# Test::EOL not used +# Test::HasVersion not used +# Test::MinimumVersion not used +BuildRequires: perl(Test::More) >= 0.94 +# Test::NoSmartComments not used +# Test::NoTabs not used +# Test::Pod 1.41 not used +# Test::Pod::Coverage 1.08 not used +# Test::Pod::LinkCheck not used +# Test::Spelling 0.12 not used +# Pod::Wordlist not used +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +This is a simple autoboxifying wrapper around Syntax::Keyword::Junction Perl +module, that provides array and array references with the functions provided +by that package as methods for arrays: any, all, one, and none. + +%prep +%setup -q -n autobox-Junctions-%{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 LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed May 07 2014 Petr Pisar <ppisar@xxxxxxxxxx> 0.001-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..d53eb7f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +511b65caf6a3fc4c2bfda1ec08ed737b autobox-Junctions-0.001.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