diff --git a/.python-memcached.metadata b/.python-memcached.metadata new file mode 100644 index 0000000..b256c8c --- /dev/null +++ b/.python-memcached.metadata @@ -0,0 +1 @@ +cdb72f0f27135298ff06c8e41e50a0c10b027002 SOURCES/python-memcached-1.48.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/python-memcached.spec b/SPECS/python-memcached.spec new file mode 100644 index 0000000..738c801 --- /dev/null +++ b/SPECS/python-memcached.spec @@ -0,0 +1,112 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: python-memcached +Version: 1.48 +Release: 3%{?dist} +Summary: A Python memcached client library + +Group: Development/Languages +License: Python +URL: http://www.tummy.com/Community/software/python-memcached/ +Source0: ftp://ftp.tummy.com/pub/python-memcached/python-memcached-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python-devel, python-setuptools +# Required for running test suite +BuildRequires: memcached + +%description +This software is a 100% Python interface to the memcached memory cache +daemon. It is the client side software which allows storing values in one +or more, possibly remote, memcached servers. Search google for memcached +for more information. + +%prep +%setup -q -n %{name}-%{version} + +%build +%{__python} setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%check +pushd $RPM_BUILD_ROOT/%{python_sitelib} +pidfile=$(mktemp) +/usr/bin/memcached -d -P $pidfile +%{__python} memcache.py +kill $(cat $pidfile) +popd + +%files +%defattr(-,root,root,-) +%doc ChangeLog README +%attr(755,root,root) %{python_sitelib}/memcache.py +%{python_sitelib}/memcache.py[co] +%{python_sitelib}/python_memcached-%{version}-py*.egg-info/ + +%changelog +* Thu Feb 14 2013 Fedora Release Engineering - 1.48-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Nov 01 2012 Radek Novacek 1.48-2 +- Enable running tests in %check + +* Wed Oct 31 2012 Radek Novacek 1.48-1 +- Update to 1.48 + +* Sat Jul 21 2012 Fedora Release Engineering - 1.47-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 1.47-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 1.47-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Dec 21 2010 Kevin Fenzi - 1.47-1 +- Update to 1.47 + +* Thu Jul 22 2010 David Malcolm - 1.43-6 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Sun Jul 26 2009 Fedora Release Engineering - 1.43-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 1.43-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 1.43-3 +- Rebuild for Python 2.6 + +* Wed Sep 3 2008 Tom "spot" Callaway 1.43-2 +- add BR: python-setuptools + +* Wed Sep 3 2008 Tom "spot" Callaway 1.43-1 +- fix license tag +- update to 1.43 + +* Tue Aug 14 2007 Sean Reifschneider 1.39-1 +- Update to 1.39 upstream release. + +* Sat Aug 11 2007 Sean Reifschneider 1.38-1 +- Update to 1.38 upstream release. + +* Sun Jun 10 2007 Sean Reifschneider 1.36-3 +- Changes based on feedback from Ruben Kerkhof: +- Fixing license. +- Removing PKG-INFO from doc. +- Fixing summary. +- Removing setuptools build dependency. +- Changing permissions of memcache module to + +* Sat Jun 09 2007 Sean Reifschneider 1.36-2 +- Adding python-devel build requirement. + +* Sat Jun 09 2007 Sean Reifschneider 1.36-1 +- Initial RPM spec file.