| 1 | Name: perl-Module-CPANfile |
|---|
| 2 | Version: 0.9021 |
|---|
| 3 | Release: 1%{?_dist_release} |
|---|
| 4 | Summary: Parse cpanfile |
|---|
| 5 | |
|---|
| 6 | License: GPL+ or Artistic |
|---|
| 7 | Group: Development/Libraries |
|---|
| 8 | URL: http://search.cpan.org/dist/Module-CPANfile/ |
|---|
| 9 | |
|---|
| 10 | Source0: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Module-CPANfile-%{version}.tar.gz |
|---|
| 11 | |
|---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 13 | BuildArch: noarch |
|---|
| 14 | BuildRequires: perl |
|---|
| 15 | BuildRequires: perl(base) |
|---|
| 16 | BuildRequires: perl(Carp) |
|---|
| 17 | BuildRequires: perl(Cwd) |
|---|
| 18 | #BuildRequires: perl(CPAN::Meta) >= 2.12091 |
|---|
| 19 | #BuildRequires: perl(CPAN::Meta::Feature) >= 2.12091 |
|---|
| 20 | #BuildRequires: perl(CPAN::Meta::Prereqs) >= 2.12091 |
|---|
| 21 | #BuildRequires: perl(CPAN::Meta::Requirements) |
|---|
| 22 | #BuildRequires: perl(Data::Dumper) |
|---|
| 23 | BuildRequires: perl(ExtUtils::MakeMaker) |
|---|
| 24 | BuildRequires: perl(parent) |
|---|
| 25 | BuildRequires: perl(strict) |
|---|
| 26 | BuildRequires: perl(warnings) |
|---|
| 27 | # tests |
|---|
| 28 | BuildRequires: perl(Exporter) |
|---|
| 29 | BuildRequires: perl(POSIX) |
|---|
| 30 | BuildRequires: perl(Test::More) >= 0.88 |
|---|
| 31 | |
|---|
| 32 | #Requires: perl(CPAN::Meta) >= 2.12091 |
|---|
| 33 | #Requires: perl(CPAN::Meta::Prereqs) >= 2.12091 |
|---|
| 34 | #Requires: perl(CPAN::Meta::Feature) >= 2.12091 |
|---|
| 35 | Requires: perl(Data::Dumper) |
|---|
| 36 | Requires: perl(Pod::Usage) |
|---|
| 37 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
|---|
| 38 | |
|---|
| 39 | %?perl_default_filter |
|---|
| 40 | %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(CPAN::Meta\\)$ |
|---|
| 41 | |
|---|
| 42 | %description |
|---|
| 43 | Module::CPANfile is a tool to handle cpanfile format to load application |
|---|
| 44 | specific dependencies, not just for CPAN distributions. |
|---|
| 45 | |
|---|
| 46 | %prep |
|---|
| 47 | %setup -q -n Module-CPANfile-%{version} |
|---|
| 48 | |
|---|
| 49 | %build |
|---|
| 50 | perl Makefile.PL INSTALLDIRS=vendor |
|---|
| 51 | make %{?_smp_mflags} |
|---|
| 52 | |
|---|
| 53 | %install |
|---|
| 54 | rm -rf $RPM_BUILD_ROOT |
|---|
| 55 | make pure_install DESTDIR=$RPM_BUILD_ROOT |
|---|
| 56 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
|---|
| 57 | %{_fixperms} $RPM_BUILD_ROOT/* |
|---|
| 58 | |
|---|
| 59 | %check |
|---|
| 60 | make test |
|---|
| 61 | |
|---|
| 62 | %clean |
|---|
| 63 | rm -rf $RPM_BUILD_ROOT |
|---|
| 64 | |
|---|
| 65 | %files |
|---|
| 66 | %doc Changes README.md |
|---|
| 67 | %{_bindir}/mymeta-cpanfile |
|---|
| 68 | #{_bindir}/cpanfile-dump |
|---|
| 69 | %{perl_vendorlib}/* |
|---|
| 70 | %{_mandir}/man1/mymeta-cpanfile* |
|---|
| 71 | #{_mandir}/man1/cpanfile-dump* |
|---|
| 72 | %{_mandir}/man3/* |
|---|
| 73 | |
|---|
| 74 | %changelog |
|---|
| 75 | * Sun Dec 7 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.9021-1 |
|---|
| 76 | - Initial package for Vine Linux |
|---|
| 77 | |
|---|
| 78 | * Fri Sep 19 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.1000-1 |
|---|
| 79 | - 1.1000 bump |
|---|
| 80 | |
|---|
| 81 | * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.0001-5 |
|---|
| 82 | - Perl 5.20 rebuild |
|---|
| 83 | |
|---|
| 84 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0001-4 |
|---|
| 85 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
|---|
| 86 | |
|---|
| 87 | * Fri Aug 30 2013 Marcela Mašláňová <mmaslano@redhat.com> 1.0001-3 |
|---|
| 88 | - fix all problems found in review rhbz#929254 |
|---|
| 89 | |
|---|
| 90 | * Tue Aug 27 2013 Marcela Mašláňová <mmaslano@redhat.com> 1.0001-2 |
|---|
| 91 | - fix all problems found in review rhbz#929254 |
|---|
| 92 | |
|---|
| 93 | * Tue Aug 27 2013 Marcela Mašláňová <mmaslano@redhat.com> 1.0001-1 |
|---|
| 94 | - Specfile autogenerated by cpanspec 1.78. |
|---|