perl-App-cpanminus/perl-App-cpanminus.spec

128 lines
3.8 KiB
RPMSpec
Raw Normal View History

2010-03-16 07:57:55 +00:00
Name: perl-App-cpanminus
2011-03-08 13:32:19 +00:00
Version: 1.4000
2011-02-17 10:09:00 +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))
# 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)
Requires: perl(LWP)
Requires: perl(Module::Build)
Requires: perl(Parse::CPAN::Meta)
2011-03-08 13:32:19 +00:00
Requires: perl(Time::Local)
Requires: perl(YAML)
# XXX: Keep Provides: cpanminus to allow `yum install cpanminus' instead of
# longer `yum install perl-App-cpanminus'.
Provides: cpanminus = %{version}-%{release}
Obsoletes: cpanminus <= %{version}-1.2002
2010-03-16 07:57:55 +00:00
2011-03-03 14:03:16 +00:00
%{?filter_setup:
%filter_from_requires /^perl(App::cpanminus::script)$/d
%?perl_default_filter
}
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,-)
%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/*
%{_bindir}/cpanm
2010-03-16 07:57:55 +00:00
%changelog
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
- 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
* 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.