packages: perl-Package-Stash-XS/perl-Package-Stash-XS.spec (NEW) - new
qboosh
qboosh at pld-linux.org
Wed Mar 2 17:18:47 CET 2011
Author: qboosh Date: Wed Mar 2 16:18:47 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/perl-Package-Stash-XS:
perl-Package-Stash-XS.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/perl-Package-Stash-XS/perl-Package-Stash-XS.spec
diff -u /dev/null packages/perl-Package-Stash-XS/perl-Package-Stash-XS.spec:1.1
--- /dev/null Wed Mar 2 17:18:47 2011
+++ packages/perl-Package-Stash-XS/perl-Package-Stash-XS.spec Wed Mar 2 17:18:42 2011
@@ -0,0 +1,82 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%define pdir Package
+%define pnam Stash-XS
+%include /usr/lib/rpm/macros.perl
+Summary: Package::Stash::XS - faster and more correct implementation of the Package::Stash API
+Summary(pl.UTF-8): Package::Stash::XS - szybsza i bardziej poprawna implementacja API Package::Stash
+Name: perl-Package-Stash-XS
+Version: 0.21
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-authors/id/D/DO/DOY/Package-Stash-XS-%{version}.tar.gz
+# Source0-md5: a0a6e4099c7ecfdb7a64ad1a673109eb
+URL: http://search.cpan.org/dist/Package-Stash-XS/
+BuildRequires: perl-ExtUtils-MakeMaker >= 6.31
+BuildRequires: perl-devel >= 1:5.8.1
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Test-Fatal
+BuildRequires: perl-Test-Simple >= 0.88
+%endif
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a backend for Package::Stash, which provides the functionality
+in a way that's less buggy and much faster. It will be used by default
+if it's installed, and should be preferred in all environments with a
+compiler.
+
+%description -l pl.UTF-8
+Ten moduł jest backendem dla modułu Package::Stash, udostępniającym
+jego funkcjonalność w mniej błędny i szybszy sposób. Jest używany jako
+domyślny backend jeśli jest zainstalowany i powinien być preferowany
+we wszystkich środowiskach z kompilatorem.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make} \
+ CC="%{__cc}" \
+ OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%dir %{perl_vendorarch}/Package
+%dir %{perl_vendorarch}/Package/Stash
+%{perl_vendorarch}/Package/Stash/XS.pm
+%dir %{perl_vendorarch}/auto/Package
+%dir %{perl_vendorarch}/auto/Package/Stash
+%dir %{perl_vendorarch}/auto/Package/Stash/XS
+%{perl_vendorarch}/auto/Package/Stash/XS/XS.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Package/Stash/XS/XS.so
+%{_mandir}/man3/Package::Stash::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 2011/03/02 16:18:42 qboosh
+- new
================================================================
More information about the pld-cvs-commit
mailing list