|
|
20a4f4 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
20a4f4 |
|
|
|
20a4f4 |
Name: python-memcached
|
|
|
20a4f4 |
Version: 1.48
|
|
|
d47692 |
Release: 4%{?dist}
|
|
|
20a4f4 |
Summary: A Python memcached client library
|
|
|
20a4f4 |
|
|
|
20a4f4 |
Group: Development/Languages
|
|
|
20a4f4 |
License: Python
|
|
|
20a4f4 |
URL: http://www.tummy.com/Community/software/python-memcached/
|
|
|
20a4f4 |
Source0: ftp://ftp.tummy.com/pub/python-memcached/python-memcached-%{version}.tar.gz
|
|
|
20a4f4 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
20a4f4 |
|
|
|
20a4f4 |
BuildArch: noarch
|
|
|
20a4f4 |
BuildRequires: python-devel, python-setuptools
|
|
|
20a4f4 |
# Required for running test suite
|
|
|
20a4f4 |
BuildRequires: memcached
|
|
|
20a4f4 |
|
|
|
20a4f4 |
%description
|
|
|
20a4f4 |
This software is a 100% Python interface to the memcached memory cache
|
|
|
20a4f4 |
daemon. It is the client side software which allows storing values in one
|
|
|
20a4f4 |
or more, possibly remote, memcached servers. Search google for memcached
|
|
|
20a4f4 |
for more information.
|
|
|
20a4f4 |
|
|
|
20a4f4 |
%prep
|
|
|
20a4f4 |
%setup -q -n %{name}-%{version}
|
|
|
20a4f4 |
|
|
|
20a4f4 |
%build
|
|
|
20a4f4 |
%{__python} setup.py build
|
|
|
20a4f4 |
|
|
|
20a4f4 |
%install
|
|
|
20a4f4 |
rm -rf $RPM_BUILD_ROOT
|
|
|
20a4f4 |
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
20a4f4 |
|
|
|
20a4f4 |
%clean
|
|
|
20a4f4 |
rm -rf $RPM_BUILD_ROOT
|
|
|
20a4f4 |
|
|
|
20a4f4 |
%check
|
|
|
20a4f4 |
pushd $RPM_BUILD_ROOT/%{python_sitelib}
|
|
|
20a4f4 |
pidfile=$(mktemp)
|
|
|
20a4f4 |
/usr/bin/memcached -d -P $pidfile
|
|
|
20a4f4 |
%{__python} memcache.py
|
|
|
20a4f4 |
kill $(cat $pidfile)
|
|
|
20a4f4 |
popd
|
|
|
20a4f4 |
|
|
|
20a4f4 |
%files
|
|
|
20a4f4 |
%defattr(-,root,root,-)
|
|
|
20a4f4 |
%doc ChangeLog README
|
|
|
20a4f4 |
%attr(755,root,root) %{python_sitelib}/memcache.py
|
|
|
20a4f4 |
%{python_sitelib}/memcache.py[co]
|
|
|
20a4f4 |
%{python_sitelib}/python_memcached-%{version}-py*.egg-info/
|
|
|
20a4f4 |
|
|
|
20a4f4 |
%changelog
|
|
|
d47692 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.48-4
|
|
|
d47692 |
- Mass rebuild 2013-12-27
|
|
|
d47692 |
|
|
|
20a4f4 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.48-3
|
|
|
20a4f4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
20a4f4 |
|
|
|
20a4f4 |
* Thu Nov 01 2012 Radek Novacek <rnovacek@redhat.com> 1.48-2
|
|
|
20a4f4 |
- Enable running tests in %check
|
|
|
20a4f4 |
|
|
|
20a4f4 |
* Wed Oct 31 2012 Radek Novacek <rnovacek@redhat.com> 1.48-1
|
|
|
20a4f4 |
- Update to 1.48
|
|
|
20a4f4 |
|
|
|
20a4f4 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.47-4
|
|
|
20a4f4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
20a4f4 |
|
|
|
20a4f4 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.47-3
|
|
|
20a4f4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
20a4f4 |
|
|
|
20a4f4 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.47-2
|
|
|
20a4f4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
20a4f4 |
|
|
|
20a4f4 |
* Tue Dec 21 2010 Kevin Fenzi <kevin@tummy.vom> - 1.47-1
|
|
|
20a4f4 |
- Update to 1.47
|
|
|
20a4f4 |
|
|
|
20a4f4 |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.43-6
|
|
|
20a4f4 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
20a4f4 |
|
|
|
20a4f4 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.43-5
|
|
|
20a4f4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
20a4f4 |
|
|
|
20a4f4 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.43-4
|
|
|
20a4f4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
20a4f4 |
|
|
|
20a4f4 |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.43-3
|
|
|
20a4f4 |
- Rebuild for Python 2.6
|
|
|
20a4f4 |
|
|
|
20a4f4 |
* Wed Sep 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.43-2
|
|
|
20a4f4 |
- add BR: python-setuptools
|
|
|
20a4f4 |
|
|
|
20a4f4 |
* Wed Sep 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.43-1
|
|
|
20a4f4 |
- fix license tag
|
|
|
20a4f4 |
- update to 1.43
|
|
|
20a4f4 |
|
|
|
20a4f4 |
* Tue Aug 14 2007 Sean Reifschneider <jafo@tummy.com> 1.39-1
|
|
|
20a4f4 |
- Update to 1.39 upstream release.
|
|
|
20a4f4 |
|
|
|
20a4f4 |
* Sat Aug 11 2007 Sean Reifschneider <jafo@tummy.com> 1.38-1
|
|
|
20a4f4 |
- Update to 1.38 upstream release.
|
|
|
20a4f4 |
|
|
|
20a4f4 |
* Sun Jun 10 2007 Sean Reifschneider <jafo@tummy.com> 1.36-3
|
|
|
20a4f4 |
- Changes based on feedback from Ruben Kerkhof:
|
|
|
20a4f4 |
- Fixing license.
|
|
|
20a4f4 |
- Removing PKG-INFO from doc.
|
|
|
20a4f4 |
- Fixing summary.
|
|
|
20a4f4 |
- Removing setuptools build dependency.
|
|
|
20a4f4 |
- Changing permissions of memcache module to
|
|
|
20a4f4 |
|
|
|
20a4f4 |
* Sat Jun 09 2007 Sean Reifschneider <jafo@tummy.com> 1.36-2
|
|
|
20a4f4 |
- Adding python-devel build requirement.
|
|
|
20a4f4 |
|
|
|
20a4f4 |
* Sat Jun 09 2007 Sean Reifschneider <jafo@tummy.com> 1.36-1
|
|
|
20a4f4 |
- Initial RPM spec file.
|