SPECS: python-lxml.spec - and final version
arekm
arekm at pld-linux.org
Thu Mar 9 22:14:11 CET 2006
Author: arekm Date: Thu Mar 9 21:14:11 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- and final version
---- Files affected:
SPECS:
python-lxml.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/python-lxml.spec
diff -u SPECS/python-lxml.spec:1.1 SPECS/python-lxml.spec:1.2
--- SPECS/python-lxml.spec:1.1 Thu Mar 9 21:50:13 2006
+++ SPECS/python-lxml.spec Thu Mar 9 22:14:05 2006
@@ -5,13 +5,17 @@
Summary: A Pythonic binding for the libxml2 and libxslt libraries
Name: python-%{module}
Version: 0.8
-Release: 0.1
+Release: 1
License: BSD
Group: Development/Languages/Python
Source0: http://codespeak.net/lxml/%{module}-%{version}.tgz
# Source0-md5: b156da08fea2af7b34774d5f9c4fa206
+Patch0: %{name}-path.patch
URL: http://codespeak.net/lxml/
-BuildRequires: python
+BuildRequires: libxml2-devel
+BuildRequires: libxslt-devel
+BuildRequires: python-Pyrex
+BuildRequires: python-devel
BuildRequires: rpmbuild(macros) >= 1.219
BuildRequires: unzip
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -21,14 +25,13 @@
%prep
%setup -q -n %{module}-%{version}
+%patch0 -p1
%build
python setup.py build
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-install -d $RPM_BUILD_ROOT%{py_sitescriptdir}/ElementTree-%{version}-py%{py_ver}.egg-info
python setup.py install \
--root=$RPM_BUILD_ROOT \
@@ -42,8 +45,12 @@
%files
%defattr(644,root,root,755)
%doc doc/* CHANGES.txt CREDITS.txt TODO.txt
-%{py_sitescriptdir}/%{module}
-%{py_sitescriptdir}/ElementTree*
+%dir %{py_sitedir}/lxml
+%{py_sitedir}/lxml/*.py[co]
+%attr(755,root,root) %{py_sitedir}/lxml/*.so
+%dir %{py_sitedir}/lxml/tests
+%{py_sitedir}/lxml/tests/*.py[co]
+%{py_sitedir}/lxml/tests/*.xml
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -51,6 +58,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2006/03/09 21:14:05 arekm
+- and final version
+
Revision 1.1 2006/03/09 20:50:13 arekm
- started
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/python-lxml.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list