python-redis/python-redis.spec

33 lines
815 B
RPMSpec
Raw Normal View History

Name: python-redis
Version: 1.34.1
Release: 1
Summary: Python client for Redis key-value store
License: MIT
Url: http://github.com/andymccurdy/redis-py/
Group: Development/Libraries/Python
Source: http://cloud.github.com/downloads/andymccurdy/redis-py/redis-%{version}.tar.gz
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%{py_requires}
%description
Python client for Redis key-value store
%prep
%setup -q -n redis-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc CHANGES LICENSE README.md