author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19719 | d184ca39d269 |
permissions | -rw-r--r-- |
1454 | 1 |
# |
2 |
# spec file for package libxslt (Version 1.0.19) |
|
3 |
# |
|
4 |
# Copyright (c) 2002 SuSE Linux AG, Nuernberg, Germany. |
|
19643 | 5 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
1454 | 6 |
# This file and all modifications and additions to the pristine |
7 |
# package are under the same license as the package itself. |
|
8 |
# |
|
9 |
# please send bugfixes or comments to [email protected]. |
|
10 |
# |
|
11 |
||
12 |
# neededforbuild gtkdoc libxml2 libxml2-devel libxml2-python python python-devel |
|
13 |
# usedforbuild aaa_base aaa_version acl attr bash bind9-utils bison cpio cpp cyrus-sasl db devs diffutils e2fsprogs file filesystem fileutils fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip kbd less libgcc libstdc++ libxcrypt m4 make man mktemp modutils ncurses ncurses-devel net-tools netcfg pam pam-devel pam-modules patch permissions ps rcs readline sed sendmail sh-utils shadow strace syslogd sysvinit tar texinfo textutils timezone unzip util-linux vim zlib-devel autoconf automake binutils bzip2 cracklib gcc gdbm gettext gtkdoc libtool libxml2 libxml2-devel libxml2-python perl python python-devel rpm zlib |
|
14 |
||
15 |
Name: libxslt |
|
16 |
License: X11/MIT |
|
17 |
Group: System/Libraries |
|
19379 | 18 |
Version: 1.1.14 |
19 |
Release: 1 |
|
4867
e8cfe7e64783
*.spec (almost): update Vendor and Distribution tags
dermotm
parents:
4860
diff
changeset
|
20 |
Distribution: Java Desktop System, Release 3 |
1601
15b23e0d9d2a
Bump to 1.1.2, install libexslt.pc... clean up spec file
mattk
parents:
1543
diff
changeset
|
21 |
Vendor: Sun Microsystems, Inc. |
15b23e0d9d2a
Bump to 1.1.2, install libexslt.pc... clean up spec file
mattk
parents:
1543
diff
changeset
|
22 |
Summary: XSL Transformation Library |
1454 | 23 |
Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/libxslt/libxslt-%{version}.tar.bz2 |
24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
25 |
Requires: libxml2 >= 2.4.17 |
|
26 |
URL: http://xmlsoft.org/XSLT/ |
|
3725 | 27 |
BuildRequires: python |
28 |
BuildRequires: python-devel |
|
19365 | 29 |
BuildRequires: libtool |
1454 | 30 |
|
31 |
%description |
|
32 |
This C library allows to transform XML files into other XML files |
|
33 |
(or HTML, text, ...) using the standard XSLT stylesheet transformation |
|
34 |
mechanism. |
|
35 |
||
36 |
It is based on libxml (version 2) for XML parsing, tree manipulation, and |
|
37 |
XPath support. It is written in plain C, making as few assumptions as |
|
38 |
possible, and sticking closely to ANSI C/POSIX for easy embedding. Though not designed primarily |
|
39 |
with performances in mind, libxslt seems to be a relatively fast |
|
40 |
processor. It also includes full support for the EXSLT set of extension |
|
41 |
functions as well as some common extensions present in other XSLT engines. |
|
42 |
||
43 |
The package comes with 'xsltproc', a command line interface to the XSLT engine. |
|
44 |
||
45 |
||
46 |
||
47 |
Authors: |
|
48 |
-------- |
|
49 |
Daniel Veillard <[email protected]> |
|
50 |
||
51 |
%package devel |
|
52 |
Summary: libxslt development package |
|
53 |
Group: Development/Libraries/C and C++ |
|
54 |
Requires: libxslt = %{version} |
|
55 |
Requires: libxml2-devel >= 2.4.17 |
|
56 |
||
57 |
%description devel |
|
58 |
Libraries and include files to compile applications using libxslt. |
|
59 |
||
60 |
%package python |
|
61 |
Summary: Python bindings for libxml2 |
|
62 |
Group: Development/Languages/Python |
|
63 |
Requires: libxslt = %{version} |
|
64 |
Requires: libxml2 >= 2.4.17 |
|
65 |
Requires: python |
|
66 |
||
67 |
%description python |
|
68 |
The libxslt-python package contains a module that permits applications |
|
69 |
written in the Python programming language to use the interface |
|
70 |
supplied by the libxslt library to apply XSLT transformations. |
|
71 |
||
72 |
This library allows to parse stylesheets, uses the libxml2-python |
|
73 |
to load and save XML and HTML files. Direct access to XPath and |
|
74 |
the XSLT transformation context are possible; thus it is possible to extend the XSLT language with XPath functions written in Python. |
|
75 |
||
76 |
||
77 |
Authors: |
|
78 |
-------- |
|
79 |
Daniel Veillard <[email protected]> |
|
80 |
||
81 |
%prep |
|
82 |
%setup -q |
|
83 |
||
4455 | 84 |
|
1454 | 85 |
%build |
3263 | 86 |
%ifos linux |
87 |
if [ -x /usr/bin/getconf ]; then |
|
88 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
89 |
fi |
|
90 |
%else |
|
3846 | 91 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 92 |
%endif |
93 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
94 |
CPUS=1 |
|
95 |
fi |
|
96 |
||
1454 | 97 |
%{?suse_update_config:%{suse_update_config -f}} |
98 |
libtoolize --force |
|
99 |
aclocal |
|
100 |
automake -a -c -f |
|
101 |
autoconf |
|
102 |
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \ |
|
103 |
--sysconfdir=%{_sysconfdir} \ |
|
104 |
--libdir=%{_prefix}/%_lib \ |
|
105 |
--mandir=%{_mandir} |
|
3263 | 106 |
make -j $CPUS |
107 |
make -j $CPUS -C python |
|
1454 | 108 |
|
109 |
%install |
|
110 |
%define python_sitepath %(python -c "import site; print site.sitedirs[0]") |
|
111 |
rm -rf $RPM_BUILD_ROOT |
|
112 |
export LIBRARY_PATH=$RPM_BUILD_ROOT/%{_prefix}/%_lib |
|
113 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
114 |
make -C python install \ |
|
115 |
DESTDIR=$RPM_BUILD_ROOT \ |
|
116 |
pythondir=%python_sitepath \ |
|
117 |
PYTHON_SITE_PACKAGES=%python_sitepath |
|
118 |
# /sbin/ldconfig -n $RPM_BUILD_ROOT%{_prefix}/%_lib |
|
119 |
||
3725 | 120 |
rm $RPM_BUILD_ROOT/%{python_sitepath}/*.la |
121 |
rm $RPM_BUILD_ROOT/%{python_sitepath}/*.a |
|
122 |
rm $RPM_BUILD_ROOT/%{_libdir}/*.a |
|
123 |
rm $RPM_BUILD_ROOT/%{_libdir}/*.la |
|
124 |
||
1454 | 125 |
%clean |
126 |
rm -rf $RPM_BUILD_ROOT |
|
127 |
||
128 |
%post |
|
129 |
%run_ldconfig |
|
130 |
# %postun -p /sbin/ldconfig |
|
131 |
||
132 |
%files |
|
133 |
%defattr(-, root, root) |
|
134 |
%doc AUTHORS NEWS README COPYING* TODO FEATURES |
|
135 |
# not available doc/*.png |
|
3725 | 136 |
%doc doc/*.html doc/tutorial doc/*.gif |
137 |
#%doc doc/*.html doc/tutorial doc/*.gif |
|
1601
15b23e0d9d2a
Bump to 1.1.2, install libexslt.pc... clean up spec file
mattk
parents:
1543
diff
changeset
|
138 |
%{_libdir}/lib*.so.* |
15b23e0d9d2a
Bump to 1.1.2, install libexslt.pc... clean up spec file
mattk
parents:
1543
diff
changeset
|
139 |
%{_bindir}/xsltproc |
1454 | 140 |
%{_mandir}/* |
3725 | 141 |
%{_datadir}/doc/%{name}-%{version}/* |
1454 | 142 |
|
143 |
%files devel |
|
144 |
%defattr(-, root, root) |
|
1601
15b23e0d9d2a
Bump to 1.1.2, install libexslt.pc... clean up spec file
mattk
parents:
1543
diff
changeset
|
145 |
%{_libdir}/lib*.so |
15b23e0d9d2a
Bump to 1.1.2, install libexslt.pc... clean up spec file
mattk
parents:
1543
diff
changeset
|
146 |
%{_libdir}/*.sh |
15b23e0d9d2a
Bump to 1.1.2, install libexslt.pc... clean up spec file
mattk
parents:
1543
diff
changeset
|
147 |
%{_libdir}/pkgconfig/*.pc |
1454 | 148 |
%{_prefix}/include/* |
3725 | 149 |
%{_datadir}/aclocal/libxslt.m4 |
1601
15b23e0d9d2a
Bump to 1.1.2, install libexslt.pc... clean up spec file
mattk
parents:
1543
diff
changeset
|
150 |
%{_bindir}/xslt-config |
1454 | 151 |
|
152 |
%files python |
|
153 |
%defattr(-, root, root) |
|
3738
febca98de570
* libxslt.spec: Comment out two files in %files to build.
dc144907
parents:
3725
diff
changeset
|
154 |
# Comment out to build module. |
3744 | 155 |
%{python_sitepath}/libxslt.py |
156 |
%{python_sitepath}/libxsltmod.so |
|
1454 | 157 |
%doc python/libxsltclass.txt |
158 |
%doc python/tests/*.py |
|
159 |
%doc python/tests/*.xml |
|
160 |
%doc python/tests/*.xsl |
|
3725 | 161 |
%{_datadir}/doc/%{name}-python-%{version}/examples/* |
162 |
%{_datadir}/doc/%{name}-python-%{version}/TODO |
|
1454 | 163 |
|
164 |
%changelog -n libxslt |
|
19379 | 165 |
* Wed Jun 08 2005 - [email protected] |
166 |
- Bump to 1.1.14 |
|
167 |
||
3789 | 168 |
* Sun Aug 29 2004 - [email protected] |
169 |
- remove BuildRequires: libxml2-python |
|
170 |
||
3763 | 171 |
* Thu Aug 26 2004 - [email protected] |
172 |
- Changed BuildRequires: libxslt-python to libxml2-python. |
|
173 |
Since this spec file builds libxslt-python, it is an error |
|
174 |
to need another libxslt-python to boot strap the build. |
|
175 |
||
3744 | 176 |
* Wed Aug 25 2004 - [email protected] |
177 |
- added those two lines back, this is needed for the rpm4 build |
|
3763 | 178 |
|
3744 | 179 |
* Tue Aug 24 2004 - [email protected] |
3738
febca98de570
* libxslt.spec: Comment out two files in %files to build.
dc144907
parents:
3725
diff
changeset
|
180 |
- Comment out two files in %files to build. |
febca98de570
* libxslt.spec: Comment out two files in %files to build.
dc144907
parents:
3725
diff
changeset
|
181 |
|
3725 | 182 |
* Tue Aug 24 2004 - [email protected] |
183 |
- Modifed to remove .a .la files so that it build correctly |
|
184 |
on SUSE91 with the proper dependency included. |
|
185 |
||
3263 | 186 |
* Wed Jul 07 2004 - [email protected] |
187 |
- added "-j $CPUS" to make to speed up builds |
|
188 |
||
2238 | 189 |
* Thu Mar 18 2004 - [email protected] |
190 |
- Bump tarball to 1.1.4 |
|
191 |
||
1601
15b23e0d9d2a
Bump to 1.1.2, install libexslt.pc... clean up spec file
mattk
parents:
1543
diff
changeset
|
192 |
* Fri Feb 06 2004 - [email protected] |
15b23e0d9d2a
Bump to 1.1.2, install libexslt.pc... clean up spec file
mattk
parents:
1543
diff
changeset
|
193 |
- Bump tarball to 1.1.2, Missing libexslt.pc install |
15b23e0d9d2a
Bump to 1.1.2, install libexslt.pc... clean up spec file
mattk
parents:
1543
diff
changeset
|
194 |
|
1454 | 195 |
* Tue Aug 20 2002 - [email protected] |
196 |
- Apply patch by Daniel Veillard to fix a namespace problem raised by |
|
197 |
recent DocBook stylesheets |
|
198 |
(cf. http://bugzilla.gnome.org/show_bug.cgi?id=87901). |
|
199 |
Reported by Stephan Kulow [# 18099]. |
|
200 |
* Wed Jul 31 2002 - [email protected] |
|
201 |
- Run %%run_ldconfig. |
|
202 |
* Mon Jul 08 2002 - [email protected] |
|
203 |
- Update to version 1.0.19; NEWS from http://xmlsoft.org/XSLT/, not |
|
204 |
mentioned earlier: |
|
205 |
* Bug fixes: attributes, extra namespace declarations (DocBook), |
|
206 |
xsl:include crash, documentation, element-available. |
|
207 |
* xsltproc can now list registered extensions. |
|
208 |
* New API to save directly to a string xsltSaveResultToString(). |
|
209 |
* Specific error registration function for the python API. |
|
210 |
* Wed May 29 2002 - [email protected] |
|
211 |
- tweak python installation some more for lib64 |
|
212 |
* Tue May 28 2002 - [email protected] |
|
213 |
- Update to 1.0.18: |
|
214 |
- Add Pyhton bindings (libxslt-python). |
|
215 |
- Bug fixes. |
|
216 |
- New man page for libexslt. |
|
217 |
* Tue Apr 30 2002 - [email protected] |
|
218 |
- Update to version 1.0.17; NEWS from http://xmlsoft.org/XSLT/ : |
|
219 |
o EXSLT date improvement and regression tests. |
|
220 |
o Attempt to fix a bug in xsltProcessUserParamInternal. |
|
221 |
* Fri Apr 19 2002 - [email protected] |
|
222 |
- Update to version 1.0.16; NEWS from http://xmlsoft.org/XSLT/ : |
|
223 |
o Bug fixes: strip-space, URL in HTML output, error when xsltproc |
|
224 |
can't save. |
|
225 |
o Improve Python bindings. |
|
226 |
* Tue Apr 09 2002 - [email protected] |
|
227 |
- Update to version 1.0.15; NEWS since 1.0.9 from http://xmlsoft.org/XSLT/ : |
|
228 |
* Change of Licence to the MIT Licence. |
|
229 |
* Bugfixes: XPath, python Makefile, recursive attribute sets, |
|
230 |
@foo[..] templates. |
|
231 |
* Fix a bug raised when using doctypes with HTML output. |
|
232 |
* More EXSLT functions. |
|
233 |
* Provide fixes and regression tests for exslt date functions. |
|
234 |
* Nasty bug fix related to exslt:node-set. |
|
235 |
* Fix bug "namespace node have no parents". |
|
236 |
* Obsoleted libxsltbreakpoint now deprecated and frozen to 1.0.8 API |
|
237 |
* xsltproc return codes are now significant, update documentation. |
|
238 |
* Debug of memory alocation with valgind. |
|
239 |
* Patch to allow as much as 40 steps in patterns. |
|
240 |
* Enhancements to interface with xsltdebugger. |
|
241 |
* Added a stringparam option to avoid escaping hell at the shell level. |
|
242 |
* serious profiling leading to significant improvement for DocBook |
|
243 |
processing. |
|
244 |
* Improvement in the XPath engine (libxml2-2.4.18). |
|
245 |
* Add Python bindings. |
|
246 |
* Documentation changes and updates. |
|
247 |
* Wed Feb 20 2002 - [email protected] |
|
248 |
- fix prefix tag to build shared libs |
|
249 |
* Wed Feb 13 2002 - [email protected] |
|
250 |
- fix build for s390x |
|
251 |
* Tue Dec 11 2001 - [email protected] |
|
252 |
- use less intrusive hack for libtool: export LIBRARY_PATH |
|
253 |
* Thu Nov 29 2001 - [email protected] |
|
254 |
- install without buildroot first to work around libtool |
|
255 |
not being able to cope with dependant libraries and buildroot |
|
256 |
* Tue Nov 27 2001 - [email protected] |
|
257 |
- Update to version 1.0.8; NEWS from http://xmlsoft.org/XSLT/ : |
|
258 |
- Previous header patch is superfluous. |
|
259 |
- Bug fixes. |
|
260 |
* Tue Nov 20 2001 - [email protected] |
|
261 |
- Add missing define; cf. |
|
262 |
http://mail.gnome.org/archives/xslt/2001-November/msg00052.html . |
|
263 |
- NEWS for 1.0.7 entries from http://xmlsoft.org/XSLT/ (not |
|
264 |
mentioned earlier): |
|
265 |
- Fix handling of indent="no" on HTML output. |
|
266 |
* Sat Nov 10 2001 - [email protected] |
|
267 |
- Update to version 1.0.7 |
|
268 |
- add fixes for automake 1.5 |
|
269 |
* Sat Nov 03 2001 - [email protected] |
|
270 |
- fix for automake 1.5 |
|
271 |
* Wed Oct 31 2001 - [email protected] |
|
272 |
- Update to version 1.0.6; NEWS from http://xmlsoft.org/XSLT/ : |
|
273 |
- Bug fixes on number formatting and date/time functions. |
|
274 |
- Fix DOCTYPE generation rules for HTML output. |
|
275 |
* Thu Oct 11 2001 - [email protected] |
|
276 |
- Update to version 1.0.5; NEWS from http://xmlsoft.org/XSLT/ : |
|
277 |
- Portability fixes. |
|
278 |
- Fix a dozen bugs on XSLT and EXSLT. |
|
279 |
- Add support for Saxon's evaluate and expressions extensions. |
|
280 |
- Better handling of XPath evaluation errors. |
|
281 |
* Mon Oct 01 2001 - [email protected] |
|
282 |
- Update to version 1.0.4; NEWS from http://xmlsoft.org/XSLT/ : |
|
283 |
- Documentation updates. |
|
284 |
- Bug fixes (DocBook FO generation should be fixed) and portability |
|
285 |
improvements. |
|
286 |
- Improve existing EXSLT support and add String, Time and Date core |
|
287 |
functions support. |
|
288 |
* Fri Aug 24 2001 - [email protected] |
|
289 |
- Update to version 1.0.3; from the announcement (cf. libxml2): |
|
290 |
- Implement XML Catalog Specification from August 6: |
|
291 |
http://www.oasis-open.org/committees/entity/spec-2001-08-06.html |
|
292 |
http://xmlsoft.org/catalog.html |
|
293 |
- New NaN and Infinity code. |
|
294 |
- A number of small bugfixes. |
|
295 |
* Fri Aug 17 2001 - [email protected] |
|
296 |
- Update to version 1.0.2. |
|
297 |
- Call 'libtoolize' and friends. |
|
298 |
* Wed Jul 11 2001 - [email protected] |
|
299 |
- New package: version 1.0.0. |