[packages/perl-Role-Basic] - initial
arekm
arekm at pld-linux.org
Thu Oct 10 13:01:53 CEST 2013
commit a84d7e802b8102bef5b47d23d99be1b99705ce06
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Oct 10 13:01:41 2013 +0200
- initial
perl-Role-Basic.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
---
diff --git a/perl-Role-Basic.spec b/perl-Role-Basic.spec
new file mode 100644
index 0000000..54ec8aa
--- /dev/null
+++ b/perl-Role-Basic.spec
@@ -0,0 +1,47 @@
+#
+# Conditional build:
+%bcond_without tests # do perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Role
+%define pnam Basic
+Summary: Role::Basic - Just roles
+Name: perl-Role-Basic
+Version: 0.13
+Release: 1
+License: GPL or Artistic
+Group: Development/Languages/Perl
+Source0: http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Role-Basic-%{version}.tar.gz
+# Source0-md5: 2985fbb47bd0a862bd56bc7cbba6e673
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Role::Basic - Just roles. Nothing else.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{perl_vendorlib}/Role/Basic.pm
+%{_mandir}/man3/*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Role-Basic.git/commitdiff/a84d7e802b8102bef5b47d23d99be1b99705ce06
More information about the pld-cvs-commit
mailing list