2011-10-19 00:01:43 +02:00
|
|
|
#
|
|
|
|
# spec file for package perl-App-cpanminus
|
|
|
|
#
|
2014-06-08 12:30:56 +02:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-10-19 00:01:43 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2010-12-27 23:39:32 +01:00
|
|
|
Name: perl-App-cpanminus
|
2014-06-08 12:30:56 +02:00
|
|
|
Version: 1.7004
|
2010-12-27 23:39:32 +01:00
|
|
|
Release: 0
|
2014-06-08 12:30:56 +02:00
|
|
|
%define cpan_name App-cpanminus
|
|
|
|
Summary: get, unpack, build and install modules from CPAN
|
2012-04-01 17:19:00 +02:00
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
|
|
|
Group: Development/Libraries/Perl
|
2014-06-08 12:30:56 +02:00
|
|
|
Url: http://search.cpan.org/dist/App-cpanminus/
|
|
|
|
Source: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
2011-10-19 00:01:43 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-27 23:39:32 +01:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2012-04-01 17:19:00 +02:00
|
|
|
BuildRequires: perl(ExtUtils::Install) >= 1.46
|
2014-06-08 12:30:56 +02:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31
|
2010-12-27 23:39:32 +01:00
|
|
|
BuildRequires: perl(Module::Build) >= 0.36
|
2012-04-01 17:19:00 +02:00
|
|
|
Requires: perl(ExtUtils::Install) >= 1.46
|
2014-06-08 12:30:56 +02:00
|
|
|
Requires: perl(ExtUtils::MakeMaker) >= 6.31
|
2010-12-27 23:39:32 +01:00
|
|
|
Requires: perl(Module::Build) >= 0.36
|
2014-06-08 12:30:56 +02:00
|
|
|
%{perl_requires}
|
2010-12-27 23:39:32 +01:00
|
|
|
|
|
|
|
%description
|
2014-06-08 12:30:56 +02:00
|
|
|
cpanminus is a script to get, unpack, build and install modules from CPAN
|
|
|
|
and does nothing else.
|
2010-12-27 23:39:32 +01:00
|
|
|
|
2014-06-08 12:30:56 +02:00
|
|
|
It's dependency free (can bootstrap itself), requires zero configuration,
|
|
|
|
and stands alone. When running, it requires only 10MB of RAM.
|
2010-12-27 23:39:32 +01:00
|
|
|
|
|
|
|
%prep
|
2014-06-08 12:30:56 +02:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
find . -type f -print0 | xargs -0 chmod 644
|
2010-12-27 23:39:32 +01:00
|
|
|
|
|
|
|
%build
|
2014-06-08 12:30:56 +02:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
2010-12-27 23:39:32 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2014-06-08 12:30:56 +02:00
|
|
|
%perl_gen_filelist
|
2010-12-27 23:39:32 +01:00
|
|
|
|
2014-06-08 12:30:56 +02:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc Changes cpanfile LICENSE README
|
2010-12-27 23:39:32 +01:00
|
|
|
|
2011-10-19 00:01:43 +02:00
|
|
|
%changelog
|