1 | Name: perl-ExtUtils-AutoInstall |
---|
2 | Version: 0.63 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Automatic install of dependencies via CPAN |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/ExtUtils-AutoInstall/ |
---|
8 | Source: http://search.cpan.org/CPAN/authors/id/A/AU/AUTRIJUS/ExtUtils-AutoInstall-%{version}.tar.gz |
---|
9 | Patch0: eai.patch |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
11 | |
---|
12 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
13 | BuildArch: noarch |
---|
14 | |
---|
15 | BuildRequires: perl(CPANPLUS) >= 0.043 |
---|
16 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
17 | BuildRequires: perl(Sort::Versions) >= 1.2 |
---|
18 | BuildRequires: perl(LWP::Simple) |
---|
19 | BuildRequires: perl(CPAN) |
---|
20 | |
---|
21 | Vendor: Project Vine |
---|
22 | Distribution: Vine Linux |
---|
23 | |
---|
24 | %description |
---|
25 | ExtUtils::AutoInstall lets module writers specify a more sophisticated |
---|
26 | form of dependency information than the PREREQ_PM option offered by |
---|
27 | ExtUtils::MakeMaker. |
---|
28 | |
---|
29 | %prep |
---|
30 | %setup -q -n ExtUtils-AutoInstall-%{version} |
---|
31 | %patch0 -p1 |
---|
32 | |
---|
33 | %build |
---|
34 | %{__perl} Makefile.PL INSTALLDIRS=vendor --defaultdeps |
---|
35 | make %{?_smp_mflags} |
---|
36 | |
---|
37 | %install |
---|
38 | rm -rf %{buildroot} |
---|
39 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
40 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
41 | find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
42 | chmod -R u+w %{buildroot}/* |
---|
43 | |
---|
44 | %clean |
---|
45 | rm -rf %{buildroot} |
---|
46 | |
---|
47 | %check |
---|
48 | make test |
---|
49 | |
---|
50 | %files |
---|
51 | %defattr(-,root,root,-) |
---|
52 | # For license text(s), see the perl package |
---|
53 | %doc Changes AUTHORS README TODO META.yml SIGNATURE |
---|
54 | %{perl_vendorlib}/ExtUtils |
---|
55 | %{_mandir}/man3/* |
---|
56 | |
---|
57 | %changelog |
---|
58 | * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.63-2 |
---|
59 | - spec overhauled |
---|
60 | |
---|
61 | * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 0.63-1 |
---|
62 | - build with perl 5.12.3 |
---|
63 | - apply new versioning policy |
---|
64 | |
---|
65 | * Fri Feb 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.63-0vl1 |
---|
66 | - new upstream release |
---|
67 | - changed Group to Development/Libraries |
---|
68 | |
---|
69 | * Sat Dec 4 2004 IWAI, Masaharu <iwai@alib.jp> 0.61-0vl1 |
---|
70 | - new upstream release |
---|
71 | - build on perl-5.8.6-0vl1 |
---|
72 | |
---|
73 | * Sun Jul 6 2003 IWAI Masaharu <iwai@alib.jp> 0.52-0vl1 |
---|
74 | - first build for Vine Linux |
---|