diff --git a/.gitignore b/.gitignore index e69de29..931262a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Package-Variant-1.001002.tar.gz diff --git a/perl-Package-Variant.spec b/perl-Package-Variant.spec new file mode 100644 index 0000000..12fefa3 --- /dev/null +++ b/perl-Package-Variant.spec @@ -0,0 +1,58 @@ +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 1.001002-2 +- R/BR perl(Sub::Name) + +* Sun Feb 17 2013 Iain Arnell 1.001002-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..2576366 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9a515d3bc6d6b00124e828dd35642934 Package-Variant-1.001002.tar.gz