source: projects/specs/trunk/p/perl-ExtUtils-AutoInstall/perl-ExtUtils-AutoInstall-vl.spec @ 5859

Revision 5859, 2.1 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-ExtUtils-AutoInstall
2Version:        0.63
3Release:        2%{?_dist_release}
4Summary:        Automatic install of dependencies via CPAN
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/ExtUtils-AutoInstall/
8Source:         http://search.cpan.org/CPAN/authors/id/A/AU/AUTRIJUS/ExtUtils-AutoInstall-%{version}.tar.gz
9Patch0:         eai.patch
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11
12Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
13BuildArch:      noarch
14
15BuildRequires:  perl(CPANPLUS) >= 0.043
16BuildRequires:  perl(ExtUtils::MakeMaker)
17BuildRequires:  perl(Sort::Versions) >= 1.2
18BuildRequires:  perl(LWP::Simple)
19BuildRequires:  perl(CPAN)
20
21Vendor:         Project Vine
22Distribution:   Vine Linux
23
24%description
25ExtUtils::AutoInstall lets module writers specify a more sophisticated
26form of dependency information than the PREREQ_PM option offered by
27ExtUtils::MakeMaker.
28
29%prep
30%setup -q -n ExtUtils-AutoInstall-%{version}
31%patch0 -p1
32
33%build
34%{__perl} Makefile.PL INSTALLDIRS=vendor --defaultdeps
35make %{?_smp_mflags}
36
37%install
38rm -rf %{buildroot}
39make pure_install PERL_INSTALL_ROOT=%{buildroot}
40find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
41find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
42chmod -R u+w %{buildroot}/*
43
44%clean
45rm -rf %{buildroot}
46
47%check
48make 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
Note: See TracBrowser for help on using the repository browser.