]> git.pld-linux.org Git - packages/python-lxml.git/commitdiff
- started
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 9 Mar 2006 20:50:13 +0000 (20:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-lxml.spec -> 1.1

python-lxml.spec [new file with mode: 0644]

diff --git a/python-lxml.spec b/python-lxml.spec
new file mode 100644 (file)
index 0000000..e4f4856
--- /dev/null
@@ -0,0 +1,45 @@
+#
+%define                module  lxml
+#
+Summary:       A Pythonic binding for the libxml2 and libxslt libraries
+Name:          python-%{module}
+Version:       0.8
+Release:       0.1
+License:       BSD
+Group:         Development/Languages/Python
+Source0:       http://codespeak.net/lxml/%{module}-%{version}.tgz
+# Source0-md5: b156da08fea2af7b34774d5f9c4fa206
+URL:           http://codespeak.net/lxml/
+BuildRequires: python
+BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: unzip
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+lxml is a Pythonic binding for the libxml2 and libxslt libraries.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%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 \
+       --optimize=2
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc doc/* CHANGES.txt CREDITS.txt TODO.txt
+%{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/ElementTree*
This page took 0.107642 seconds and 4 git commands to generate.