Author: jpc Date: Sun Feb 20 01:23:15 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new spec
---- Files affected:
SPECS:
python-elementtree.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-elementtree.spec
diff -u /dev/null SPECS/python-elementtree.spec:1.1
--- /dev/null Sun Feb 20 02:23:15 2005
+++ SPECS/python-elementtree.spec Sun Feb 20 02:23:08 2005
@@ -0,0 +1,57 @@
+# $Revision$, $Date$
+%define module elementtree
+%define date 20041228
+
+Summary: A fast and pythonic XML parser
+#Summary(pl):
+Name: python-%{module}
+Version: 1.2.4
+Release: 0.%{date}.1
+License: BSD
+Group: Development/Languages/Python
+Source0: http://effbot.org/downloads/%{module}-%{version}-%{date}.zip
+# Source0-md5: 4bfd6e4f0e1b14b3eb08a2b99c6002ce
+URL: http://effbot.org/zone/element-index.htm
+BuildRequires: python
+%pyrequires_eq python-modules
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A fast and pythonic XML parser.
+
+#%description -l pl
+
+%prep
+%setup -q -n %{module}-%{version}-%{date}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+python setup.py install \
+ --root=$RPM_BUILD_ROOT \
+ --optimize=2
+
+find $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/ -name \*.py | xargs rm -f
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES README docs/
+%{py_sitescriptdir}/%{module}
+
+%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 2005/02/20 01:23:08 jpc
+- new spec
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit