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

Revision 12316, 13.0 KB checked in by tomop, 4 years ago (diff)

updated 22 packages

actdiag-0.5.4-1

blockdiag-1.5.4-1

clamav-0.102.1-1

ghostscript-9.27-3

git-2.24.1-1

incron-0.5.12-4

iputils-20190709-2

libsass-3.6.3-1

libxslt-1.1.34-1

nginx-1.16.1-4

nsd-4.2.4-1

nwdiag-1.0.4-1

oniguruma-6.9.4-1

php73-7.3.12-1

python-funcparserlib-0.3.6-1

python-webcolors-1.10-1

samba-4.10.10-1

seqdiag-0.9.6-1

strongswan-5.8.1-1

trousers-0.3.14-1

unbound-1.9.6-1

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