[perl-autobox-Core] initial import (rhbz#730031)

Iain Arnell iarnell at fedoraproject.org
Sun Aug 14 06:06:30 UTC 2011


commit 7bccacc0b90a8561204e05f30291d8804c5e3135
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Aug 14 08:06:02 2011 +0200

    initial import (rhbz#730031)

 .gitignore             |    1 +
 perl-autobox-Core.spec |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..26b6b23 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/autobox-Core-1.2.tar.gz
diff --git a/perl-autobox-Core.spec b/perl-autobox-Core.spec
new file mode 100644
index 0000000..1548e82
--- /dev/null
+++ b/perl-autobox-Core.spec
@@ -0,0 +1,47 @@
+Name:           perl-autobox-Core
+Version:        1.2
+Release:        1%{?dist}
+Summary:        Core functions exposed as methods in primitive types
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/autobox-Core/
+Source0:        http://www.cpan.org/modules/by-module/autobox/autobox-Core-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(autobox) >= 0.11
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+Requires:       perl(autobox) >= 0.11
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+The autobox module lets you call methods on primitive datatypes such as
+scalars and arrays.
+
+%prep
+%setup -q -n autobox-Core-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Aug 11 2011 Iain Arnell <iarnell at gmail.com> 1.2-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..08b9626 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6516dff1d2cd5eb1c09c5ea089134966  autobox-Core-1.2.tar.gz


More information about the scm-commits mailing list