]> git.pld-linux.org Git - packages/python-lxml.git/blame - python-lxml.spec
- converted to UTF-8
[packages/python-lxml.git] / python-lxml.spec
CommitLineData
7321ac76
AM
1#
2%define module lxml
3#
4Summary: A Pythonic binding for the libxml2 and libxslt libraries
8b26c81f 5Summary(pl.UTF-8): Pythonowe wiązanie do bibliotek libxml2 i libxslt
7321ac76
AM
6Name: python-%{module}
7Version: 0.8
2c6e25e7 8Release: 2
7321ac76
AM
9License: BSD
10Group: Development/Languages/Python
11Source0: http://codespeak.net/lxml/%{module}-%{version}.tgz
12# Source0-md5: b156da08fea2af7b34774d5f9c4fa206
0f893bb9 13Patch0: %{name}-path.patch
7321ac76 14URL: http://codespeak.net/lxml/
0f893bb9
AM
15BuildRequires: libxml2-devel
16BuildRequires: libxslt-devel
2c6e25e7 17BuildRequires: python-Pyrex >= 0.9.4.2
0f893bb9 18BuildRequires: python-devel
7321ac76
AM
19BuildRequires: rpmbuild(macros) >= 1.219
20BuildRequires: unzip
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24lxml is a Pythonic binding for the libxml2 and libxslt libraries.
25
8b26c81f
JR
26%description -l pl.UTF-8
27lxml to pythonowe wiązanie do bibliotek libxml2 i libxslt.
459884ee 28
7321ac76
AM
29%prep
30%setup -q -n %{module}-%{version}
0f893bb9 31%patch0 -p1
7321ac76
AM
32
33%build
34python setup.py build
35
36%install
37rm -rf $RPM_BUILD_ROOT
7321ac76
AM
38
39python setup.py install \
40 --root=$RPM_BUILD_ROOT \
41 --optimize=2
42
43%py_postclean
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%doc doc/* CHANGES.txt CREDITS.txt TODO.txt
0f893bb9
AM
51%dir %{py_sitedir}/lxml
52%{py_sitedir}/lxml/*.py[co]
53%attr(755,root,root) %{py_sitedir}/lxml/*.so
54%dir %{py_sitedir}/lxml/tests
55%{py_sitedir}/lxml/tests/*.py[co]
56%{py_sitedir}/lxml/tests/*.xml
This page took 0.126724 seconds and 4 git commands to generate.