[521] | 1 | Summary: Automatic install of dependencies via CPAN |
---|
| 2 | Name: perl-ExtUtils-AutoInstall |
---|
| 3 | Version: 0.63 |
---|
[3218] | 4 | Release: 1%{?_dist_release} |
---|
[521] | 5 | License: Artistic |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | Source0: http://search.cpan.org/CPAN/authors/id/A/AU/AUTRIJUS/ExtUtils-AutoInstall-%{version}.tar.gz |
---|
| 8 | URL: http://www.cpan.org/dist/ExtUtils-AutoInstall/ |
---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 10 | BuildRequires: perl >= 5.8.0, perl-version >= 0.28 |
---|
| 11 | Requires: perl >= 5.8.0, perl-version >= 0.28 |
---|
| 12 | Vendor: Project Vine |
---|
| 13 | Distribution: Vine Linux |
---|
| 14 | BuildArch: noarch |
---|
| 15 | |
---|
| 16 | %description |
---|
| 17 | This is the README file for ExtUtils::AutoInstall, a module to |
---|
| 18 | let Makefile.PL automatically install dependencies via CPAN or |
---|
| 19 | CPANPLUS. |
---|
| 20 | |
---|
| 21 | %prep |
---|
| 22 | %setup -q -n ExtUtils-AutoInstall-%{version} |
---|
| 23 | |
---|
| 24 | %build |
---|
| 25 | CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor << _OPT_ |
---|
| 26 | n |
---|
| 27 | _OPT_ |
---|
| 28 | |
---|
| 29 | make |
---|
| 30 | |
---|
| 31 | %install |
---|
| 32 | rm -rf %{buildroot} |
---|
| 33 | mkdir -p %{buildroot}%{_prefix} |
---|
| 34 | make DESTDIR=%{buildroot} install |
---|
| 35 | |
---|
| 36 | rm -f %{buildroot}%{perl_vendorarch}/perllocal.pod |
---|
| 37 | rm -f %{buildroot}%{perl_vendorarch}/auto/ExtUtils/AutoInstall/.packlist |
---|
| 38 | |
---|
| 39 | find %{buildroot}%{_prefix} -type f -print | |
---|
| 40 | sed "s@^%{buildroot}@@g" | |
---|
| 41 | grep -v perllocal.pod | |
---|
| 42 | grep -v ^%{_mandir} > %{name}.files |
---|
| 43 | if [ "$(cat %{name}.files)X" = "X" ] ; then |
---|
| 44 | echo "ERROR: EMPTY FILE LIST" |
---|
| 45 | exit -1 |
---|
| 46 | fi |
---|
| 47 | |
---|
| 48 | perllocalfile=`find %{buildroot} -name perllocal.pod` |
---|
| 49 | echo "mv $perllocalfile ." |
---|
| 50 | mv $perllocalfile . |
---|
| 51 | |
---|
| 52 | %clean |
---|
| 53 | rm -rf %{buildroot} |
---|
| 54 | |
---|
| 55 | %check |
---|
| 56 | make test |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | %files -f %{name}.files |
---|
| 60 | %defattr(-,root,root) |
---|
| 61 | %doc AUTHORS Changes META.yml README SIGNATURE TODO perllocal.pod |
---|
| 62 | %{_mandir}/*/* |
---|
| 63 | %dir %{perl_vendorlib}/ExtUtils |
---|
| 64 | |
---|
| 65 | %changelog |
---|
[3218] | 66 | * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 0.63-1 |
---|
| 67 | - build with perl 5.12.3 |
---|
| 68 | - apply new versioning policy |
---|
| 69 | |
---|
[521] | 70 | * Fri Feb 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.63-0vl1 |
---|
| 71 | - new upstream release |
---|
| 72 | - changed Group to Development/Libraries |
---|
| 73 | |
---|
| 74 | * Sat Dec 4 2004 IWAI, Masaharu <iwai@alib.jp> 0.61-0vl1 |
---|
| 75 | - new upstream release |
---|
| 76 | - build on perl-5.8.6-0vl1 |
---|
| 77 | |
---|
| 78 | * Sun Jul 6 2003 IWAI Masaharu <iwai@alib.jp> 0.52-0vl1 |
---|
| 79 | - first build for Vine Linux |
---|
| 80 | |
---|