Import
This commit is contained in:
parent
9ed2f64422
commit
94faa4dcfd
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
Module-Load-Conditional-0.24.tar.gz
|
||||
/Module-Load-Conditional-0.54.tar.gz
|
||||
|
||||
@ -1 +0,0 @@
|
||||
Package obsoleted by the base perl package in 5.10.0.
|
||||
67
perl-Module-Load-Conditional.spec
Normal file
67
perl-Module-Load-Conditional.spec
Normal file
@ -0,0 +1,67 @@
|
||||
Name: perl-Module-Load-Conditional
|
||||
Version: 0.54
|
||||
Release: 1%{?dist}
|
||||
Summary: Looking up module information and loading at run-time
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Module-Load-Conditional/
|
||||
Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Module-Load-Conditional-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(strict)
|
||||
# Run-time:
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(FileHandle)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(Locale::Maketext::Simple)
|
||||
# Module::CoreList 2.22 not needed when running tests
|
||||
BuildRequires: perl(Module::Load) >= 0.11
|
||||
BuildRequires: perl(Module::Metadata) >= 1.000005
|
||||
BuildRequires: perl(Params::Check)
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: perl(version) >= 0.69
|
||||
# Tests:
|
||||
BuildRequires: perl(FindBin)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Config)
|
||||
Requires: perl(Module::CoreList) >= 2.22
|
||||
Requires: perl(Module::Load) >= 0.11
|
||||
Requires: perl(Module::Metadata) >= 1.000005
|
||||
Requires: perl(version) >= 0.69
|
||||
|
||||
# Filter under-specified dependencies
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Module::Load|Module::Metadata|version)\\)$
|
||||
|
||||
%description
|
||||
This module provides simple ways to query and possibly load any of the modules
|
||||
you have installed on your system during run-time.
|
||||
|
||||
%prep
|
||||
%setup -q -n Module-Load-Conditional-%{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 {} \;
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc CHANGES README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri Jan 25 2013 Petr Pisar <ppisar@redhat.com> 0.54-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
||||
Loading…
Reference in New Issue
Block a user