b5a2195
Name:           perl-Module-Install
Chris Weyl 9ac6cba
Version:        0.82
ed2c478
Release:        1%{?dist}
b5a2195
Summary:        Standalone, extensible Perl module installer
44c5e99
License:        GPL+ or Artistic
b5a2195
Group:          Development/Libraries
b5a2195
URL:            http://search.cpan.org/dist/Module-Install/
6060a09
Source0:        http://www.cpan.org/authors/id/A/AD/ADAMK/Module-Install-%{version}.tar.gz
b5a2195
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
b5a2195
BuildArch:      noarch
Chris Weyl fdb6632
Chris Weyl fdb6632
# Note, Makefile.PL is going to complain about having lower versions of
Chris Weyl fdb6632
# certain modules than is supported. (Especially under F-10.) However, 
Chris Weyl fdb6632
# all tests pass and AFAICT everything works just fine in normal usage.
Chris Weyl fdb6632
Chris Weyl fdb6632
BuildRequires:  perl(Archive::Tar) 
ffe2e6a
BuildRequires:  perl(CPAN)
Chris Weyl fdb6632
BuildRequires:  perl(Devel::PPPort) 
Chris Weyl fdb6632
BuildRequires:  perl(ExtUtils::Install) 
804285c
BuildRequires:  perl(ExtUtils::MakeMaker)
6060a09
BuildRequires:  perl(ExtUtils::ParseXS)
Chris Weyl fdb6632
BuildRequires:  perl(File::Remove) >= 1.42
b5a2195
BuildRequires:  perl(Module::Build)
b5a2195
BuildRequires:  perl(Module::CoreList)
Chris Weyl fdb6632
BuildRequires:  perl(Module::ScanDeps)
42a3047
BuildRequires:  perl(PAR::Dist) >= 0.29
42a3047
BuildRequires:  perl(Test::CPAN::Meta) >= 0.07
c21ceee
BuildRequires:  perl(Test::MinimumVersion)
44c5e99
BuildRequires:  perl(Test::More)
44c5e99
BuildRequires:  perl(Test::Pod)
Chris Weyl fdb6632
BuildRequires:  perl(YAML::Tiny)
Chris Weyl fdb6632
Requires:       perl(Archive::Tar)
a5a4a97
Requires:       perl(ExtUtils::ParseXS)
b5a2195
Requires:       perl(Module::Build)
b5a2195
Requires:       perl(Module::CoreList)
Chris Weyl fdb6632
Requires:       perl(Module::ScanDeps)
42a3047
Requires:       perl(PAR::Dist) >= 0.29
Chris Weyl fdb6632
Requires:       perl(YAML::Tiny) 
b5a2195
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
b5a2195
b5a2195
%description
b5a2195
Module::Install is a package for writing installers for CPAN (or CPAN-like)
b5a2195
distributions that are clean, simple, minimalist, act in a strictly correct
b5a2195
manner with both the ExtUtils::MakeMaker and Module::Build build systems,
b5a2195
and will run on any Perl installation version 5.004 or newer.
b5a2195
b5a2195
%prep
b5a2195
%setup -q -n Module-Install-%{version}
b5a2195
b5a2195
%build
b5a2195
%{__perl} Makefile.PL INSTALLDIRS=vendor
b5a2195
make %{?_smp_mflags}
b5a2195
b5a2195
%install
b5a2195
rm -rf $RPM_BUILD_ROOT
b5a2195
b5a2195
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
b5a2195
b5a2195
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
c390cb1
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
b5a2195
804285c
%{_fixperms} $RPM_BUILD_ROOT/*
b5a2195
find $RPM_BUILD_ROOT%{perl_vendorlib} -type f -perm +100 -exec chmod a-x {} \;
b5a2195
b5a2195
%check
44c5e99
make test AUTOMATED_TESTING=1
b5a2195
b5a2195
%clean
b5a2195
rm -rf $RPM_BUILD_ROOT
b5a2195
b5a2195
%files
b5a2195
%defattr(-,root,root,-)
ffe2e6a
%doc Changes LICENSE
b5a2195
%{perl_vendorlib}/*
b5a2195
%{_mandir}/man3/*
b5a2195
b5a2195
%changelog
Chris Weyl 9ac6cba
* Thu Apr 09 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.82-1
Chris Weyl 9ac6cba
- update to 0.82
Chris Weyl 9ac6cba
Chris Weyl fdb6632
* Sun Mar 22 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.80-1
Chris Weyl fdb6632
- update to 0.80 
Chris Weyl fdb6632
- remove 03_autoinstall.t swizzle (now self-skipped; see RT29448)
Chris Weyl fdb6632
ed2c478
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.79-1
ed2c478
- update to 0.79
ed2c478
4d116dc
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.77-2
4d116dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4d116dc
Chris Weyl 229803a
* Thu Dec 04 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.77-1
Chris Weyl 229803a
- update to 0.77
Chris Weyl 229803a
4471e98
* Wed Jun 04 2008 Steven Pritchard <steve@kspei.com> 0.75-1
4471e98
- Update to 0.75.
4471e98
42a3047
* Sat May 31 2008 Steven Pritchard <steve@kspei.com> 0.74-1
42a3047
- Update to 0.74.
42a3047
- Update versioned dependencies for File::Remove, Module::ScanDeps,
42a3047
  PAR::Dist, and YAML::Tiny.
42a3047
- BR Test::CPAN::Meta.
42a3047
ffe2e6a
* Fri May 16 2008 Steven Pritchard <steve@kspei.com> 0.73-1
ffe2e6a
- Update to 0.73.
ffe2e6a
- BR File::Remove.
ffe2e6a
- Drop zero-length README.
ffe2e6a
c21ceee
* Wed Mar  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.68-3
c21ceee
- disable broken test (upstream bug present)
c21ceee
- add Test::MinimumVersion as BR
c21ceee
a31d5fa
* Wed Mar  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.68-2
a31d5fa
- rebuild for new perl
a31d5fa
a5a4a97
* Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 0.68-1
a5a4a97
- Update to 0.68.
a5a4a97
- Explicitly require Archive::Tar and ExtUtils::ParseXS.
a5a4a97
44c5e99
* Sun Dec 30 2007 Ralf Cors├ępius <rc040203@freenet.de> - 0.67-2
44c5e99
- BR: perl(Test::More), perl(CPAN) (BZ 419631).
44c5e99
- Remove TEST_POD (Unused).
44c5e99
- Add AUTOMATED_TESTING.
44c5e99
- BR: perl(Test::Pod) for AUTOMATED_TESTING.
44c5e99
- Adjust License-tag.
44c5e99
6060a09
* Fri May 18 2007 Steven Pritchard <steve@kspei.com> 0.67-1
6060a09
- Update to 0.67.
6060a09
- BR Archive::Tar, ExtUtils::ParseXS, and YAML::Tiny.
6060a09
- Add a couple more docs.
6060a09
804285c
* Tue Mar 13 2007 Steven Pritchard <steve@kspei.com> 0.65-1
804285c
- Update to 0.65.
804285c
- Use fixperms macro instead of our own chmod incantation.
804285c
- BR ExtUtils::MakeMaker.
804285c
bb1e6dd
* Sun Sep 17 2006 Steven Pritchard <steve@kspei.com> 0.64-2
bb1e6dd
- Rebuild.
bb1e6dd
c390cb1
* Fri Aug 25 2006 Steven Pritchard <steve@kspei.com> 0.64-1
c390cb1
- Update to 0.64.
c390cb1
- Fix find option order.
c390cb1
0e55c7a
* Thu Jun 08 2006 Steven Pritchard <steve@kspei.com> 0.63-1
0e55c7a
- Update to 0.63.
0e55c7a
b5a2195
* Mon May 08 2006 Steven Pritchard <steve@kspei.com> 0.62-2
b5a2195
- Fix Source0 URL.
b5a2195
b5a2195
* Sat May 06 2006 Steven Pritchard <steve@kspei.com> 0.62-1
b5a2195
- Update to 0.62.
b5a2195
- Drop executable bit from everything in vendor_perl to make rpmlint happy.
b5a2195
b5a2195
* Thu Mar 23 2006 Steven Pritchard <steve@kspei.com> 0.61-1
b5a2195
- Specfile autogenerated by cpanspec 1.63.
b5a2195
- Drop explicit BR: perl.
b5a2195
- Turn on TEST_POD.