1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
2 | |
---|
3 | Summary: Library providing the Gnome XSLT engine |
---|
4 | Summary(ja): XSLT エンジンライブラリ |
---|
5 | Name: libxslt |
---|
6 | Version: 1.1.26 |
---|
7 | Release: 5%{_dist_release} |
---|
8 | License: MIT |
---|
9 | Group: System Environment/Libraries |
---|
10 | URL: http://xmlsoft.org/XSLT/ |
---|
11 | Source0: ftp://xmlsoft.org/XSLT/%{name}-%{version}.tar.gz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | BuildRequires: libxml2-devel >= 2.6.27 |
---|
15 | BuildRequires: zlib-devel >= 1.1.4 |
---|
16 | BuildRequires: python python-devel perl libxml2-python |
---|
17 | Requires: libxml2 >= 2.6.27 |
---|
18 | |
---|
19 | %description |
---|
20 | This C library allows to transform XML files into other XML files |
---|
21 | (or HTML, text, ...) using the standard XSLT stylesheet transformation |
---|
22 | mechanism. To use it you need to have a version of libxml2 >= 2.6.15 |
---|
23 | installed. The xsltproc command is a command line interface to the XSLT engine |
---|
24 | |
---|
25 | %description -l ja |
---|
26 | XSLTスタイルシートを使ってXML型式をHTML型式に変換するためのライブラリです。 |
---|
27 | |
---|
28 | %package devel |
---|
29 | Summary: Libraries, includes, etc. to embed the Gnome XSLT engine |
---|
30 | Summary(ja): XSLT 開発用ファイル |
---|
31 | Group: Development/Libraries |
---|
32 | Requires: %{name} = %{version}-%{release} |
---|
33 | Requires: libxml2-devel >= 2.6.27 |
---|
34 | |
---|
35 | %description devel |
---|
36 | This C library allows to transform XML files into other XML files |
---|
37 | (or HTML, text, ...) using the standard XSLT stylesheet transformation |
---|
38 | mechanism. To use it you need to have a version of libxml2 >= 2.6.15 |
---|
39 | installed. |
---|
40 | |
---|
41 | %description devel -l ja |
---|
42 | XSLTのための開発用ファイルです。 |
---|
43 | |
---|
44 | %package static |
---|
45 | Summary: Static library for %{name} |
---|
46 | Summary(ja): %{name} のスタティックライブラリ |
---|
47 | Group: Development/Libraries |
---|
48 | Requires: libxslt-devel = %{version}-%{release} |
---|
49 | |
---|
50 | %description static |
---|
51 | The libxslt-static package contains the static library for libxslt. |
---|
52 | |
---|
53 | %package python |
---|
54 | Summary: Python bindings for the libxslt library |
---|
55 | Group: Development/Libraries |
---|
56 | Requires: libxslt = %{version}-%{release} |
---|
57 | Requires: libxml2 >= 2.6.27 |
---|
58 | Requires: python |
---|
59 | |
---|
60 | %description python |
---|
61 | The libxslt-python package contains a module that permits applications |
---|
62 | written in the Python programming language to use the interface |
---|
63 | supplied by the libxslt library to apply XSLT transformations. |
---|
64 | |
---|
65 | This library allows to parse sytlesheets, uses the libxml2-python |
---|
66 | to load and save XML and HTML files. Direct access to XPath and |
---|
67 | the XSLT transformation context are possible to extend the XSLT language |
---|
68 | with XPath functions written in Python. |
---|
69 | |
---|
70 | # compat32 |
---|
71 | %package -n compat32-%{name} |
---|
72 | Summary: Library providing the Gnome XSLT engine |
---|
73 | Summary(ja): XSLT エンジンライブラリ |
---|
74 | Group: System Environment/Libraries |
---|
75 | Requires: %{name} = %{version}-%{release} |
---|
76 | Requires: compat32-libxml2 >= 2.6.27 |
---|
77 | |
---|
78 | %description -n compat32-%{name} |
---|
79 | This C library allows to transform XML files into other XML files |
---|
80 | (or HTML, text, ...) using the standard XSLT stylesheet transformation |
---|
81 | mechanism. To use it you need to have a version of libxml2 >= 2.6.15 |
---|
82 | installed. The xsltproc command is a command line interface to the XSLT engine |
---|
83 | |
---|
84 | %description -n compat32-%{name} -l ja |
---|
85 | XSLTスタイルシートを使ってXML型式をHTML型式に変換するためのライブラリです。 |
---|
86 | |
---|
87 | %package -n compat32-%{name}-devel |
---|
88 | Summary: Libraries, includes, etc. to embed the Gnome XSLT engine |
---|
89 | Summary(ja): XSLT 開発用ファイル |
---|
90 | Group: Development/Libraries |
---|
91 | Requires: %{name}-devel = %{version}-%{release} |
---|
92 | Requires: compat32-%{name} = %{version}-%{release} |
---|
93 | Requires: compat32-libxml2-devel >= 2.6.27 |
---|
94 | |
---|
95 | %description -n compat32-%{name}-devel |
---|
96 | This C library allows to transform XML files into other XML files |
---|
97 | (or HTML, text, ...) using the standard XSLT stylesheet transformation |
---|
98 | mechanism. To use it you need to have a version of libxml2 >= 2.6.15 |
---|
99 | installed. |
---|
100 | |
---|
101 | %description -n compat32-%{name}-devel -l ja |
---|
102 | XSLTのための開発用ファイルです。 |
---|
103 | |
---|
104 | %prep |
---|
105 | %setup -q |
---|
106 | |
---|
107 | %build |
---|
108 | %configure --without-crypto |
---|
109 | make %{?_smp_mflags} |
---|
110 | |
---|
111 | %install |
---|
112 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
113 | |
---|
114 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
115 | |
---|
116 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la |
---|
117 | rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.{a,la} |
---|
118 | |
---|
119 | # |
---|
120 | # this is a bit ugly but tries to generate the bindings for all versions |
---|
121 | # of python installed |
---|
122 | #for i in %{prefix}/include/python* |
---|
123 | #do |
---|
124 | # py_version=`echo $i | sed "s+%{prefix}/include/python++"` |
---|
125 | # if test -x %{prefix}/bin/python$py_version |
---|
126 | # then |
---|
127 | # echo generating bindings for Python $py_version |
---|
128 | # (cd python ; make clean ; \ |
---|
129 | # make PYTHON="%{prefix}/bin/python$py_version" \ |
---|
130 | # PYTHON_VERSION="$py_version"; \ |
---|
131 | # make PYTHON="%{prefix}/bin/python$py_version" \ |
---|
132 | # PYTHON_VERSION="$py_version" \ |
---|
133 | # prefix=$RPM_BUILD_ROOT%{prefix} \ |
---|
134 | # mandir=$RPM_BUILD_ROOT%{_mandir} install) |
---|
135 | # fi |
---|
136 | #done |
---|
137 | |
---|
138 | %clean |
---|
139 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
140 | |
---|
141 | %post -p /sbin/ldconfig |
---|
142 | |
---|
143 | %postun -p /sbin/ldconfig |
---|
144 | |
---|
145 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
146 | |
---|
147 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
148 | |
---|
149 | %files |
---|
150 | %defattr(-, root, root) |
---|
151 | %doc AUTHORS ChangeLog NEWS README Copyright TODO FEATURES |
---|
152 | %doc doc/*.html doc/html doc/tutorial doc/EXSLT |
---|
153 | %{_bindir}/xsltproc |
---|
154 | %{_libdir}/lib*.so.* |
---|
155 | %{_mandir}/man1/xsltproc.1* |
---|
156 | |
---|
157 | %files devel |
---|
158 | %defattr(-, root, root) |
---|
159 | %doc AUTHORS ChangeLog NEWS README Copyright TODO FEATURES |
---|
160 | %{_includedir}/* |
---|
161 | %{_libdir}/lib*.so |
---|
162 | %{_libdir}/*.sh |
---|
163 | %{_libdir}/pkgconfig/*.pc |
---|
164 | %{_bindir}/xslt-config |
---|
165 | %{_datadir}/aclocal/*.m4 |
---|
166 | %{_mandir}/man3/* |
---|
167 | |
---|
168 | %files static |
---|
169 | %defattr(-, root, root) |
---|
170 | %{_libdir}/lib*.a |
---|
171 | |
---|
172 | %files python |
---|
173 | %defattr(-, root, root) |
---|
174 | %doc AUTHORS ChangeLog NEWS README Copyright FEATURES |
---|
175 | %doc python/TODO |
---|
176 | %doc python/libxsltclass.txt |
---|
177 | %doc python/tests/*.py |
---|
178 | %doc python/tests/*.xml |
---|
179 | %doc python/tests/*.xsl |
---|
180 | %{_libdir}/python*/site-packages/libxslt.py |
---|
181 | %{_libdir}/python*/site-packages/libxsltmod* |
---|
182 | |
---|
183 | # compat32 |
---|
184 | %if %{build_compat32} |
---|
185 | %files -n compat32-%{name} |
---|
186 | %defattr(-, root, root) |
---|
187 | %{_libdir}/lib*.so.* |
---|
188 | |
---|
189 | %files -n compat32-%{name}-devel |
---|
190 | %defattr(-, root, root) |
---|
191 | %{_libdir}/lib*.so |
---|
192 | %{_libdir}/lib*.a |
---|
193 | %{_libdir}/*.sh |
---|
194 | %{_libdir}/pkgconfig/*.pc |
---|
195 | %endif |
---|
196 | |
---|
197 | %changelog |
---|
198 | * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1.26-5 |
---|
199 | - rebuilt with gcc-4.4.3-3 on ppc |
---|
200 | |
---|
201 | * Sat Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.26-4 |
---|
202 | - removed %%{_libdir}/python*/site-packages/*.{a,la} |
---|
203 | |
---|
204 | * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.1.26-3 |
---|
205 | - rebuild with python-2.6 |
---|
206 | |
---|
207 | * Tue Feb 2 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1.26-2 |
---|
208 | - rebuilt with new toolchain |
---|
209 | |
---|
210 | * Wed Jan 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.26-1 |
---|
211 | - new upstream release |
---|
212 | - split static libraries to subpackage |
---|
213 | |
---|
214 | * Mon Jul 13 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.23-3 |
---|
215 | - added compat32 package for x86_64 arch support |
---|
216 | |
---|
217 | * Fri Jul 18 2008 Shu KONNO <owa@bg.wakwak.com> 1.1.23-2 |
---|
218 | - rebuilt with python-2.5.2 |
---|
219 | |
---|
220 | * Tue Apr 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.23-1 |
---|
221 | - new upstream release |
---|
222 | - remove *.la file from devel package |
---|
223 | |
---|
224 | * Wed Oct 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.22-0vl1 |
---|
225 | - new upstream release |
---|
226 | |
---|
227 | * Sun Feb 4 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.20-0vl1 |
---|
228 | - new upstream release |
---|
229 | - updated BuildRequires: libxml2-devel >= 2.6.27 |
---|
230 | - updated Requires: libxml2 >= 2.6.27 |
---|
231 | |
---|
232 | * Sat Aug 05 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.17-0vl1 |
---|
233 | - added --libdir=%%{_libdir} to ./configure option |
---|
234 | |
---|
235 | * Fri Jul 14 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.17-0vl1 |
---|
236 | - new upstream release |
---|
237 | - updated libxml2 dependancy |
---|
238 | |
---|
239 | * Mon Oct 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.15-0vl1 |
---|
240 | - new upstream release |
---|
241 | |
---|
242 | * Tue Apr 12 2005 Satoshi MACHINO <machino@vinelinux.org> 1.1.14-0vl1 |
---|
243 | - new upstream release |
---|
244 | |
---|
245 | * Sun Apr 03 2005 Shu KONNO <owa@bg.wakwak.com> 1.1.12-0vl3 |
---|
246 | - rebuild with python-2.4.1-0vl1 |
---|
247 | |
---|
248 | * Thu Nov 11 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.12-0vl2 |
---|
249 | - build without libgcrypt (add --without-crypto to configure option) |
---|
250 | - remove lines about snapshot release |
---|
251 | - use %%makeinstall |
---|
252 | - add %%{_libdir}/python*/site-packages/libxsltmod* to python package |
---|
253 | |
---|
254 | * Thu Nov 11 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.12-0vl1 |
---|
255 | - source upgrade (security fix) |
---|
256 | - BuildPrereq: libxml2-devel >= 2.6.15 |
---|
257 | - Requires: libxml2 >= 2.6.15 |
---|
258 | - add doc/EXSLT to %%doc |
---|
259 | |
---|
260 | * Tue Sep 07 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.9-0vl1 |
---|
261 | - new upstream version |
---|
262 | |
---|
263 | * Tue Apr 27 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.6-0vl1 |
---|
264 | - source upgrade |
---|
265 | - BuildPrereq: libxml2-devel >= 2.6.8 |
---|
266 | - Requires: libxml2 >= 2.6.8 |
---|
267 | |
---|
268 | * Sat Apr 17 2004 Shu KONNO <owa@bg.wakwak.com> 1.1.4-0vl2 |
---|
269 | - rebuild with python-2.3.3-0vl1 |
---|
270 | |
---|
271 | * Sat Apr 10 2004 Shu KONNO <owa@bg.wakwak.com> 1.1.4-0vl1.1 |
---|
272 | - rebuild with python-2.3.3-0vl0.3 (for TestPkg) |
---|
273 | |
---|
274 | * Thu Mar 25 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.4-0vl1 |
---|
275 | - new upstream release |
---|
276 | |
---|
277 | * Thu Jan 29 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.2-0vl1 |
---|
278 | - new upstream release |
---|
279 | - BuildPrereq: libxml2-devel >= 2.6.3 |
---|
280 | - Requires: libxml2 >= 2.6.3 |
---|
281 | |
---|
282 | * Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.32-0vl1 |
---|
283 | - new upstream release |
---|
284 | |
---|
285 | * Sun Jul 20 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.31-0vl1 |
---|
286 | - source upgrade |
---|
287 | |
---|
288 | * Sat May 17 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.30-0vl1 |
---|
289 | - source upgrade |
---|
290 | |
---|
291 | * Tue Feb 17 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.26-0vl1 |
---|
292 | - source upgrade |
---|
293 | - BuildPrereq: libxml2-devel >= 2.5.2 |
---|
294 | - Requires: libxml2 >= 2.5.2 |
---|
295 | |
---|
296 | * Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.23-0vl1 |
---|
297 | - source upgrade |
---|
298 | - build with new toolchains |
---|
299 | |
---|
300 | * Tue Oct 29 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.22-0vl1 |
---|
301 | - source update to 1.0.22 |
---|
302 | - BuildPrereq: libxml2-devel >= 2.4.23 |
---|
303 | - Requires: libxml2 >= 2.4.23 |
---|
304 | |
---|
305 | * Sun May 26 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.0.17-1vl1 |
---|
306 | - merged with 1.0.17-1 |
---|
307 | -- Fri Feb 8 2002 Daniel.Veillard <veillard@redhat.com> |
---|
308 | - added the python module |
---|
309 | - clean up spec |
---|
310 | - BuildPrereq: libxml2-devel >= 2.4.17 |
---|
311 | - Requires: libxml2 >= 2.4.17 |
---|
312 | |
---|
313 | * Mon Mar 18 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.0.10-0vl2 |
---|
314 | - changed License to MIT (not LGPL) |
---|
315 | - add BuildPrereq: zlib-devel >= 1.1.4 perl |
---|
316 | |
---|
317 | * Sun Feb 24 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.0.10-0vl1 |
---|
318 | - source update |
---|
319 | - BuildPrereq: libxml2-devel >= 2.4.13 |
---|
320 | |
---|
321 | * Thu Oct 11 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.0.9-0vl1 |
---|
322 | - add gtk-doc to BuildPrereq |
---|
323 | |
---|
324 | * Thu Oct 11 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> |
---|
325 | - 1.0.1-1vl2 |
---|
326 | - Build for VineSeed |
---|
327 | |
---|
328 | * Fri Aug 24 2001 Tuscus Pino-potamus Japonus <ursragna@hotmail.com> |
---|
329 | - 1.0.1-1vl1 |
---|
330 | - cleaning |
---|
331 | |
---|
332 | * Fri Jul 27 2001 Tuscus Pino-potamus Japonus <ursragna@hotmail.com> |
---|
333 | - 1.0.1-1vl0 |
---|
334 | - modify for Vine Linux 2.1x |
---|
335 | |
---|
336 | * Mon Jan 22 2001 Daniel.Veillard <daniel@veillard.com> |
---|
337 | - created based on libxml2 spec file |
---|