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