packages: python-redis/python-redis.spec (NEW) - new, based on fedora package

glen glen at pld-linux.org
Tue Dec 20 15:18:10 CET 2011


Author: glen                         Date: Tue Dec 20 14:18:10 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, based on fedora package

---- Files affected:
packages/python-redis:
   python-redis.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/python-redis/python-redis.spec
diff -u /dev/null packages/python-redis/python-redis.spec:1.1
--- /dev/null	Tue Dec 20 15:18:10 2011
+++ packages/python-redis/python-redis.spec	Tue Dec 20 15:18:04 2011
@@ -0,0 +1,52 @@
+# $Revision$, $Date$
+%define		module	redis
+Summary:	A Python client for redis
+Name:		python-%{module}
+Version:	2.4.9
+Release:	1
+License:	MIT
+Group:		Development/Languages
+URL:		http://github.com/andymccurdy/redis-py
+Source0:	http://github.com/downloads/andymccurdy/redis-py/%{module}-%{version}.tar.gz
+# Source0-md5:	b512ff37d06c6813f04a57f6448a1e55
+BuildRequires:	python-devel
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a Python interface to the Redis key-value store.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--skip-build \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES LICENSE README.md
+%{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{module}-%{version}-*.egg-info
+
+%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/20 14:18:04  glen
+- new, based on fedora package
================================================================


More information about the pld-cvs-commit mailing list