[perl-Role-Basic] Initial import.

corsepiu corsepiu at fedoraproject.org
Sat Jan 4 04:12:55 UTC 2014


commit 64e1b8a669a10f20c0e0d530aceba58e50459ed0
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Sat Jan 4 05:12:49 2014 +0100

    Initial import.

 .gitignore           |    1 +
 perl-Role-Basic.spec |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..219fe98 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Role-Basic-0.13.tar.gz
diff --git a/perl-Role-Basic.spec b/perl-Role-Basic.spec
new file mode 100644
index 0000000..cf1e52e
--- /dev/null
+++ b/perl-Role-Basic.spec
@@ -0,0 +1,50 @@
+Name:           perl-Role-Basic
+Version:        0.13
+Release:        1%{?dist}
+Summary:        Just roles. Nothing else
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Role-Basic/
+Source0:        http://www.cpan.org/authors/id/O/OV/OVID/Role-Basic-%{version}.tar.gz
+BuildArch:      noarch
+
+BuildRequires:  perl(B)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(Storable)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Simplified Moose-like roles.
+
+%prep
+%setup -q -n Role-Basic-%{version}
+# Convert to utf-8
+iconv -f ISO-8859-1 -t utf-8 Changes > Changes~
+mv Changes~ Changes
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Dec 19 2013 Ralf Corsépius <corsepiu at fedoraproject.org> 0.13-1
+- Initial Fedora submission.
diff --git a/sources b/sources
index e69de29..6a29c41 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2985fbb47bd0a862bd56bc7cbba6e673  Role-Basic-0.13.tar.gz



More information about the perl-devel mailing list