source: projects/specs/trunk/lib/libx/libxslt/libxslt-vl.spec @ 12299

Revision 12299, 13.0 KB checked in by tomop, 5 years ago (diff)

updated 15 packages

ant-1.9.14-1

ccid-1.4.31-1

extra-cmake-modules-5.63.0-1

file-5.37-2

iputils-20190709-1

libarchive-3.4.0-1

libidn2-2.2.0-1

libmodsecurity-3.0.3-4

libxslt-1.1.33-2

ncurses-6.1-3

pcsc-lite-1.8.25-1

polkit-qt-0.112.0-3

qca2-2.2.1-1

rdesktop-1.9.0-1

util-linux-2.34-1

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2%define _unpackaged_files_terminate_build 1
3
4Summary: Library providing the Gnome XSLT engine
5Summary(ja): XSLT エンジンライブラリ
6Name: libxslt
7Version: 1.1.33
8Release: 2%{_dist_release}
9Group: System Environment/Libraries
10
11Vendor: Project Vine
12Distribution: Vine Linux
13
14License: MIT
15URL: http://xmlsoft.org/XSLT/
16Source0: ftp://xmlsoft.org/libxslt/%{name}-%{version}.tar.gz
17
18Patch1: CVE-2019-11068.patch
19Patch2: CVE-2019-13117.patch
20Patch3: CVE-2019-13118.patch
21Patch4: CVE-2019-18197.patch
22
23BuildRoot: %{_tmppath}/%{name}-%{version}-root
24BuildRequires: libtirpc-devel
25BuildRequires: libxcrypt-devel
26BuildRequires: libxml2-devel >= 2.9.9
27BuildRequires: zlib-devel >= 1.1.4
28BuildRequires: perl
29BuildRequires: python python-devel python-rpm-macros libxml2-python
30%if %{with python3}
31BuildRequires: python3 python3-devel python3-rpm-macros python3-libxml2
32%endif
33Requires: libxml2 >= 2.9.9
34
35
36%description
37This C library allows to transform XML files into other XML files
38(or HTML, text, ...) using the standard XSLT stylesheet transformation
39mechanism. To use it you need to have a version of libxml2 >= 2.6.15
40installed. The xsltproc command is a command line interface to the XSLT engine
41
42%description -l ja
43XSLTスタイルシートを使ってXML型式をHTML型式に変換するためのライブラリです。
44
45%package devel
46Summary: Libraries, includes, etc. to embed the Gnome XSLT engine
47Summary(ja): XSLT 開発用ファイル
48Group: Development/Libraries
49Requires: %{name} = %{version}-%{release}
50Requires: libxml2-devel >= 2.6.27
51
52%description devel
53This C library allows to transform XML files into other XML files
54(or HTML, text, ...) using the standard XSLT stylesheet transformation
55mechanism. To use it you need to have a version of libxml2 >= 2.6.15
56installed.
57
58%description devel -l ja
59XSLTのための開発用ファイルです。
60
61%package static
62Summary: Static library for %{name}
63Summary(ja): %{name} のスタティックライブラリ
64Group: Development/Libraries
65Requires: libxslt-devel = %{version}-%{release}
66
67%description static
68The libxslt-static package contains the static library for libxslt.
69
70%package python
71Summary: Python bindings for the libxslt library
72Group: Development/Libraries
73Requires: libxslt = %{version}-%{release}
74Requires: libxml2 >= 2.9.9
75Requires: python
76
77%description python
78The libxslt-python package contains a module that permits applications
79written in the Python programming language to use the interface
80supplied by the libxslt library to apply XSLT transformations.
81
82This library allows to parse sytlesheets, uses the libxml2-python
83to load and save XML and HTML files. Direct access to XPath and
84the XSLT transformation context are possible to extend the XSLT language
85with XPath functions written in Python.
86
87%if %{with python3}
88%package -n python3-%{name}
89Summary: Python bindings for the libxslt library
90Group: Development/Libraries
91Requires: libxslt = %{version}-%{release}
92Requires: libxml2 >= 2.9.9
93Requires: python3
94
95%description -n python3-%{name}
96The libxslt-python package contains a module that permits applications
97written in the Python programming language to use the interface
98supplied by the libxslt library to apply XSLT transformations.
99
100This library allows to parse sytlesheets, uses the libxml2-python
101to load and save XML and HTML files. Direct access to XPath and
102the XSLT transformation context are possible to extend the XSLT language
103with XPath functions written in Python.
104
105%endif
106
107# compat32
108%package -n compat32-%{name}
109Summary: Library providing the Gnome XSLT engine
110Summary(ja): XSLT エンジンライブラリ
111Group: System Environment/Libraries
112Requires: %{name} = %{version}-%{release}
113Requires: compat32-libxml2 >= 2.6.27
114
115%description -n compat32-%{name}
116This C library allows to transform XML files into other XML files
117(or HTML, text, ...) using the standard XSLT stylesheet transformation
118mechanism. To use it you need to have a version of libxml2 >= 2.6.15
119installed. The xsltproc command is a command line interface to the XSLT engine
120
121%description -n compat32-%{name} -l ja
122XSLTスタイルシートを使ってXML型式をHTML型式に変換するためのライブラリです。
123
124%package -n compat32-%{name}-devel
125Summary: Libraries, includes, etc. to embed the Gnome XSLT engine
126Summary(ja): XSLT 開発用ファイル
127Group: Development/Libraries
128Requires: %{name}-devel = %{version}-%{release}
129Requires: compat32-%{name} = %{version}-%{release}
130Requires: compat32-libxml2-devel >= 2.6.27
131
132%description -n compat32-%{name}-devel
133This C library allows to transform XML files into other XML files
134(or HTML, text, ...) using the standard XSLT stylesheet transformation
135mechanism. To use it you need to have a version of libxml2 >= 2.6.15
136installed.
137
138%description -n compat32-%{name}-devel -l ja
139XSLTのための開発用ファイルです。
140
141%prep
142%autosetup -p1
143chmod 644 python/tests/*
144
145%build
146perl -pi -e 's|sysconfig\.get_python_lib\(\)|sysconfig.get_python_lib(1)|' configure
147
148mkdir py2 py3
149%global _configure ../configure
150%global _configure_disable_silent_rules 1
151( export PYTHON_SITE_PACKAGES=%{python_sitearch}; cd py2 && %configure --without-crypto --cache-file=../config.cache --with-python=%{__python} )
152make %{?_smp_mflags} -C py2
153
154%if %{with python3}
155( cd py3 && %configure --without-crypto --cache-file=../config.cache --with-python=%{__python3} )
156make %{?_smp_mflags} -C py3
157%endif
158
159%install
160[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
161
162make install -C py2 DESTDIR=$RPM_BUILD_ROOT
163
164find %{buildroot}%{python_sitearch} -name '*.a' -print -delete
165
166%if %{with python3}
167make install -C py3 DESTDIR=$RPM_BUILD_ROOT
168find %{buildroot}%{python3_sitearch} -name '*.a' -print -delete
169%endif
170
171find %{buildroot} -name '*.la' -print -delete
172
173# multiarch crazyness on timestamp differences
174touch -m --reference=%{buildroot}%{_includedir}/libxslt/xslt.h %{buildroot}%{_bindir}/xslt-config
175rm -vrf %{buildroot}%{_docdir}
176
177%clean
178[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
179
180%post -p /sbin/ldconfig
181
182%postun -p /sbin/ldconfig
183
184%post -n compat32-%{name} -p /sbin/ldconfig
185
186%postun -n compat32-%{name} -p /sbin/ldconfig
187
188%files
189%defattr(-, root, root)
190%license Copyright
191%doc AUTHORS ChangeLog NEWS README TODO FEATURES
192%doc doc/*.html doc/html doc/tutorial doc/EXSLT
193%{_bindir}/xsltproc
194%{_libdir}/lib*.so.*
195%{_mandir}/man1/xsltproc.1*
196
197%files devel
198%defattr(-, root, root)
199%license Copyright
200%doc AUTHORS ChangeLog NEWS README TODO FEATURES
201%{_includedir}/*
202%{_libdir}/lib*.so
203%{_libdir}/*.sh
204%{_libdir}/pkgconfig/*.pc
205%{_bindir}/xslt-config
206%{_datadir}/aclocal/*.m4
207%{_mandir}/man3/*
208
209%files static
210%defattr(-, root, root)
211%{_libdir}/lib*.a
212
213%files python
214%defattr(-, root, root)
215%license Copyright
216%doc AUTHORS ChangeLog NEWS README FEATURES
217%doc python/TODO
218%doc python/libxsltclass.txt
219%doc python/tests/*.py
220%doc python/tests/*.xml
221%doc python/tests/*.xsl
222%{python_sitearch}/libxslt.py
223%{python_sitearch}/libxsltmod*
224
225%if %{with python3}
226%files -n python3-%{name}
227%defattr(-, root, root)
228%license Copyright
229%doc AUTHORS ChangeLog NEWS README FEATURES
230%doc python/TODO
231%doc python/libxsltclass.txt
232%doc python/tests/*.py
233%doc python/tests/*.xml
234%doc python/tests/*.xsl
235%{python3_sitearch}/libxslt.py
236%{python3_sitearch}/libxsltmod*
237%endif
238
239# compat32
240%if %{build_compat32}
241%files -n compat32-%{name}
242%defattr(-, root, root)
243%{_libdir}/lib*.so.*
244
245%files -n compat32-%{name}-devel
246%defattr(-, root, root)
247%{_libdir}/lib*.so
248%{_libdir}/lib*.a
249%{_libdir}/*.sh
250%endif
251
252%changelog
253* Sat Oct 26 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.33-2
254- added Patch1-4.
255
256* Mon May 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.33-1
257- updated to 1.1.33.
258- added a sub-package "python3-libxslt".
259- added BR:libxcrypt-devel.
260- added BR:libtirpc-devel.
261
262* Sat Jan 06 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.32-1
263- updated to 1.1.32.
264
265* Wed Jun  8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.29-1
266- updated to 1.1.29.
267- dropped Patch0.
268
269* Thu Oct 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.28-2
270- add Patch0 (libxslt-1.1.28-CVE-2015-7995.patch)
271
272* Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.28-1
273- update to 1.1.28
274
275* Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.27-2
276- rebuild with VineSeed environment
277
278* Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.27-1
279- new upstream release
280
281* Thu Feb 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.26-7
282- rebuild with python-2.7.2
283
284* Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 1.1.26-6
285- build with rpm-4.8.1-1 for pkg-config file
286
287* Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1.26-5
288- rebuilt with gcc-4.4.3-3 on ppc
289
290* Sat Feb  6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.26-4
291- removed %%{_libdir}/python*/site-packages/*.{a,la}
292
293* Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.1.26-3
294- rebuild with python-2.6
295
296* Tue Feb  2 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1.26-2
297- rebuilt with new toolchain
298
299* Wed Jan 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.26-1
300- new upstream release
301- split static libraries to subpackage
302
303* Mon Jul 13 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.23-3
304- added compat32 package for x86_64 arch support
305
306* Fri Jul 18 2008 Shu KONNO <owa@bg.wakwak.com> 1.1.23-2
307- rebuilt with python-2.5.2
308
309* Tue Apr 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.23-1
310- new upstream release
311- remove *.la file from devel package
312
313* Wed Oct  3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.22-0vl1
314- new upstream release
315
316* Sun Feb  4 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.20-0vl1
317- new upstream release
318- updated BuildRequires: libxml2-devel >= 2.6.27
319- updated Requires: libxml2 >= 2.6.27
320
321* Sat Aug 05 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.17-0vl1
322- added --libdir=%%{_libdir} to ./configure option
323
324* Fri Jul 14 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.17-0vl1
325- new upstream release
326- updated libxml2 dependancy
327
328* Mon Oct 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.15-0vl1
329- new upstream release
330
331* Tue Apr 12 2005 Satoshi MACHINO <machino@vinelinux.org> 1.1.14-0vl1
332- new upstream release
333
334* Sun Apr 03 2005 Shu KONNO <owa@bg.wakwak.com> 1.1.12-0vl3
335- rebuild with python-2.4.1-0vl1
336
337* Thu Nov 11 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.12-0vl2
338- build without libgcrypt (add --without-crypto to configure option)
339- remove lines about snapshot release
340- use %%makeinstall
341- add %%{_libdir}/python*/site-packages/libxsltmod* to python package
342
343* Thu Nov 11 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.12-0vl1
344- source upgrade (security fix)
345- BuildPrereq: libxml2-devel >= 2.6.15
346- Requires: libxml2 >= 2.6.15
347- add doc/EXSLT to %%doc
348
349* Tue Sep 07 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.9-0vl1
350- new upstream version
351
352* Tue Apr 27 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.6-0vl1
353- source upgrade
354- BuildPrereq: libxml2-devel >= 2.6.8
355- Requires: libxml2 >= 2.6.8
356
357* Sat Apr 17 2004 Shu KONNO <owa@bg.wakwak.com> 1.1.4-0vl2
358- rebuild with python-2.3.3-0vl1
359
360* Sat Apr 10 2004 Shu KONNO <owa@bg.wakwak.com> 1.1.4-0vl1.1
361- rebuild with python-2.3.3-0vl0.3 (for TestPkg)
362
363* Thu Mar 25 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.4-0vl1
364- new upstream release
365
366* Thu Jan 29 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.2-0vl1
367- new upstream release
368- BuildPrereq: libxml2-devel >= 2.6.3
369- Requires: libxml2 >= 2.6.3
370
371* Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.32-0vl1
372- new upstream release
373
374* Sun Jul 20 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.31-0vl1
375- source upgrade
376
377* Sat May 17 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.30-0vl1
378- source upgrade
379
380* Mon Feb 17 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.26-0vl1
381- source upgrade
382- BuildPrereq: libxml2-devel >= 2.5.2
383- Requires: libxml2 >= 2.5.2
384
385* Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.23-0vl1
386- source upgrade
387- build with new toolchains
388
389* Tue Oct 29 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.22-0vl1
390- source update to 1.0.22
391- BuildPrereq: libxml2-devel >= 2.4.23
392- Requires: libxml2 >= 2.4.23
393
394* Sun May 26 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.0.17-1vl1
395- merged with 1.0.17-1
396 -- Fri Feb  8 2002 Daniel.Veillard <veillard@redhat.com>
397  - added the python module
398- clean up spec
399- BuildPrereq: libxml2-devel >= 2.4.17
400- Requires: libxml2 >= 2.4.17
401
402* Mon Mar 18 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.0.10-0vl2
403- changed License to MIT (not LGPL)
404- add BuildPrereq: zlib-devel >= 1.1.4 perl
405
406* Sun Feb 24 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.0.10-0vl1
407- source update
408- BuildPrereq: libxml2-devel >= 2.4.13
409
410* Thu Oct 11 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.0.9-0vl1
411- add gtk-doc to BuildPrereq
412
413* Thu Oct 11 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com>
414- 1.0.1-1vl2
415- Build for VineSeed
416
417* Fri Aug 24 2001 Tuscus Pino-potamus Japonus <ursragna@hotmail.com>
418- 1.0.1-1vl1
419- cleaning
420
421* Fri Jul 27 2001 Tuscus Pino-potamus Japonus <ursragna@hotmail.com>
422- 1.0.1-1vl0
423- modify for Vine Linux 2.1x
424
425* Mon Jan 22 2001 Daniel.Veillard <daniel@veillard.com>
426- created based on libxml2 spec file
Note: See TracBrowser for help on using the repository browser.