]> git.pld-linux.org Git - packages/python-lxml.git/blame_incremental - python-lxml.spec
- tabs in preamble
[packages/python-lxml.git] / python-lxml.spec
... / ...
CommitLineData
1#
2%define module lxml
3#
4Summary: A Pythonic binding for the libxml2 and libxslt libraries
5Summary(pl.UTF-8): Pythonowe wiązanie do bibliotek libxml2 i libxslt
6Name: python-%{module}
7Version: 0.8
8Release: 2
9License: BSD
10Group: Development/Languages/Python
11Source0: http://codespeak.net/lxml/%{module}-%{version}.tgz
12# Source0-md5: b156da08fea2af7b34774d5f9c4fa206
13Patch0: %{name}-path.patch
14URL: http://codespeak.net/lxml/
15BuildRequires: libxml2-devel
16BuildRequires: libxslt-devel
17BuildRequires: python-Pyrex >= 0.9.4.2
18BuildRequires: python-devel
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
26%description -l pl.UTF-8
27lxml to pythonowe wiązanie do bibliotek libxml2 i libxslt.
28
29%prep
30%setup -q -n %{module}-%{version}
31%patch0 -p1
32
33%build
34python setup.py build
35
36%install
37rm -rf $RPM_BUILD_ROOT
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
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.088123 seconds and 4 git commands to generate.