6e218b
Name:           perl-Module-Install
6e218b
Version:        1.19
6e218b
Release:        2%{?dist}
6e218b
Summary:        Standalone, extensible Perl module installer
6e218b
License:        GPL+ or Artistic
6e218b
URL:            http://search.cpan.org/dist/Module-Install/
6e218b
Source0:        http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Module-Install-%{version}.tar.gz
6e218b
BuildArch:      noarch
6e218b
# Build
6e218b
BuildRequires:  coreutils
6e218b
BuildRequires:  make
6e218b
BuildRequires:  perl-generators
6e218b
BuildRequires:  perl-interpreter
6e218b
BuildRequires:  perl(lib)
6e218b
BuildRequires:  perl(strict)
6e218b
BuildRequires:  perl(warnings)
6e218b
# Runtime
6e218b
# XXX: BuildRequires:  perl(Archive::Zip) >= 1.37
6e218b
# XXX: BuildRequires:  perl(Carp)
6e218b
# XXX: BuildRequires:  perl(CPAN)
6e218b
# XXX: BuildRequires:  perl(CPANPLUS::Backend)
6e218b
BuildRequires:  perl(Config)
6e218b
BuildRequires:  perl(Cwd)
6e218b
BuildRequires:  perl(Devel::PPPort) >= 3.16
6e218b
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
6e218b
BuildRequires:  perl(ExtUtils::Manifest)
6e218b
BuildRequires:  perl(ExtUtils::MM_Unix)
6e218b
# XXX: BuildRequires:  perl(ExtUtils::MM_Cygwin)
6e218b
# XXX: BuildRequires:  perl(ExtUtils::MM_Win32)
6e218b
BuildRequires:  perl(Fcntl)
6e218b
BuildRequires:  perl(File::Basename)
6e218b
BuildRequires:  perl(File::Find)
6e218b
# XXX: BuildRequires:  perl(File::HomeDir) >= 1
6e218b
BuildRequires:  perl(File::Path)
6e218b
BuildRequires:  perl(File::Remove) >= 1.42
6e218b
BuildRequires:  perl(File::Spec) >= 3.28
6e218b
BuildRequires:  perl(File::Temp)
6e218b
BuildRequires:  perl(FileHandle)
6e218b
BuildRequires:  perl(FindBin)
6e218b
# XXX: BuildRequires:  perl(JSON) >= 2.9
6e218b
# XXX: BuildRequires:  perl(LWP::Simple) >= 6.00
6e218b
# XXX: BuildRequires:  perl(Module::Build) >= 0.29
6e218b
BuildRequires:  perl(Module::CoreList) >= 2.17
6e218b
# XXX: BuildRequires:  perl(Module::ScanDeps) >= 1.09
6e218b
# XXX: BuildRequires:  perl(Net::FTP)
6e218b
# XXX: BuildRequires:  perl(PAR::Dist) >= 0.29
6e218b
BuildRequires:  perl(Parse::CPAN::Meta) >= 1.4413
6e218b
# XXX: BuildRequires:  perl(Socket)
6e218b
BuildRequires:  perl(vars)
6e218b
BuildRequires:  perl(YAML::Tiny) >= 1.38
6e218b
# Tests only
6e218b
BuildRequires:  perl(autodie)
6e218b
BuildRequires:  perl(ExtUtils::MM)
6e218b
BuildRequires:  perl(Symbol)
6e218b
BuildRequires:  perl(Test::More)
6e218b
# Optional tests only
6e218b
%if 0%{!?perl_bootstrap:1}
6e218b
BuildRequires:  perl(Module::Install::AuthorTests)
6e218b
BuildRequires:  perl(Module::Install::ExtraTests) >= 0.007
6e218b
%endif
6e218b
BuildRequires:  perl(utf8)
6e218b
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
6e218b
Requires:       perl(Archive::Zip) >= 1.37
6e218b
Requires:       perl(Carp)
6e218b
Requires:       perl(CPAN)
6e218b
# CPANPLUS is preferred over CPAN, but it's in a build cycle
6e218b
# (perl-Module-Install → perl-CPANPLUS → perl-DBIx-Simple → perl-SQL-Abstract
6e218b
# → perl-Module-Install), not necessary if all dependencies are retrived
6e218b
# from an RPM repository, and upstream still considered as an option. Thus do
6e218b
# not hard require the CPANPLUS.
6e218b
Recommends:     perl(CPANPLUS::Backend)
6e218b
Requires:       perl(Devel::PPPort) >= 3.16
6e218b
Requires:       perl(ExtUtils::MakeMaker) >= 6.59
6e218b
# Unused: Requires:       perl(ExtUtils::MM_Cygwin)
6e218b
Requires:       perl(ExtUtils::MM_Unix)
6e218b
# Unused: Requires:       perl(ExtUtils::MM_Win32)
6e218b
# Unneeded: Requires:       perl(File::HomeDir) >= 1
6e218b
Requires:       perl(File::Remove) >= 1.42
6e218b
Requires:       perl(File::Spec) >= 3.28
6e218b
Requires:       perl(File::Temp)
6e218b
Requires:       perl(FileHandle)
6e218b
Requires:       perl(FindBin)
6e218b
# Optional: Requires:       perl(JSON) >= 2.9
6e218b
# Optional: Requires:       perl(LWP::Simple) >= 6.00
6e218b
Requires:       perl(Module::Build) >= 0.29
6e218b
Requires:       perl(Module::CoreList) >= 2.17
6e218b
Requires:       perl(Module::ScanDeps) >= 1.09
6e218b
# Optional: Requires:       perl(Net::FTP)
6e218b
# Optional: Requires:       perl(PAR::Dist) >= 0.29
6e218b
Requires:       perl(Parse::CPAN::Meta) >= 1.4413
6e218b
Requires:       perl(Socket)
6e218b
Requires:       perl(YAML::Tiny) >= 1.38
6e218b
6e218b
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Devel::PPPort\\)$
6e218b
%global __requires_exclude %__requires_exclude|^perl\\(ExtUtils::MakeMaker\\)$
6e218b
%global __requires_exclude %__requires_exclude|^perl\\(File::Remove\\)$
6e218b
%global __requires_exclude %__requires_exclude|^perl\\(File::Spec\\)$
6e218b
%global __requires_exclude %__requires_exclude|^perl\\(YAML::Tiny\\)$
6e218b
6e218b
6e218b
%description
6e218b
Module::Install is a package for writing installers for CPAN (or CPAN-like)
6e218b
distributions that are clean, simple, minimalist, act in a strictly correct
6e218b
manner with ExtUtils::MakeMaker, and will run on any Perl installation
6e218b
version 5.005 or newer.
6e218b
6e218b
%prep
6e218b
%setup -q -n Module-Install-%{version}
6e218b
6e218b
%build
6e218b
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
6e218b
make %{?_smp_mflags}
6e218b
6e218b
%install
6e218b
make pure_install DESTDIR=%{buildroot}
6e218b
rm -f %{buildroot}/blib/lib/auto/share/dist/Module-Install/dist_file.txt
6e218b
%{_fixperms} %{buildroot}/*
6e218b
6e218b
%check
6e218b
make test
6e218b
6e218b
%files
6e218b
%doc Changes README
6e218b
%{perl_vendorlib}/*
6e218b
%{_mandir}/man3/*
6e218b
6e218b
%changelog
6e218b
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-2
6e218b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6e218b
6e218b
* Fri Dec 22 2017 Petr Pisar <ppisar@redhat.com> - 1.19-1
6e218b
- 1.19 bump
6e218b
6e218b
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-4
6e218b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6e218b
6e218b
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.18-3
6e218b
- Perl 5.26 re-rebuild of bootstrapped packages
6e218b
6e218b
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.18-2
6e218b
- Perl 5.26 rebuild
6e218b
6e218b
* Wed Apr 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.18-1
6e218b
- 1.18 bump
6e218b
6e218b
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-2
6e218b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6e218b
6e218b
* Mon Oct 24 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.17-1
6e218b
- 1.17 bump
6e218b
6e218b
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.16-10
6e218b
- Perl 5.24 re-rebuild of bootstrapped packages
6e218b
6e218b
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.16-9
6e218b
- Perl 5.24 rebuild
6e218b
6e218b
* Mon Feb 22 2016 Petr Pisar <ppisar@redhat.com> - 1.16-8
6e218b
- Recommend CPANPLUS instead of hard-requiring it
6e218b
6e218b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-7
6e218b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6e218b
6e218b
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-6
6e218b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6e218b
6e218b
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.16-5
6e218b
- Perl 5.22 re-rebuild of bootstrapped packages
6e218b
6e218b
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.16-4
6e218b
- Perl 5.22 rebuild
6e218b
6e218b
* Mon May 04 2015 Petr Šabata <contyk@redhat.com> - 1.16-3
6e218b
- Module::CoreList is actually required for build
6e218b
6e218b
* Mon May 04 2015 Petr Šabata <contyk@redhat.com> - 1.16-2
6e218b
- Disable some optional tests to avoid a cycle
6e218b
6e218b
* Mon May 04 2015 Petr Šabata <contyk@redhat.com> - 1.16-1
6e218b
- 1.16 bump
6e218b
6e218b
* Thu Apr 30 2015 Petr Šabata <contyk@redhat.com> - 1.15-1
6e218b
- 1.15 bump
6e218b
- Correct source URL
6e218b
- Rewrite the dep list
6e218b
- Drop the currently unused AUTOMATED_TESTING again
6e218b
6e218b
* Wed Oct 29 2014 Petr Pisar <ppisar@redhat.com> - 1.14-1
6e218b
- 1.14 bump
6e218b
6e218b
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.10-2
6e218b
- Perl 5.20 rebuild
6e218b
6e218b
* Tue Aug 19 2014 Petr Pisar <ppisar@redhat.com> - 1.10-1
6e218b
- 1.10 bump
6e218b
6e218b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-7
6e218b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6e218b
6e218b
* Tue Apr 01 2014 Petr Pisar <ppisar@redhat.com> - 1.06-6
6e218b
- Do not build-require Test::MinimumVersion, xt tests are not performed
6e218b
- Fix tests with Parse::CPAN::Meta >= 1.4413 (CPAN RT#93293)
6e218b
6e218b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-5
6e218b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
6e218b
6e218b
* Thu Aug 01 2013 Petr Pisar <ppisar@redhat.com> - 1.06-4
6e218b
- Perl 5.18 rebuild
6e218b
6e218b
* Wed Jan 30 2013 Paul Howarth <paul@city-fan.org> - 1.06-3
6e218b
- Don't "unbundle" Module::Install as we end up build-requiring ourselves
6e218b
6e218b
* Tue Nov 20 2012 Petr Šabata <contyk@redhat.com> - 1.06-2
6e218b
- Add missing deps
6e218b
- Unbundle Module::Install
6e218b
- Modernize the spec
6e218b
6e218b
* Fri Oct 05 2012 Petr Šabata <contyk@redhat.com> - 1.06-1
6e218b
- 1.06 bump
6e218b
6e218b
* Fri Sep 14 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.04-4
6e218b
- Update requires: perl(Carp), perl(CPAN), perl(CPANPLUS::Backend)
6e218b
6e218b
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-3
6e218b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6e218b
6e218b
* Thu Jun 21 2012 Petr Pisar <ppisar@redhat.com> - 1.04-2
6e218b
- Perl 5.16 rebuild
6e218b
6e218b
* Thu Jan 12 2012 Iain Arnell <iarnell@gmail.com> 1.04-1
6e218b
- update to latest upstream version
6e218b
6e218b
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.01-2
6e218b
- Perl mass rebuild
6e218b
6e218b
* Sat May 14 2011 Iain Arnell <iarnell@gmail.com> 1.01-1
6e218b
- update to latest upstream version
6e218b
- clean up spec for modern rpmbuild
6e218b
6e218b
* Thu Mar 10 2011 Steven Pritchard <steve@kspei.com> 1.00-1
6e218b
- Update to 1.00.
6e218b
- Update build dependencies:
6e218b
  + Archive::Tar >= 1.44
6e218b
  + ExtUtils::Install >= 1.52
6e218b
  + ExtUtils::ParseXS >= 2.19
6e218b
  + JSON >= 2.14
6e218b
  + LWP::UserAgent >= 5.812
6e218b
  + Module::Build >= 0.29
6e218b
  + Module::CoreList >= 2.17
6e218b
  + Module::ScanDeps >= 0.89
6e218b
- Update description (pulled from module).
6e218b
6e218b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.95-3
6e218b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6e218b
6e218b
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.95-2
6e218b
- 661697 rebuild for fixing problems with vendorach/lib
6e218b
6e218b
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.95-1
6e218b
- Mass rebuild with perl-5.12.0 & update
6e218b
6e218b
* Thu Feb 25 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.91-4
6e218b
- change to DESTDIR
6e218b
- add README
6e218b
- dist_file.txt wasn't packaged -> removed, it's needed only for test of build
6e218b
6e218b
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.91-3
6e218b
- rebuild against perl 5.10.1
6e218b
6e218b
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-2
6e218b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6e218b
6e218b
* Sun Jun 14 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.91-1
6e218b
- update to 0.91
6e218b
- add br on Parse::CPAN::Meta: 1.39
6e218b
6e218b
* Sat May 23 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.90-1
6e218b
- update to 0.90 
6e218b
- add br on JSON, Test::Harness (3.13)
6e218b
- update br on YAML::Tiny (1.38)
6e218b
6e218b
* Mon May 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.87-1
6e218b
- update to 0.87
6e218b
6e218b
* Sun Apr 26 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.85-1
6e218b
- update to 0.85
6e218b
- add BR on File::Spec
6e218b
6e218b
* Thu Apr 09 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.82-1
6e218b
- update to 0.82
6e218b
6e218b
* Sun Mar 22 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.80-1
6e218b
- update to 0.80 
6e218b
- remove 03_autoinstall.t swizzle (now self-skipped; see RT29448)
6e218b
6e218b
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.79-1
6e218b
- update to 0.79
6e218b
6e218b
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.77-2
6e218b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6e218b
6e218b
* Thu Dec 04 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.77-1
6e218b
- update to 0.77
6e218b
6e218b
* Wed Jun 04 2008 Steven Pritchard <steve@kspei.com> 0.75-1
6e218b
- Update to 0.75.
6e218b
6e218b
* Sat May 31 2008 Steven Pritchard <steve@kspei.com> 0.74-1
6e218b
- Update to 0.74.
6e218b
- Update versioned dependencies for File::Remove, Module::ScanDeps,
6e218b
  PAR::Dist, and YAML::Tiny.
6e218b
- BR Test::CPAN::Meta.
6e218b
6e218b
* Fri May 16 2008 Steven Pritchard <steve@kspei.com> 0.73-1
6e218b
- Update to 0.73.
6e218b
- BR File::Remove.
6e218b
- Drop zero-length README.
6e218b
6e218b
* Wed Mar  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.68-3
6e218b
- disable broken test (upstream bug present)
6e218b
- add Test::MinimumVersion as BR
6e218b
6e218b
* Wed Mar  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.68-2
6e218b
- rebuild for new perl
6e218b
6e218b
* Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 0.68-1
6e218b
- Update to 0.68.
6e218b
- Explicitly require Archive::Tar and ExtUtils::ParseXS.
6e218b
6e218b
* Sun Dec 30 2007 Ralf Corsépius <rc040203@freenet.de> - 0.67-2
6e218b
- BR: perl(Test::More), perl(CPAN) (BZ 419631).
6e218b
- Remove TEST_POD (Unused).
6e218b
- Add AUTOMATED_TESTING.
6e218b
- BR: perl(Test::Pod) for AUTOMATED_TESTING.
6e218b
- Adjust License-tag.
6e218b
6e218b
* Fri May 18 2007 Steven Pritchard <steve@kspei.com> 0.67-1
6e218b
- Update to 0.67.
6e218b
- BR Archive::Tar, ExtUtils::ParseXS, and YAML::Tiny.
6e218b
- Add a couple more docs.
6e218b
6e218b
* Tue Mar 13 2007 Steven Pritchard <steve@kspei.com> 0.65-1
6e218b
- Update to 0.65.
6e218b
- Use fixperms macro instead of our own chmod incantation.
6e218b
- BR ExtUtils::MakeMaker.
6e218b
6e218b
* Sun Sep 17 2006 Steven Pritchard <steve@kspei.com> 0.64-2
6e218b
- Rebuild.
6e218b
6e218b
* Fri Aug 25 2006 Steven Pritchard <steve@kspei.com> 0.64-1
6e218b
- Update to 0.64.
6e218b
- Fix find option order.
6e218b
6e218b
* Thu Jun 08 2006 Steven Pritchard <steve@kspei.com> 0.63-1
6e218b
- Update to 0.63.
6e218b
6e218b
* Mon May 08 2006 Steven Pritchard <steve@kspei.com> 0.62-2
6e218b
- Fix Source0 URL.
6e218b
6e218b
* Sat May 06 2006 Steven Pritchard <steve@kspei.com> 0.62-1
6e218b
- Update to 0.62.
6e218b
- Drop executable bit from everything in vendor_perl to make rpmlint happy.
6e218b
6e218b
* Thu Mar 23 2006 Steven Pritchard <steve@kspei.com> 0.61-1
6e218b
- Specfile autogenerated by cpanspec 1.63.
6e218b
- Drop explicit BR: perl.
6e218b
- Turn on TEST_POD.