packages: perl-Redis/perl-Redis.spec (NEW) - new, created with pldcpan
glen
glen at pld-linux.org
Mon Dec 19 14:22:23 CET 2011
Author: glen Date: Mon Dec 19 13:22:23 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- new, created with pldcpan
---- Files affected:
packages/perl-Redis:
perl-Redis.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/perl-Redis/perl-Redis.spec
diff -u /dev/null packages/perl-Redis/perl-Redis.spec:1.1
--- /dev/null Mon Dec 19 14:22:23 2011
+++ packages/perl-Redis/perl-Redis.spec Mon Dec 19 14:22:18 2011
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+
+%define pdir Redis
+%include /usr/lib/rpm/macros.perl
+Summary: Redis - Perl binding for Redis database
+Name: perl-Redis
+Version: 1.904
+Release: 1
+# note if it is "same as perl"
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/Redis/%{pdir}-%{version}.tar.gz
+# Source0-md5: 1c023390a5de0187a208ead7ade3d0a6
+URL: http://search.cpan.org/dist/Redis/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-IO-String
+BuildRequires: perl-Test-Deep
+BuildRequires: perl-Test-Exception
+BuildRequires: perl-Test-Simple >= 0.96
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Pure Perl bindings for <http://redis.io/>
+
+This version supports protocol 2.x (multi-bulk) or later of Redis
+available at <https://github.com/antirez/redis/>.
+
+%prep
+%setup -q -n %{pdir}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%{?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
+%{perl_vendorlib}/Redis.pm
+%{perl_vendorlib}/Redis
+%{_mandir}/man3/*
+
+%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/12/19 13:22:18 glen
+- new, created with pldcpan
================================================================
More information about the pld-cvs-commit
mailing list