From 2dd0b63f9fb1b4c48842499980e8c4fe4326f6cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 10 Feb 2016 10:55:46 +0100 Subject: [PATCH] Import --- .gitignore | 1 + perl-Function-Parameters.spec | 79 +++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 81 insertions(+) create mode 100644 perl-Function-Parameters.spec diff --git a/.gitignore b/.gitignore index e69de29..5a61543 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Function-Parameters-1.0703.tar.gz diff --git a/perl-Function-Parameters.spec b/perl-Function-Parameters.spec new file mode 100644 index 0000000..9eb222b --- /dev/null +++ b/perl-Function-Parameters.spec @@ -0,0 +1,79 @@ +Name: perl-Function-Parameters +Version: 1.0703 +Release: 1%{?dist} +Summary: Subroutine definitions with parameter lists +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Function-Parameters/ +Source0: http://www.cpan.org/authors/id/M/MA/MAUKE/Function-Parameters-%{version}.tar.gz +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl +BuildRequires: perl-devel +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Spec) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(Carp) +# Loads Moo if Moose is not loaded +BuildRequires: perl(Moo) +BuildRequires: perl(Moose::Util::TypeConstraints) +BuildRequires: perl(overload) +BuildRequires: perl(warnings) +BuildRequires: perl(XSLoader) +# Tests: +BuildRequires: perl(aliased) +BuildRequires: perl(attributes) +BuildRequires: perl(constant) +BuildRequires: perl(Dir::Self) +BuildRequires: perl(feature) +BuildRequires: perl(integer) +BuildRequires: perl(lib) +BuildRequires: perl(Moose) +BuildRequires: perl(Moose::Util) +BuildRequires: perl(MooseX::Types) +BuildRequires: perl(MooseX::Types::Moose) +BuildRequires: perl(Sub::Name) +BuildRequires: perl(Test::Deep) +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::More) +BuildRequires: perl(utf8) +BuildRequires: perl(vars) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +# Loads Moo if Moose is not loaded +Requires: perl(Moo) +Requires: perl(Moose::Util::TypeConstraints) + +%description +This module extends Perl with keywords that let you define functions with +parameter lists. It uses Perl's keyword plugin API, so it works reliably +and doesn't require a source filter. + +%prep +%setup -q -n Function-Parameters-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Function* +%{_mandir}/man3/* + +%changelog +* Thu Feb 04 2016 Petr Pisar 1.0703-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..d2a963d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6eea44a09fdae1249da4b9f0b86d8c99 Function-Parameters-1.0703.tar.gz