forked from pool/perl-Module-Install
noarch pkg
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Install?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
6e78d1882a
commit
1d5814f503
3
Module-Install-1.00.tar.bz2
Normal file
3
Module-Install-1.00.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cdb36893fd9c27f268e44f61199aec1bf91a1022f61e9c6e885ddb54ccf27a60
|
||||||
|
size 94660
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b9320c22d1cf5531511b9f12df9f7eddb65621c17720a35418692b2a4be342ec
|
|
||||||
size 131024
|
|
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 1 08:39:28 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
- recreated by cpanspec 1.78
|
||||||
|
- bzipped Source
|
||||||
|
- noarch pkg
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 1 05:02:52 UTC 2010 - pascal.bleser@opensuse.org
|
Wed Sep 1 05:02:52 UTC 2010 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
@@ -1,100 +1,110 @@
|
|||||||
# vim: set sw=4 ts=4 et nu:
|
#
|
||||||
|
# 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
|
# norootforbuild
|
||||||
|
|
||||||
Name: perl-Module-Install
|
Name: perl-Module-Install
|
||||||
Version: 1.00
|
%define cpan_name Module-Install
|
||||||
Release: 0
|
|
||||||
Summary: Standalone, extensible Perl module installer
|
Summary: Standalone, extensible Perl module installer
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Module-Install-%{version}.tar.gz
|
Version: 1.00
|
||||||
URL: http://search.cpan.org/dist/Module-Install
|
Release: 1
|
||||||
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: Perl License
|
Url: http://search.cpan.org/dist/Module-Install/
|
||||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
#Source: http://www.cpan.org/modules/by-module/Module/Module-Install-%{version}.tar.gz
|
||||||
Requires: perl = %{perl_version}
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: make
|
%if 0%{?suse_version} < 1120
|
||||||
BuildRequires: perl(Test::More) >= 0.86
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Test::Harness) >= 3.13
|
%endif
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
BuildRequires: perl(Archive::Tar) >= 1.44
|
||||||
BuildRequires: perl(YAML::Tiny) >= 1.33
|
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
||||||
BuildRequires: perl(Parse::CPAN::Meta) >= 1.39
|
|
||||||
BuildRequires: perl(File::Remove) >= 1.42
|
|
||||||
BuildRequires: perl(YAML::Tiny) >= 1.38
|
|
||||||
BuildRequires: perl(File::Spec) >= 3.28
|
|
||||||
BuildRequires: perl(ExtUtils::ParseXS) >= 2.19
|
|
||||||
BuildRequires: perl(Devel::PPPort) >= 3.16
|
BuildRequires: perl(Devel::PPPort) >= 3.16
|
||||||
BuildRequires: perl(ExtUtils::Install) >= 1.52
|
BuildRequires: perl(ExtUtils::Install) >= 1.52
|
||||||
BuildRequires: perl(PAR::Dist) >= 0.29
|
BuildRequires: perl(ExtUtils::ParseXS) >= 2.19
|
||||||
BuildRequires: perl(LWP::UserAgent) >= 5.812
|
BuildRequires: perl(File::Remove) >= 1.42
|
||||||
BuildRequires: perl(Module::ScanDeps) >= 0.89
|
BuildRequires: perl(File::Spec) >= 3.28
|
||||||
BuildRequires: perl(Module::CoreList) >= 2.17
|
|
||||||
BuildRequires: perl(Archive::Tar) >= 1.44
|
|
||||||
BuildRequires: perl(JSON) >= 2.14
|
BuildRequires: perl(JSON) >= 2.14
|
||||||
BuildRequires: perl(Module::Build) >= 0.29
|
BuildRequires: perl(LWP::UserAgent) >= 5.812
|
||||||
Requires: perl(Parse::CPAN::Meta) >= 1.39
|
BuildRequires: perl(Module::CoreList) >= 2.17
|
||||||
Requires: perl(File::Remove) >= 1.42
|
BuildRequires: perl(Module::ScanDeps) >= 0.89
|
||||||
Requires: perl(YAML::Tiny) >= 1.38
|
BuildRequires: perl(PAR::Dist) >= 0.29
|
||||||
Requires: perl(File::Spec) >= 3.28
|
BuildRequires: perl(Parse::CPAN::Meta) >= 1.39
|
||||||
Requires: perl(ExtUtils::ParseXS) >= 2.19
|
BuildRequires: perl(YAML::Tiny) >= 1.38
|
||||||
Requires: perl(Devel::PPPort) >= 3.16
|
# for test
|
||||||
Requires: perl(ExtUtils::Install) >= 1.52
|
BuildRequires: perl(Test::Harness) >= 3.13
|
||||||
Requires: perl(PAR::Dist) >= 0.29
|
BuildRequires: perl(Test::More) >= 0.84
|
||||||
Requires: perl(LWP::UserAgent) >= 5.812
|
#
|
||||||
Requires: perl(Module::ScanDeps) >= 0.89
|
Requires: perl = %{perl_version}
|
||||||
Requires: perl(Module::CoreList) >= 2.17
|
|
||||||
Requires: perl(Archive::Tar) >= 1.44
|
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(JSON) >= 2.14
|
||||||
|
Requires: perl(LWP::UserAgent) >= 5.812
|
||||||
Requires: perl(Module::Build) >= 0.29
|
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
|
%description
|
||||||
Module::Install is a package for writing installers for CPAN (or
|
Module::Install is a package for writing installers for CPAN (or CPAN-like)
|
||||||
CPAN-like) distributions that are clean, simple, minimalist, act in a
|
distributions that are clean, simple, minimalist, act in a strictly correct
|
||||||
strictly correct manner with ExtUtils::MakeMaker, and will run on any Perl
|
manner with ExtUtils::MakeMaker, and will run on any Perl installation
|
||||||
installation version 5.005 or newer.
|
version 5.005 or newer.
|
||||||
|
|
||||||
The intent is to make it as easy as possible for CPAN authors (and
|
The intent is to make it as easy as possible for CPAN authors (and especially
|
||||||
especially for first-time CPAN authors) to have installers that follow all
|
for first-time CPAN authors) to have installers that follow all the best
|
||||||
the best practices for distribution installation, but involve as much DWIM
|
practices for distribution installation, but involve as much DWIM
|
||||||
(Do What I Mean) as possible when writing them.
|
(Do What I Mean) as possible when writing them.
|
||||||
Writing Module::Install Installers
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Adam Kennedy <adamk@cpan.org>
|
||||||
|
Audrey Tang <autrijus@autrijus.org>
|
||||||
|
Brian Ingerson <ingy@cpan.org>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "Module-Install-%{version}"
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%__sed -i '/^auto_install/d' Makefile.PL
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
%__make %{?jobs:-j%{jobs}}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
# do not perl_process_packlist (noarch)
|
||||||
|
# remove .packlist file
|
||||||
%check
|
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
||||||
%__make test
|
# remove perllocal.pod file
|
||||||
|
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE README Changes
|
%doc Changes LICENSE README
|
||||||
%dir %{perl_vendorlib}/Module
|
|
||||||
%{perl_vendorlib}/Module/AutoInstall.pm
|
|
||||||
%{perl_vendorlib}/Module/Install.pm
|
|
||||||
%doc %{perl_vendorlib}/Module/Install.pod
|
|
||||||
%{perl_vendorlib}/Module/Install
|
|
||||||
%dir %{perl_vendorlib}/inc
|
|
||||||
%dir %{perl_vendorlib}/inc/Module
|
|
||||||
%{perl_vendorlib}/inc/Module/Install.pm
|
|
||||||
%{perl_vendorlib}/inc/Module/Install
|
|
||||||
%dir %{perl_vendorarch}/auto/Module
|
|
||||||
%{perl_vendorarch}/auto/Module/Install
|
|
||||||
%doc %{perl_man3dir}/Module::AutoInstall.%{perl_man3ext}%{ext_man}
|
|
||||||
%doc %{perl_man3dir}/Module::Install.%{perl_man3ext}%{ext_man}
|
|
||||||
%doc %{perl_man3dir}/Module::Install::*.%{perl_man3ext}%{ext_man}
|
|
||||||
%doc %{perl_man3dir}/inc::Module::Install.%{perl_man3ext}%{ext_man}
|
|
||||||
%doc %{perl_man3dir}/inc::Module::Install::*.%{perl_man3ext}%{ext_man}
|
|
||||||
/var/adm/perl-modules/%{name}
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
Reference in New Issue
Block a user