From 48f200d1af180f08db5b38b540a8d56ba97be2be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> Date: Mon, 21 Mar 2016 15:42:55 +0100 Subject: Import
--- .gitignore | 1 + perl-MooseX-ArrayRef.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 63 insertions(+) create mode 100644 perl-MooseX-ArrayRef.spec diff --git a/.gitignore b/.gitignore index e69de29..ae58ff5 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/MooseX-ArrayRef-0.005.tar.gz diff --git a/perl-MooseX-ArrayRef.spec b/perl-MooseX-ArrayRef.spec new file mode 100644 index 0000000..184e0ec --- /dev/null +++ b/perl-MooseX-ArrayRef.spec @@ -0,0 +1,61 @@ +Name: perl-MooseX-ArrayRef +Version: 0.005 +Release: 1%{?dist} +Summary: Blessed array references with Moose +# CONTRIBUTING: GPL+ or Artistic or CC-BY-SA +# other files: GPL+ or Artistic +License: (GPL+ or Artistic) and (GPL+ or Artistic or CC-BY-SA) +Group: Development/Libraries +URL: http://search.cpan.org/dist/MooseX-ArrayRef/ +Source0: http://www.cpan.org/authors/id/T/TO/TOBYINK/MooseX-ArrayRef-%{version}.tar.gz +BuildArch: noarch +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 +BuildRequires: perl(strict) +# Run-time: +BuildRequires: perl(constant) +BuildRequires: perl(Moose) >= 2.00 +BuildRequires: perl(Moose::Exporter) +BuildRequires: perl(Moose::Role) +BuildRequires: perl(Moose::Util::MetaRole) +BuildRequires: perl(Scalar::Util) +# Tests: +BuildRequires: perl(Test::More) >= 0.61 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Moose) >= 2.00 +Requires: perl(strict) + +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Moose\\)$ + +%description +Objects implemented with array references are often faster than those +implemented with hash references. Moose's default object implementation is +hash reference based. This is object implementation based on array references. + +%prep +%setup -q -n MooseX-ArrayRef-%{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 -delete +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%license LICENSE +%doc Changes CONTRIBUTING COPYRIGHT CREDITS examples README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Mar 17 2016 Petr Pisar <ppi...@redhat.com> 0.005-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..efb0d10 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3207d480ec7911dc964bb12a7f31f46d MooseX-ArrayRef-0.005.tar.gz -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-MooseX-ArrayRef.git/commit/?h=master&id=48f200d1af180f08db5b38b540a8d56ba97be2be -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org