2010-03-16 07:57:55 +00:00
|
|
|
Name: perl-App-cpanminus
|
2011-10-19 11:38:51 +00:00
|
|
|
Version: 1.5003
|
2011-10-13 11:03:31 +00:00
|
|
|
Release: 1%{?dist}
|
2010-03-16 07:57:55 +00:00
|
|
|
Summary: Library for get, unpack, build and install CPAN modules
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/App-cpanminus/
|
|
|
|
Source0: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2010-03-16 08:03:36 +00:00
|
|
|
BuildRequires: perl(Test::More)
|
2010-03-16 07:57:55 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
2011-03-03 14:25:03 +00:00
|
|
|
# Required by bin/cpanm
|
|
|
|
Requires: perl(Cwd)
|
|
|
|
Requires: perl(File::Path)
|
|
|
|
Requires: perl(File::Spec)
|
|
|
|
Requires: perl(Getopt::Long)
|
2011-03-08 13:32:19 +00:00
|
|
|
Requires: perl(IO::File)
|
|
|
|
Requires: perl(IO::Socket)
|
|
|
|
Requires: perl(JSON)
|
2011-03-03 14:25:03 +00:00
|
|
|
Requires: perl(Module::Build)
|
|
|
|
Requires: perl(Parse::CPAN::Meta)
|
2011-03-08 13:32:19 +00:00
|
|
|
Requires: perl(Time::Local)
|
|
|
|
Requires: perl(YAML)
|
2011-03-03 14:25:03 +00:00
|
|
|
# XXX: Keep Provides: cpanminus to allow `yum install cpanminus' instead of
|
|
|
|
# longer `yum install perl-App-cpanminus'.
|
|
|
|
Provides: cpanminus = %{version}-%{release}
|
2011-05-17 11:31:02 +00:00
|
|
|
Obsoletes: cpanminus <= 1.2002
|
2010-03-16 07:57:55 +00:00
|
|
|
|
2011-07-22 11:39:25 +00:00
|
|
|
# RPM 4.8 style
|
2011-03-03 14:03:16 +00:00
|
|
|
%{?filter_setup:
|
|
|
|
%filter_from_requires /^perl(App::cpanminus::script)$/d
|
|
|
|
%?perl_default_filter
|
|
|
|
}
|
2011-07-22 11:39:25 +00:00
|
|
|
# RPM 4.9 style
|
|
|
|
%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(App::cpanminus::script\\)$
|
2011-03-03 14:03:16 +00:00
|
|
|
|
2010-03-16 07:57:55 +00:00
|
|
|
%description
|
|
|
|
Why? It's dependency free, requires zero configuration, and stands alone
|
2010-09-14 12:58:50 +00:00
|
|
|
but it's maintainable and extensible with plug-ins and friendly to shell
|
2011-03-03 14:03:16 +00:00
|
|
|
scripting. When running, it requires only 10 MB of RAM.
|
2010-03-16 07:57:55 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n App-cpanminus-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2011-03-03 14:25:03 +00:00
|
|
|
%doc Changes README
|
2010-03-16 07:57:55 +00:00
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
2010-09-14 12:58:50 +00:00
|
|
|
%{_mandir}/man1/*
|
2011-03-03 14:25:03 +00:00
|
|
|
%{_bindir}/cpanm
|
2010-03-16 07:57:55 +00:00
|
|
|
|
|
|
|
%changelog
|
2011-10-19 11:38:51 +00:00
|
|
|
* Wed Oct 19 2011 Petr Sabata <contyk@redhat.com> - 1.5003-1
|
|
|
|
- 1.5003 bump
|
|
|
|
|
2011-10-18 15:05:02 +00:00
|
|
|
* Tue Oct 18 2011 Petr Sabata <contyk@redhat.com> - 1.5002-1
|
2011-10-19 11:38:51 +00:00
|
|
|
- 1.5002 bump
|
2011-10-18 15:05:02 +00:00
|
|
|
|
2011-10-14 10:43:41 +00:00
|
|
|
* Fri Oct 14 2011 Petr Sabata <contyk@redhat.com> - 1.5001-1
|
|
|
|
- 1.5001 bump
|
|
|
|
|
2011-10-13 11:03:31 +00:00
|
|
|
* Thu Oct 13 2011 Petr Sabata <contyk@redhat.com> - 1.5000-1
|
|
|
|
- 1.5000 bump
|
|
|
|
|
2011-07-22 11:39:25 +00:00
|
|
|
* Fri Jul 22 2011 Petr Pisar <ppisar@redhat.com> - 1.4008-3
|
|
|
|
- RPM 4.9 dependency filtering added
|
|
|
|
|
2011-06-17 06:34:19 +00:00
|
|
|
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.4008-2
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-06-16 10:43:53 +00:00
|
|
|
* Thu Jun 16 2011 Petr Pisar <ppisar@redhat.com> - 1.4008-1
|
|
|
|
- 1.4008 bump
|
|
|
|
|
2011-05-18 11:03:08 +00:00
|
|
|
* Wed May 18 2011 Petr Pisar <ppisar@redhat.com> - 1.4007-1
|
|
|
|
- 1.4007 bump
|
|
|
|
- LWP is optional since this package bundles HTTP::Tiny. Upstream recognized
|
|
|
|
LWP being heavy. Follow upstream decision in RPM package dependencies.
|
|
|
|
|
2011-05-17 11:31:02 +00:00
|
|
|
* Tue May 17 2011 Petr Pisar <ppisar@redhat.com> - 1.4006-1
|
|
|
|
- 1.4006 bump
|
|
|
|
- Fix obsoleted version string
|
|
|
|
|
2011-05-12 11:10:41 +00:00
|
|
|
* Thu May 12 2011 Petr Sabata <psabata@redhat.com> - 1.4005-1
|
|
|
|
- 1.4005 bump
|
|
|
|
|
2011-03-11 12:28:36 +00:00
|
|
|
* Fri Mar 11 2011 Petr Sabata <psabata@redhat.com> - 1.4004-1
|
|
|
|
- 1.4004 bump
|
|
|
|
|
2011-03-10 12:05:52 +00:00
|
|
|
* Thu Mar 10 2011 Petr Pisar <ppisar@redhat.com> - 1.4003-1
|
|
|
|
- 1.4003 bump
|
|
|
|
|
2011-03-08 13:32:19 +00:00
|
|
|
* Tue Mar 08 2011 Petr Pisar <ppisar@redhat.com> - 1.4000-1
|
|
|
|
- 1.4000 bump
|
|
|
|
|
2011-03-04 13:09:13 +00:00
|
|
|
* Fri Mar 04 2011 Petr Pisar <ppisar@redhat.com> - 1.3001-1
|
|
|
|
- 1.3001 bump
|
|
|
|
|
2011-03-03 14:03:16 +00:00
|
|
|
* Thu Mar 03 2011 Petr Pisar <ppisar@redhat.com> - 1.3000-1
|
|
|
|
- 1.3000 bump
|
|
|
|
- Clean up spec file
|
|
|
|
- Require modules needed by cpanm
|
2011-03-03 14:25:03 +00:00
|
|
|
- Merge cpanminus into main package as cpanminus required main package and
|
|
|
|
main package did not contain any code (i.e. was useless).
|
2011-03-03 14:03:16 +00:00
|
|
|
|
2011-02-17 10:09:00 +00:00
|
|
|
* Thu Feb 17 2011 Petr Sabata <psabata@redhat.com> - 1.2001-1
|
|
|
|
- 1.2001 bump
|
|
|
|
|
2011-02-08 16:06:42 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1008-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-27 14:40:45 +00:00
|
|
|
* Thu Jan 27 2011 Petr Pisar <ppisar@redhat.com> - 1.1008-1
|
|
|
|
- 1.1008 bump
|
|
|
|
|
2011-01-24 10:09:49 +00:00
|
|
|
* Mon Jan 24 2011 Petr Pisar <ppisar@redhat.com> - 1.1007-1
|
|
|
|
- 1.1007 bump
|
|
|
|
|
2011-01-03 09:57:52 +00:00
|
|
|
* Mon Jan 3 2011 Petr Sabata <psabata@redhat.com> - 1.1006-1
|
|
|
|
- 1.1006 bump
|
|
|
|
|
2010-12-02 11:36:16 +00:00
|
|
|
* Thu Dec 2 2010 Petr Sabata <psabata@redhat.com> - 1.1004-1
|
|
|
|
- 1.1004 bump
|
|
|
|
|
2010-11-19 09:03:31 +00:00
|
|
|
* Fri Nov 19 2010 Petr Pisar <ppisar@redhat.com> - 1.1002-1
|
|
|
|
- 1.1002 bump
|
|
|
|
|
2010-09-27 09:00:45 +00:00
|
|
|
* Mon Sep 27 2010 Petr Pisar <ppisar@redhat.com> - 1.0015-1
|
|
|
|
- 1.0015 bump
|
|
|
|
|
2010-09-23 09:25:30 +00:00
|
|
|
* Thu Sep 23 2010 Petr Pisar <ppisar@redhat.com> - 1.0014-1
|
|
|
|
- 1.0014 bump
|
|
|
|
|
2010-09-14 12:58:50 +00:00
|
|
|
* Tue Sep 14 2010 Petr Pisar <ppisar@redhat.com> - 1.0013-1
|
|
|
|
- 1.0013 bump
|
|
|
|
- Correct description spelling
|
|
|
|
|
2010-04-29 17:39:42 +00:00
|
|
|
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.9935-3
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2010-04-19 07:59:01 +00:00
|
|
|
* Tue Mar 16 2010 Marcela Mašláňová <mmaslano@redhat.com> 0.9935-2
|
|
|
|
- filter unwanted requires
|
|
|
|
|
2010-04-16 07:16:28 +00:00
|
|
|
* Tue Mar 16 2010 Marcela Mašláňová <mmaslano@redhat.com> 0.9935-1
|
|
|
|
- update
|
|
|
|
|
2010-03-16 07:57:55 +00:00
|
|
|
* Tue Mar 16 2010 Marcela Mašláňová <mmaslano@redhat.com> 0.9923-1
|
|
|
|
- update
|
|
|
|
- create sub-package
|
|
|
|
|
|
|
|
* Tue Mar 2 2010 Marcela Mašláňová <mmaslano@redhat.com> 0.9911-1
|
|
|
|
- new version & fix description
|
|
|
|
|
|
|
|
* Tue Feb 23 2010 Marcela Mašláňová <mmaslano@redhat.com> 0.09-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|