|
|
21e894 |
Summary: Library providing the Gnome XSLT engine
|
|
|
21e894 |
Name: libxslt
|
|
|
21e894 |
Version: 1.1.28
|
|
|
66a671 |
Release: 5%{?dist}%{?extra_release}
|
|
|
21e894 |
License: MIT
|
|
|
21e894 |
Group: Development/Libraries
|
|
|
21e894 |
Source: ftp://xmlsoft.org/XSLT/libxslt-%{version}.tar.gz
|
|
|
21e894 |
URL: http://xmlsoft.org/XSLT/
|
|
|
21e894 |
BuildRequires: libxml2-devel >= 2.6.27
|
|
|
21e894 |
BuildRequires: python2-devel
|
|
|
21e894 |
BuildRequires: libxml2-python
|
|
|
21e894 |
BuildRequires: libgcrypt-devel
|
|
|
21e894 |
BuildRequires: automake autoconf
|
|
|
21e894 |
|
|
|
21e894 |
# Fedora specific patches
|
|
|
21e894 |
Patch0: multilib.patch
|
|
|
21e894 |
Patch1: libxslt-1.1.26-utf8-docs.patch
|
|
|
21e894 |
|
|
|
21e894 |
%description
|
|
|
21e894 |
This C library allows to transform XML files into other XML files
|
|
|
21e894 |
(or HTML, text, ...) using the standard XSLT stylesheet transformation
|
|
|
21e894 |
mechanism. To use it you need to have a version of libxml2 >= 2.6.27
|
|
|
21e894 |
installed. The xsltproc command is a command line interface to the XSLT engine
|
|
|
21e894 |
|
|
|
21e894 |
%package devel
|
|
|
21e894 |
Summary: Development files for %{name}
|
|
|
21e894 |
Group: Development/Libraries
|
|
|
21e894 |
Requires: libxslt = %{version}-%{release}
|
|
|
21e894 |
Requires: libgcrypt-devel
|
|
|
21e894 |
|
|
|
21e894 |
|
|
|
21e894 |
%description devel
|
|
|
21e894 |
The %{name}-devel package contains libraries and header files for
|
|
|
21e894 |
developing applications that use %{name}.
|
|
|
21e894 |
|
|
|
21e894 |
%package python
|
|
|
21e894 |
Summary: Python bindings for the libxslt library
|
|
|
21e894 |
Group: Development/Libraries
|
|
|
21e894 |
Requires: libxslt = %{version}-%{release}
|
|
|
21e894 |
Requires: libxml2-python
|
|
|
21e894 |
|
|
|
21e894 |
%description python
|
|
|
21e894 |
The libxslt-python package contains a module that permits applications
|
|
|
21e894 |
written in the Python programming language to use the interface
|
|
|
21e894 |
supplied by the libxslt library to apply XSLT transformations.
|
|
|
21e894 |
|
|
|
21e894 |
This library allows to parse sytlesheets, uses the libxml2-python
|
|
|
21e894 |
to load and save XML and HTML files. Direct access to XPath and
|
|
|
21e894 |
the XSLT transformation context are possible to extend the XSLT language
|
|
|
21e894 |
with XPath functions written in Python.
|
|
|
21e894 |
|
|
|
21e894 |
%prep
|
|
|
21e894 |
%setup -q
|
|
|
21e894 |
%patch0 -p1
|
|
|
21e894 |
%patch1 -p1 -b .utf8
|
|
|
21e894 |
# Now fix up the timestamps of patched docs files
|
|
|
21e894 |
# ChangeLog needs to be retouched before gzip as well
|
|
|
21e894 |
# since timestamp affects output
|
|
|
21e894 |
touch -r ChangeLog.utf8 ChangeLog
|
|
|
21e894 |
gzip -9 ChangeLog
|
|
|
21e894 |
touch -r ChangeLog.utf8 ChangeLog.gz
|
|
|
21e894 |
touch -r NEWS.utf8 NEWS
|
|
|
21e894 |
|
|
|
21e894 |
chmod 644 python/tests/*
|
|
|
21e894 |
|
|
|
21e894 |
%build
|
|
|
21e894 |
%configure --disable-static
|
|
|
21e894 |
make %{?_smp_mflags}
|
|
|
21e894 |
|
|
|
21e894 |
%install
|
|
|
21e894 |
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
21e894 |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
21e894 |
|
|
|
21e894 |
# multiarch crazyness on timestamp differences
|
|
|
21e894 |
touch -m --reference=$RPM_BUILD_ROOT/%{_includedir}/libxslt/xslt.h $RPM_BUILD_ROOT/%{_bindir}/xslt-config
|
|
|
21e894 |
|
|
|
21e894 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
|
|
|
21e894 |
|
|
|
21e894 |
%check
|
|
|
21e894 |
make tests
|
|
|
21e894 |
|
|
|
21e894 |
%post -p /sbin/ldconfig
|
|
|
21e894 |
|
|
|
21e894 |
%postun -p /sbin/ldconfig
|
|
|
21e894 |
|
|
|
21e894 |
%files
|
|
|
21e894 |
%defattr(-, root, root,-)
|
|
|
21e894 |
%doc AUTHORS ChangeLog.gz NEWS README Copyright FEATURES
|
|
|
21e894 |
%doc %{_mandir}/man1/xsltproc.1*
|
|
|
21e894 |
%{_libdir}/lib*.so.*
|
|
|
21e894 |
%{_libdir}/libxslt-plugins
|
|
|
21e894 |
%{_bindir}/xsltproc
|
|
|
21e894 |
|
|
|
21e894 |
%files devel
|
|
|
21e894 |
%defattr(-, root, root,-)
|
|
|
21e894 |
%doc doc/libxslt-api.xml
|
|
|
21e894 |
%doc doc/libxslt-refs.xml
|
|
|
21e894 |
%doc doc/EXSLT/libexslt-api.xml
|
|
|
21e894 |
%doc doc/EXSLT/libexslt-refs.xml
|
|
|
21e894 |
%doc %{_mandir}/man3/libxslt.3*
|
|
|
21e894 |
%doc %{_mandir}/man3/libexslt.3*
|
|
|
21e894 |
%doc doc/*.html doc/html doc/*.gif doc/*.png
|
|
|
21e894 |
%doc doc/images
|
|
|
21e894 |
%doc doc/tutorial
|
|
|
21e894 |
%doc doc/tutorial2
|
|
|
21e894 |
%doc doc/EXSLT
|
|
|
21e894 |
%{_libdir}/lib*.so
|
|
|
21e894 |
%{_libdir}/*.sh
|
|
|
21e894 |
%{_datadir}/aclocal/libxslt.m4
|
|
|
21e894 |
%{_includedir}/*
|
|
|
21e894 |
%{_bindir}/xslt-config
|
|
|
21e894 |
%{_libdir}/pkgconfig/libxslt.pc
|
|
|
21e894 |
%{_libdir}/pkgconfig/libexslt.pc
|
|
|
21e894 |
|
|
|
21e894 |
%files python
|
|
|
21e894 |
%defattr(-, root, root,-)
|
|
|
21e894 |
%{python_sitearch}/libxslt.py*
|
|
|
21e894 |
%{python_sitearch}/libxsltmod*
|
|
|
21e894 |
%doc python/libxsltclass.txt
|
|
|
21e894 |
%doc python/tests/*.py
|
|
|
21e894 |
%doc python/tests/*.xml
|
|
|
21e894 |
%doc python/tests/*.xsl
|
|
|
21e894 |
|
|
|
21e894 |
%changelog
|
|
|
66a671 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.1.28-5
|
|
|
66a671 |
- Mass rebuild 2014-01-24
|
|
|
66a671 |
|
|
|
66a671 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.1.28-4
|
|
|
66a671 |
- Mass rebuild 2013-12-27
|
|
|
66a671 |
|
|
|
21e894 |
* Fri Jun 21 2013 Matthias Clasen <mclasen@redhat.com> - 1.1.28-3
|
|
|
21e894 |
- Don't ship api docs twice (they were included in both
|
|
|
21e894 |
the main and the devel package, by accident (need to save
|
|
|
21e894 |
space on the f19 live images)
|
|
|
21e894 |
|
|
|
21e894 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.28-2
|
|
|
21e894 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
21e894 |
|
|
|
21e894 |
* Wed Nov 21 2012 Daniel Veillard <veillard@redhat.com> - 1.1.28-1
|
|
|
21e894 |
- upstream release of libxslt-1.1.28
|
|
|
21e894 |
- a few bug fixes and cleanups
|
|
|
21e894 |
|
|
|
21e894 |
* Tue Oct 9 2012 Daniel Veillard <veillard@redhat.com> - 1.1.27-2
|
|
|
21e894 |
- fix a regression in default namespace handling
|
|
|
21e894 |
|
|
|
21e894 |
* Wed Sep 12 2012 Daniel Veillard <veillard@redhat.com> - 1.1.27-1
|
|
|
21e894 |
- upstream release of libxslt-1.1.27
|
|
|
21e894 |
- a lot of bug fixes and improvements
|
|
|
21e894 |
|
|
|
21e894 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.26-10
|
|
|
21e894 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
21e894 |
|
|
|
21e894 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.26-9
|
|
|
21e894 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
21e894 |
|
|
|
21e894 |
* Sun Mar 20 2011 Michel Salim <salimma@fedoraproject.org> - 1.1.26-8
|
|
|
21e894 |
- ChangeLog: fix character encoding
|
|
|
21e894 |
- Restore timestamps for patched documentation files
|
|
|
21e894 |
|
|
|
21e894 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.26-7
|
|
|
21e894 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
21e894 |
|
|
|
21e894 |
* Fri Dec 17 2010 Dan HorĂ¡k <dan[at]danny.cz> - 1.1.26-6
|
|
|
21e894 |
- libexslt needs libgcrypt-devel via its pkgconfig file
|
|
|
21e894 |
|
|
|
21e894 |
* Mon Oct 25 2010 Parag Nemade <paragn AT fedoraproject.org> - 1.1.26-5
|
|
|
21e894 |
- Patch from Paul Howarth for converting files to utf8 (#226088)
|
|
|
21e894 |
|
|
|
21e894 |
* Tue Oct 05 2010 Parag Nemade <paragn AT fedoraproject.org> - 1.1.26-4
|
|
|
21e894 |
- Merge-review cleanup (#226088)
|
|
|
21e894 |
|
|
|
21e894 |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.1.26-3
|
|
|
21e894 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
21e894 |
|
|
|
21e894 |
* Mon May 24 2010 Tom "spot" Callaway <tcallawa@redhat.com> 1.1.26-2
|
|
|
21e894 |
- disable static libs
|
|
|
21e894 |
|
|
|
21e894 |
* Thu Sep 24 2009 Daniel Veillard <veillard@redhat.com> 1.1.26-1
|
|
|
21e894 |
- couple of bug fixes
|
|
|
21e894 |
- export a symbol needed by lxml
|
|
|
21e894 |
|
|
|
21e894 |
* Mon Sep 21 2009 Daniel Veillard <veillard@redhat.com> 1.1.25-2
|
|
|
21e894 |
- fix a locking bug in 1.1.25
|
|
|
21e894 |
|
|
|
21e894 |
* Thu Sep 17 2009 Daniel Veillard <veillard@redhat.com> 1.1.25-1
|
|
|
21e894 |
- release of 1.1.25
|
|
|
21e894 |
- Add API versioning for libxslt shared library
|
|
|
21e894 |
- xsl:sort lang support using the locale
|
|
|
21e894 |
- many bug fixes
|
|
|
21e894 |
|
|
|
21e894 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.24-5
|
|
|
21e894 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
21e894 |
|
|
|
21e894 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.24-4
|
|
|
21e894 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
21e894 |
|
|
|
21e894 |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.1.24-3
|
|
|
21e894 |
- Rebuild for Python 2.6
|
|
|
21e894 |
|
|
|
21e894 |
* Wed Oct 8 2008 Daniel Veillard <veillard@redhat.com> 1.1.24-2.fc10
|
|
|
21e894 |
- CVE-2008-2935 fix
|
|
|
21e894 |
|
|
|
21e894 |
* Tue May 13 2008 Daniel Veillard <veillard@redhat.com> 1.1.24-1.fc10
|
|
|
21e894 |
- release of 1.1.24
|
|
|
21e894 |
- fixes a few bugs including the key initialization problem
|
|
|
21e894 |
- tentative fix for multiarch devel problems
|
|
|
21e894 |
|
|
|
21e894 |
* Mon Apr 28 2008 Daniel Veillard <veillard@redhat.com> 1.1.23-3.fc10
|
|
|
21e894 |
- and the previous patch was incomplte breaking the python bindings
|
|
|
21e894 |
see 444317 and 444455
|
|
|
21e894 |
|
|
|
21e894 |
* Tue Apr 22 2008 Daniel Veillard <veillard@redhat.com> 1.1.23-2.fc10
|
|
|
21e894 |
- revert a key initialization patch from 1.1.23 which seems broken
|
|
|
21e894 |
see rhbz#442097
|
|
|
21e894 |
|
|
|
21e894 |
* Tue Apr 8 2008 Daniel Veillard <veillard@redhat.com> 1.1.23-1.fc9
|
|
|
21e894 |
- upstream release 1.1.23
|
|
|
21e894 |
- bugfixes
|
|
|
21e894 |
|
|
|
21e894 |
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.22-2
|
|
|
21e894 |
- Autorebuild for GCC 4.3
|
|
|
21e894 |
|
|
|
21e894 |
* Thu Aug 23 2007 Daniel Veillard <veillard@redhat.com> 1.1.22-1
|
|
|
21e894 |
- upstream release 1.1.22 see http://xmlsoft.org/XSLT/news.html
|
|
|
21e894 |
|
|
|
21e894 |
* Tue Jun 12 2007 Daniel Veillard <veillard@redhat.com> 1.1.21-1
|
|
|
21e894 |
- upstream release 1.1.21 see http://xmlsoft.org/XSLT/news.html
|
|
|
21e894 |
|
|
|
21e894 |
* Thu Feb 15 2007 Adam Jackson <ajax@redhat.com>
|
|
|
21e894 |
- Add dist tag to Release to fix 6->7 upgrades.
|
|
|
21e894 |
|
|
|
21e894 |
* Wed Jan 17 2007 Daniel Veillard <veillard@redhat.com>
|
|
|
21e894 |
- upstream release 1.1.20 see http://xmlsoft.org/XSLT/news.html
|
|
|
21e894 |
|
|
|
21e894 |
* Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 1.1.19-2
|
|
|
21e894 |
- rebuild against python 2.5
|
|
|
21e894 |
|
|
|
21e894 |
* Wed Nov 29 2006 Daniel Veillard <veillard@redhat.com>
|
|
|
21e894 |
- upstream release 1.1.19 see http://xmlsoft.org/XSLT/news.html
|
|
|
21e894 |
|
|
|
21e894 |
* Thu Oct 26 2006 Daniel Veillard <veillard@redhat.com>
|
|
|
21e894 |
- upstream release 1.1.18 see http://xmlsoft.org/XSLT/news.html
|
|
|
21e894 |
|
|
|
21e894 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.1.17-1.1
|
|
|
21e894 |
- rebuild
|
|
|
21e894 |
|
|
|
21e894 |
* Tue Jun 6 2006 Daniel Veillard <veillard@redhat.com>
|
|
|
21e894 |
- upstream release 1.1.17 see http://xmlsoft.org/XSLT/news.html
|