Author: matkor                       Date: Thu Feb 12 09:45:12 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Initial 0.95-1.

---- Files affected:
SPECS:
   python-cmemcache.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-cmemcache.spec
diff -u /dev/null SPECS/python-cmemcache.spec:1.1
--- /dev/null   Thu Feb 12 10:45:12 2009
+++ SPECS/python-cmemcache.spec Thu Feb 12 10:45:07 2009
@@ -0,0 +1,72 @@
+# $Revision$, $Date$
+%define        module  cmemcache
+Summary(pl.UTF-8):     Moduł Pytona do libmemcache napisany w C
+Summary:       Python extension for libmemcache written in C
+Name:          python-%{module}
+Version:       0.95
+Release:       1
+License:       GPL
+Group:         Development/Languages/Python
+# http://gijsbert.org/downloads/cmemcache/cmemcache-0.95.tar.bz2
+Source0:       
http://gijsbert.org/downloads/%{module}/%{module}-%{version}.tar.bz2
+# Source0-md5: b4680c311201ee3c0456e123874a289b
+URL:           http://gijsbert.org/cmemcache/
+BuildRequires: libmemcache-devel >= 1.2.2
+BuildRequires: python-devel
+BuildRequires: rpm-pythonprov
+# if py_postclean is used
+BuildRequires: rpmbuild(macros) >= 1.219
+#Requires:             python-libs
+Requires:      python-modules
+#BuildArch:    noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Written in C Python extension for libmemcache, the C API to memcached.
+cmemcache API is the same as python-memcache, so it is easy to replace
+python-memcache with cmemcache, and vice versa.
+
+%description -l pl.UTF-8
+Napisany w C moduł Pytona dla libmemcache będącym interfejsem w C
+do memcached. Interfejs jest taki sam jak dla python-memcache i może
+być stosowany zamiennie.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+export CFLAGS="%{rpmcflags}"
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+#%%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%{py_sitedir}/*.py[co]
+%attr(755,root,root) %{py_sitedir}/*.so
+%if "%{pld_release}" != "ac"
+%{py_sitedir}/TEMPLATE-*.egg-info
+%endif
+
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/02/12 09:45:07  matkor
+- Initial 0.95-1.
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to