SPECS: python-cElementTree.spec (NEW) - initial pld release
arekm
arekm at pld-linux.org
Wed Sep 28 22:11:06 CEST 2005
Author: arekm Date: Wed Sep 28 20:11:06 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial pld release
---- Files affected:
SPECS:
python-cElementTree.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-cElementTree.spec
diff -u /dev/null SPECS/python-cElementTree.spec:1.1
--- /dev/null Wed Sep 28 22:11:06 2005
+++ SPECS/python-cElementTree.spec Wed Sep 28 22:10:58 2005
@@ -0,0 +1,54 @@
+# $Revision$, $Date$
+%define module cElementTree
+%define date 20050302
+
+Summary: A fast and pythonic XML parser
+Summary(pl): Szybki pythonowy parser XML
+Name: python-%{module}
+Version: 1.0.2
+Release: 0.%{date}.1
+License: BSD
+Group: Development/Languages/Python
+Source0: http://effbot.org/downloads/%{module}-%{version}-%{date}.tar.gz
+# Source0-md5: 70372441ffa9e45233876b024bf66bbe
+URL: http://effbot.org/zone/celementtree.htm
+BuildRequires: python
+%pyrequires_eq python-modules
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A C implementation of the ElementTree API.
+
+%description -l pl
+Implementacja C ElementTree API.
+
+%prep
+%setup -q -n %{module}-%{version}-%{date}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+ --root=$RPM_BUILD_ROOT \
+ --optimize=2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES README
+%attr(755,root,root) %{py_sitedir}/*.so
+
+%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 2005/09/28 20:10:58 arekm
+- initial pld release
+
================================================================
More information about the pld-cvs-commit
mailing list