source: projects/specs/trunk/p/python-lxml/python-lxml-vl.spec @ 12477

Revision 12477, 3.1 KB checked in by tomop, 4 years ago (diff)

updated 11 packages

libxml2-2.9.10-4

newt-0.52.21-2

python-docutils-0.16-2

python-inotify-0.9.6-3

python-lxml-4.5.2-2

python-pykf-0.3.4-8

python-2.7.18-1

rhpxl-1.9-10

rrdtool-1.7.2-3

system-config-date-1.9.61-3

system-config-network-1.6.2-2

Line 
1%define _lxml lxml
2Summary: lxml is a Pythonic binding for the libxml2 and libxslt libraries
3Summary(ja): lxml は libxml2 と libxslt の Python バインディングです
4Name: python-%{_lxml}
5Version: 4.5.2
6Release: 2%{?_dist_release}
7Group: programming
8Vendor: Project Vine
9Distribution: Vine Linux
10
11License: BSD
12URL: https://lxml.de/
13#URL: http://pypi.python.org/pypi/lxml
14Source: https://pypi.python.org/packages/source/l/%{_lxml}/%{_lxml}-%{version}.tar.gz
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16
17BuildRequires: libxml2-devel >= 2.6.21
18BuildRequires: libxslt-devel >= 1.1.15
19BuildRequires: python-rpm-macros
20
21BuildRequires: python-devel >= 2.3
22BuildRequires: python2-rpm-macros
23BuildRequires: python-pyrex
24Requires: python(abi) = %{python_version}
25
26BuildRequires: python3-devel
27BuildRequires: python3-rpm-macros
28
29%description
30lxml is a Pythonic binding for the libxml2_ and libxslt_ libraries.  It is
31unique in that it combines the speed and feature completeness of these
32libraries with the simplicity of a native Python API, mostly compatible but
33superior to the well-known ElementTree_ API.  See the introduction_ for more
34information about background and goals.
35
36
37%package -n python3-lxml
38Summary: lxml is a Pythonic binding for the libxml2 and libxslt libraries
39Summary(ja): lxml は libxml2 と libxslt の Python バインディングです
40Group: programming
41Requires: python(abi) = %{python3_version}
42
43%description -n python3-lxml
44lxml is a Pythonic binding for the libxml2_ and libxslt_ libraries.  It is
45unique in that it combines the speed and feature completeness of these
46libraries with the simplicity of a native Python API, mostly compatible but
47superior to the well-known ElementTree_ API.  See the introduction_ for more
48information about background and goals.
49
50
51%prep
52%setup -q -n %{_lxml}-%{version}
53
54
55%build
56%py2_build
57%py3_build
58
59
60%install
61rm -rf $RPM_BUILD_ROOT
62%py2_install
63%py3_install
64
65find doc/ -type f | xargs chmod -x
66
67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71
72%files
73%defattr(-,root,root)
74%license LICENSE*
75%doc CHANGES.txt CREDITS.txt README.* TODO.txt
76%doc doc
77%{python2_sitearch}/%{_lxml}
78%{python2_sitearch}/%{_lxml}-*-info
79
80%files -n python3-lxml
81%defattr(-,root,root)
82%license LICENSE*
83%doc CHANGES.txt CREDITS.txt README.* TODO.txt
84%doc doc
85%{python3_sitearch}/%{_lxml}
86%{python3_sitearch}/%{_lxml}-*-info
87
88
89%changelog
90* Wed Aug 19 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.5.2-2
91- fixed dependency.
92
93* Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.5.2-1
94- new upstream release.
95
96* Sat Sep 09 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.8.0-1
97- new upstream release.
98- added python3 support.
99
100* Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.6-4
101- rebuild with VineSeed environment
102
103* Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.6-3
104- rebuild with python-2.7.2
105
106* Wed Mar 10 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 2.2.6-2
107- change required version of libxml2-devel for Vine Plus/5
108  (2.7.2 or later is recomended, but works with 2.6.21 or later)
109
110* Sun Mar 07 2010 Shu KONNO <owa@bg.wakwak.com> 2.2.6-1
111- initial build for vine linux
112
Note: See TracBrowser for help on using the repository browser.