commit ff6bb29aa6c328512436d87c54f6f20205f358ad Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Apr 25 08:51:53 2013 +0200 Import .gitignore | 1 + perl-App-mymeta_requires.spec | 67 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 69 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..8fe174a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/App-mymeta_requires-0.005.tar.gz diff --git a/perl-App-mymeta_requires.spec b/perl-App-mymeta_requires.spec new file mode 100644 index 0000000..87097e6 --- /dev/null +++ b/perl-App-mymeta_requires.spec @@ -0,0 +1,67 @@ +Name: perl-App-mymeta_requires +Version: 0.005 +Release: 1%{?dist} +Summary: Extract module requirements from MYMETA files +License: ASL 2.0 +Group: Development/Libraries +URL: http://search.cpan.org/dist/App-mymeta_requires/ +Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/App-mymeta_requires-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(autodie) >= 2.00 +BuildRequires: perl(Class::Load) +BuildRequires: perl(CPAN::Meta) +BuildRequires: perl(CPAN::Meta::Requirements) +BuildRequires: perl(File::Basename) +BuildRequires: perl(Getopt::Lucid) +BuildRequires: perl(Log::Dispatchouli) +BuildRequires: perl(Object::Tiny) +BuildRequires: perl(Pod::Usage) +# Tests: +BuildRequires: perl(Capture::Tiny) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::pushd) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(File::Temp) +BuildRequires: perl(List::Util) +BuildRequires: perl(Test::Deep) +BuildRequires: perl(Test::More) >= 0.92 +# Optional tests: +BuildRequires: perl(Test::Script) >= 1.05 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(File::Basename) +Requires: perl(Pod::Usage) + +%description +This tool extracts CPAN module requirements as recorded in a MYMETA.json or +MYMETA.yml file. + +%prep +%setup -q -n App-mymeta_requires-%{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 +%{_bindir}/* +%{perl_vendorlib}/* +%{_mandir}/man1/* +%{_mandir}/man3/* + +%changelog +* Tue Apr 16 2013 Petr Pisar <ppisar@xxxxxxxxxx> 0.005-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..f07bf25 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c190c987df9bfd6da75a17b108678e2e App-mymeta_requires-0.005.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