You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.6 KiB
59 lines
1.6 KiB
12 years ago
|
Name: perl-Package-Variant
|
||
|
Version: 1.001002
|
||
|
Release: 2%{?dist}
|
||
|
Summary: Parameterizable packages
|
||
|
License: GPL+ or Artistic
|
||
|
Group: Development/Libraries
|
||
|
URL: http://search.cpan.org/dist/Package-Variant/
|
||
|
Source0: http://www.cpan.org/authors/id/P/PH/PHAYLON/Package-Variant-%{version}.tar.gz
|
||
|
BuildArch: noarch
|
||
|
BuildRequires: perl(Carp)
|
||
|
BuildRequires: perl(Exporter)
|
||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||
|
BuildRequires: perl(Import::Into) >= 1
|
||
|
BuildRequires: perl(Module::Runtime) >= 0.013
|
||
|
BuildRequires: perl(Moo)
|
||
|
BuildRequires: perl(Moo::Role)
|
||
|
BuildRequires: perl(strictures) >= 1
|
||
|
BuildRequires: perl(Sub::Name)
|
||
|
BuildRequires: perl(Test::Fatal)
|
||
|
BuildRequires: perl(Test::More)
|
||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||
|
# not automatically detected
|
||
|
Requires: perl(Sub::Name)
|
||
|
|
||
|
%{?perl_default_filter}
|
||
|
|
||
|
%description
|
||
|
This module allows you to build packages that return different variations
|
||
|
depending on what parameters are given.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n Package-Variant-%{version}
|
||
|
|
||
|
%build
|
||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
%install
|
||
|
make pure_install DESTDIR=%{buildroot}
|
||
|
|
||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||
|
|
||
|
%{_fixperms} %{buildroot}/*
|
||
|
|
||
|
%check
|
||
|
make test
|
||
|
|
||
|
%files
|
||
|
%doc Changes README
|
||
|
%{perl_vendorlib}/*
|
||
|
%{_mandir}/man3/*
|
||
|
|
||
|
%changelog
|
||
|
* Wed Feb 20 2013 Iain Arnell <iarnell@gmail.com> 1.001002-2
|
||
|
- R/BR perl(Sub::Name)
|
||
|
|
||
|
* Sun Feb 17 2013 Iain Arnell <iarnell@gmail.com> 1.001002-1
|
||
|
- Specfile autogenerated by cpanspec 1.79.
|