]> git.pld-linux.org Git - packages/python-lxml.git/blame_incremental - python-lxml.spec
- Version 2.2-1.
[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: 2.2
8Release: 1
9License: BSD
10Group: Libraries/Python
11Source0: http://codespeak.net/lxml/%{module}-%{version}.tgz
12# Source0-md5: b3f12344291aa0d393915e7d8358b480
13URL: http://codespeak.net/lxml/
14BuildRequires: libxml2-devel
15BuildRequires: libxslt-devel
16BuildRequires: python-devel
17BuildRequires: rpmbuild(macros) >= 1.219
18BuildRequires: unzip
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22lxml is a Pythonic binding for the libxml2 and libxslt libraries.
23
24%description -l pl.UTF-8
25lxml to pythonowe wiązanie do bibliotek libxml2 i libxslt.
26
27%prep
28%setup -q -n %{module}-%{version}
29
30%build
31python setup.py build
32
33%install
34rm -rf $RPM_BUILD_ROOT
35
36python setup.py install \
37 --root=$RPM_BUILD_ROOT \
38 --optimize=2
39
40%py_postclean
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files
46%defattr(644,root,root,755)
47%doc doc/* CHANGES.txt CREDITS.txt TODO.txt
48%dir %{py_sitedir}/lxml
49%{py_sitedir}/lxml/*.py[co]
50%dir %{py_sitedir}/lxml/html
51%{py_sitedir}/lxml/html/*.py[co]
52%attr(755,root,root) %{py_sitedir}/lxml/etree.so
53%attr(755,root,root) %{py_sitedir}/lxml/objectify.so
54%{py_sitedir}/lxml-*.egg-info
This page took 0.033584 seconds and 4 git commands to generate.