# # spec file for package perl-Module-Install (Version 1.00) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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/ # # norootforbuild Name: perl-Module-Install %define cpan_name Module-Install Summary: Standalone, extensible Perl module installer Version: 1.00 Release: 1 License: GPL+ or Artistic Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Module-Install/ #Source: http://www.cpan.org/modules/by-module/Module/Module-Install-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.bz2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Archive::Tar) >= 1.44 BuildRequires: perl(Devel::PPPort) >= 3.16 BuildRequires: perl(ExtUtils::Install) >= 1.52 BuildRequires: perl(ExtUtils::ParseXS) >= 2.19 BuildRequires: perl(File::Remove) >= 1.42 BuildRequires: perl(File::Spec) >= 3.28 BuildRequires: perl(JSON) >= 2.14 BuildRequires: perl(LWP::UserAgent) >= 5.812 BuildRequires: perl(Module::CoreList) >= 2.17 BuildRequires: perl(Module::ScanDeps) >= 0.89 BuildRequires: perl(PAR::Dist) >= 0.29 BuildRequires: perl(Parse::CPAN::Meta) >= 1.39 BuildRequires: perl(YAML::Tiny) >= 1.38 # for test BuildRequires: perl(Test::Harness) >= 3.13 BuildRequires: perl(Test::More) >= 0.84 # Requires: perl(Archive::Tar) >= 1.44 Requires: perl(Devel::PPPort) >= 3.16 Requires: perl(File::Remove) >= 1.42 Requires: perl(File::Spec) >= 3.28 Requires: perl(JSON) >= 2.14 Requires: perl(LWP::UserAgent) >= 5.812 Requires: perl(Module::Build) >= 0.29 Requires: perl(Module::CoreList) >= 2.17 Requires: perl(Module::ScanDeps) >= 0.89 Requires: perl(PAR::Dist) >= 0.29 Requires: perl(Parse::CPAN::Meta) >= 1.39 Requires: perl(YAML::Tiny) >= 1.38 %description Module::Install is a package for writing installers for CPAN (or CPAN-like) distributions that are clean, simple, minimalist, act in a strictly correct manner with ExtUtils::MakeMaker, and will run on any Perl installation version 5.005 or newer. The intent is to make it as easy as possible for CPAN authors (and especially for first-time CPAN authors) to have installers that follow all the best practices for distribution installation, but involve as much DWIM (Do What I Mean) as possible when writing them. Authors: -------- Adam Kennedy Audrey Tang Brian Ingerson %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install # do not perl_process_packlist (noarch) # remove .packlist file %{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch # remove perllocal.pod file %{__rm} -rf $RPM_BUILD_ROOT%perl_archlib %perl_gen_filelist %clean %{__rm} -rf $RPM_BUILD_ROOT %files -f %{name}.files %defattr(-,root,root,-) %doc Changes LICENSE README %changelog