SPECS: python-elementtree.spec (NEW) - new - NFY (pl desc)

blekot blekot at pld-linux.org
Tue May 1 13:35:51 CEST 2007


Author: blekot                       Date: Tue May  1 11:35:51 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new
- NFY (pl desc)

---- Files affected:
SPECS:
   python-elementtree.spec (1.9 -> 1.10)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-elementtree.spec
diff -u /dev/null SPECS/python-elementtree.spec:1.10
--- /dev/null	Tue May  1 13:35:51 2007
+++ SPECS/python-elementtree.spec	Tue May  1 13:35:46 2007
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+%define 	module	elementtree
+%define		_date	20050316
+
+Summary:	The Element type is a simple but flexible container object, designed to store hierarchical data structures, such as simplified XML infosets, in memory
+Summary(pl.UTF-8):	Napisz mnie
+Name:		python-%{module}
+Version:	1.2.6
+Release:	0.%{_date}.1
+License:	LGPL
+Group:		Libraries/Python
+Source0:	http://effbot.org/downloads/elementtree-%{version}-%{_date}.tar.gz
+# Source0-md5:	e1b21716be8bfff8bf192fc3880ad008
+URL:		http://effbot.org/zone/elementtree.htm
+BuildRequires:	python-devel >= 1:2.5
+BuildRequires:	rpm-pythonprov
+%pyrequires_eq	python-modules
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Element type is a simple but flexible container object, designed
+to store hierarchical data structures, such as simplified XML
+infosets, in memory. The element type can be described as a cross
+between a Python list and a Python dictionary.
+
+%description -l pl.UTF-8
+Napisz mnie.
+
+%prep
+%setup -q -n %{module}-%{version}-%{_date}
+
+%build
+CFLAGS="%{rpmcflags}"
+export CFLAGS
+python setup.py build_ext
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+	--install-purelib=%{py_sitedir} \
+	--root=$RPM_BUILD_ROOT \
+	--optimize=2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitedir}/*.egg-info
+%dir %{py_sitedir}/%{module}
+%{py_sitedir}/%{module}/*.py[co]
+
+%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.10  2007/05/01 11:35:46  blekot
+- new
+- NFY (pl desc)
+ 
+
================================================================


More information about the pld-cvs-commit mailing list