[9142] | 1 | Name: perl-ExtUtils-MakeMaker-CPANfile |
---|
| 2 | Version: 0.06 |
---|
| 3 | Release: 3%{?_dist_release} |
---|
| 4 | Summary: CPANfile support for ExtUtils::MakeMaker |
---|
| 5 | Summary(ja): ExtUtils::MakeMaker 用の CPANfile サポート |
---|
| 6 | |
---|
| 7 | License: GPL+ or Artistic |
---|
| 8 | Group: Development/Libraries |
---|
| 9 | URL: http://search.cpan.org/dist/ExtUtils-MakeMaker-CPANfile/ |
---|
| 10 | |
---|
| 11 | Source0: http://www.cpan.org/authors/id/I/IS/ISHIGAKI/ExtUtils-MakeMaker-CPANfile-%{version}.tar.gz |
---|
| 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | BuildArch: noarch |
---|
| 15 | BuildRequires: perl |
---|
| 16 | BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 |
---|
| 17 | BuildRequires: perl(strict) |
---|
| 18 | BuildRequires: perl(warnings) |
---|
| 19 | # Run-time: |
---|
| 20 | BuildRequires: perl(File::Spec::Functions) |
---|
| 21 | BuildRequires: perl(Module::CPANfile) |
---|
| 22 | BuildRequires: perl(version) >= 0.76 |
---|
| 23 | # Tests: |
---|
| 24 | BuildRequires: perl(Cwd) |
---|
| 25 | BuildRequires: perl(File::Path) |
---|
| 26 | BuildRequires: perl(FindBin) |
---|
| 27 | BuildRequires: perl(Test::More) >= 0.88 |
---|
| 28 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
| 29 | Requires: perl(ExtUtils::MakeMaker) >= 6.17 |
---|
| 30 | Requires: perl(version) >= 0.76 |
---|
| 31 | |
---|
| 32 | # Remove under-specified dependencies |
---|
| 33 | %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((ExtUtils::MakeMaker|version)\\)$ |
---|
| 34 | |
---|
| 35 | %description |
---|
| 36 | ExtUtils::MakeMaker::CPANfile loads cpanfile in your distribution and |
---|
| 37 | modifies parameters for WriteMakefile in your Makefile.PL. Just use it |
---|
| 38 | instead of ExtUtils::MakeMaker (which should be loaded internally), and |
---|
| 39 | prepare cpanfile. |
---|
| 40 | |
---|
| 41 | %prep |
---|
| 42 | %setup -q -n ExtUtils-MakeMaker-CPANfile-%{version} |
---|
| 43 | |
---|
| 44 | %build |
---|
| 45 | perl Makefile.PL INSTALLDIRS=vendor |
---|
| 46 | make %{?_smp_mflags} |
---|
| 47 | |
---|
| 48 | %install |
---|
| 49 | rm -rf $RPM_BUILD_ROOT |
---|
| 50 | make pure_install DESTDIR=$RPM_BUILD_ROOT |
---|
| 51 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
---|
| 52 | %{_fixperms} $RPM_BUILD_ROOT/* |
---|
| 53 | |
---|
| 54 | %check |
---|
| 55 | make test |
---|
| 56 | |
---|
| 57 | %clean |
---|
| 58 | rm -rf $RPM_BUILD_ROOT |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | %files |
---|
| 62 | %doc Changes LICENSE README.md |
---|
| 63 | %{perl_vendorlib}/* |
---|
| 64 | %{_mandir}/man3/* |
---|
| 65 | |
---|
| 66 | %changelog |
---|
| 67 | * Sun Dec 7 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.06-3 |
---|
| 68 | - Initial package for Vine Linux |
---|
| 69 | |
---|
| 70 | * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.06-2 |
---|
| 71 | - Perl 5.20 rebuild |
---|
| 72 | |
---|
| 73 | * Wed Jul 16 2014 Petr Pisar <ppisar@redhat.com> 0.06-1 |
---|
| 74 | - Specfile autogenerated by cpanspec 1.78. |
---|