packages: perl-Class-Load-XS/perl-Class-Load-XS.spec (NEW)=?UTF-8?Q?=20?=- new
qboosh
qboosh at pld-linux.org
Sat Jun 2 06:45:46 CEST 2012
Author: qboosh Date: Sat Jun 2 04:45:46 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/perl-Class-Load-XS:
perl-Class-Load-XS.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/perl-Class-Load-XS/perl-Class-Load-XS.spec
diff -u /dev/null packages/perl-Class-Load-XS/perl-Class-Load-XS.spec:1.1
--- /dev/null Sat Jun 2 06:45:46 2012
+++ packages/perl-Class-Load-XS/perl-Class-Load-XS.spec Sat Jun 2 06:45:40 2012
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%define pdir Class
+%define pnam Load-XS
+%include /usr/lib/rpm/macros.perl
+Summary: Class::Load::XS - XS implementation of parts of Class::Load
+Summary(pl.UTF-8): Class::Load::XS - implementacja XS części modułu Class::Load
+Name: perl-Class-Load-XS
+Version: 0.04
+Release: 1
+License: Artistic v2.0
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/Class/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: f805304cb330591651c443397c23e60a
+URL: http://search.cpan.org/dist/Class-Load-XS/
+BuildRequires: perl-Module-Build >= 0.3601
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Class-Load >= 0.15
+BuildRequires: perl-Module-Implementation >= 0.04
+BuildRequires: perl-Test-Fatal
+BuildRequires: perl-Test-Requires
+BuildRequires: perl-Test-Simple >= 0.88
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides an XS implementation for portions of Class::Load.
+See Class::Load for API details.
+
+%description -l pl.UTF-8
+Ten moduł dostarcza implementację XS niektórych części Class::Load.
+Więcej szczegółów na temat API w Class::Load.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+ destdir=$RPM_BUILD_ROOT \
+ installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorarch}/Class/Load/XS.pm
+%dir %{perl_vendorarch}/auto/Class/Load/XS
+%{perl_vendorarch}/auto/Class/Load/XS/XS.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Class/Load/XS/XS.so
+%{_mandir}/man3/Class::Load::XS.3pm*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2012/06/02 04:45:40 qboosh
+- new
================================================================
More information about the pld-cvs-commit
mailing list