Blame SPECS/libxslt.spec

186589
%if 0%{?rhel} > 7
186589
# Disable python2 build by default
186589
%bcond_with python2
186589
%else
186589
%bcond_without python2
186589
%endif
186589
186589
Name:           libxslt
186589
Summary:        Library providing the Gnome XSLT engine
186589
Version:        1.1.32
186589
Release:        3%{?dist}
186589
186589
License:        MIT
186589
URL:            http://xmlsoft.org/XSLT
186589
Source:         ftp://xmlsoft.org/XSLT/%{name}-%{version}.tar.gz
186589
186589
BuildRequires:  autoconf
186589
BuildRequires:  automake
186589
BuildRequires:  libtool
186589
BuildRequires:  make
186589
BuildRequires:  gcc
186589
BuildRequires:  %{_bindir}/libgcrypt-config
186589
BuildRequires:  pkgconfig(libxml-2.0) >= 2.6.27
186589
186589
# Fedora specific patches
186589
Patch0:         multilib.patch
186589
Patch1:         libxslt-1.1.26-utf8-docs.patch
186589
186589
%description
186589
This C library allows to transform XML files into other XML files
186589
(or HTML, text, ...) using the standard XSLT stylesheet transformation
186589
mechanism. To use it you need to have a version of libxml2 >= 2.6.27
186589
installed. The xsltproc command is a command line interface to the XSLT engine
186589
186589
%package devel
186589
Summary:        Development libraries and header files for %{name}
186589
Requires:       %{name}%{?_isa} = %{version}-%{release}
186589
Requires:       libgcrypt-devel%{?_isa}
186589
Requires:       libgpg-error-devel%{?_isa}
186589
186589
%description devel
186589
The %{name}-devel package contains libraries and header files for
186589
developing applications that use %{name}.
186589
186589
%if %{with python2}
186589
%package -n python2-libxslt
186589
Summary:        Python 2 bindings for %{name}
186589
BuildRequires:  python2-devel
186589
BuildRequires:  python2-libxml2
186589
Requires:       %{name}%{?_isa} = %{version}-%{release}
186589
Requires:       python2-libxml2
186589
%{?python_provide:%python_provide python2-libxslt}
186589
# Remove before F30
186589
Provides:       %{name}-python = %{version}-%{release}
186589
Provides:       %{name}-python%{?_isa} = %{version}-%{release}
186589
Obsoletes:      %{name}-python < %{version}-%{release}
186589
186589
%description -n python2-libxslt
186589
The libxslt-python package contains a module that permits applications
186589
written in the Python programming language to use the interface
186589
supplied by the libxslt library to apply XSLT transformations.
186589
186589
This library allows to parse sytlesheets, uses the libxml2-python
186589
to load and save XML and HTML files. Direct access to XPath and
186589
the XSLT transformation context are possible to extend the XSLT language
186589
with XPath functions written in Python.
186589
%endif # with python2
186589
186589
%prep
186589
%autosetup -p1
186589
chmod 644 python/tests/*
186589
186589
%build
186589
autoreconf -vfi
186589
%configure --disable-static --disable-silent-rules
186589
%make_build
186589
186589
%install
186589
%make_install
186589
find %{buildroot} -name '*.la' -print -delete
186589
# multiarch crazyness on timestamp differences
186589
touch -m --reference=%{buildroot}%{_includedir}/libxslt/xslt.h %{buildroot}%{_bindir}/xslt-config
186589
rm -vrf %{buildroot}%{_docdir}
186589
186589
%check
186589
%make_build tests
186589
186589
%ldconfig_scriptlets
186589
186589
%files
186589
%license Copyright
186589
%doc AUTHORS ChangeLog NEWS README FEATURES
186589
%{_bindir}/xsltproc
186589
%{_libdir}/libxslt.so.*
186589
%{_libdir}/libexslt.so.*
186589
%{_libdir}/libxslt-plugins/
186589
%{_mandir}/man1/xsltproc.1*
186589
186589
%files devel
186589
%doc doc/libxslt-api.xml
186589
%doc doc/libxslt-refs.xml
186589
%doc doc/EXSLT/libexslt-api.xml
186589
%doc doc/EXSLT/libexslt-refs.xml
186589
%doc %{_mandir}/man3/libxslt.3*
186589
%doc %{_mandir}/man3/libexslt.3*
186589
%doc doc/*.html doc/html doc/*.gif doc/*.png
186589
%doc doc/images
186589
%doc doc/tutorial
186589
%doc doc/tutorial2
186589
%doc doc/EXSLT
186589
%{_libdir}/libxslt.so
186589
%{_libdir}/libexslt.so
186589
%{_libdir}/xsltConf.sh
186589
%{_datadir}/aclocal/libxslt.m4
186589
%{_includedir}/libxslt/
186589
%{_includedir}/libexslt/
186589
%{_libdir}/pkgconfig/libxslt.pc
186589
%{_libdir}/pkgconfig/libexslt.pc
186589
%{_bindir}/xslt-config
186589
186589
%if %{with python2}
186589
%files -n python2-libxslt
186589
%{python2_sitearch}/libxslt.py*
186589
%{python2_sitearch}/libxsltmod.so
186589
%doc python/libxsltclass.txt
186589
%doc python/tests/*.py
186589
%doc python/tests/*.xml
186589
%doc python/tests/*.xsl
186589
%endif # with python2
186589
186589
%changelog
186589
* Mon Jun 25 2018 Charalampos Stratakis <cstratak@redhat.com> - 1.1.32-3
186589
- Conditionalize the python2 subpackage
186589
186589
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.32-2
186589
- Fix typo in Requires
186589
186589
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.32-1
186589
- Update to 1.1.32
186589
- Cleanup spec
186589
- Re-enable hardened build
186589
186589
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.30-5
186589
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
186589
186589
* Wed Jan 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.30-4
186589
- Switch to %%ldconfig_scriptlets
186589
186589
* Tue Jan 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.1.30-3
186589
- Update Python 2 dependency declarations to new packaging standards
186589
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
186589
186589
* Wed Oct 04 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.30-2
186589
- Fix broken xslt-config binary
186589
186589
* Mon Sep  4 2017 Daniel Veillard <veillard@redhat.com> 1.1.30-1
186589
- Update to 1.1.30
186589
186589
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.1.29-6
186589
- Add Provides for the old name without %%_isa
186589
186589
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.1.29-5
186589
- Python 2 binary package renamed to python2-libxslt
186589
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
186589
186589
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.29-4
186589
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
186589
186589
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.29-3
186589
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
186589
186589
* Mon Jun 26 2017 Petr Pisar <ppisar@redhat.com> - 1.1.29-2
186589
- Rebuild against glibc without xlocale.h (bug #1464640)
186589
186589
* Wed Mar 08 2017 Petr Å abata <contyk@redhat.com> - 1.1.29-1
186589
- 1.1.29 bump
186589
186589
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.28-14
186589
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
186589
186589
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.28-13
186589
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
186589
186589
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.28-12
186589
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
186589
186589
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.28-11
186589
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
186589
186589
* Fri Mar  6 2015 Daniel Veillard <veillard@redhat.com> 1.1.28-10
186589
- desactivate the hardened build as it seems buggy #1199522
186589
186589
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.1.28-9
186589
- Rebuilt for Fedora 23 Change
186589
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
186589
186589
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.28-8
186589
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
186589
186589
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.28-7
186589
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
186589
186589
* Thu Apr 24 2014 Tomas Mraz <tmraz@redhat.com> - 1.1.28-6
186589
- Rebuild for new libgcrypt
186589
186589
* Tue Aug  6 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.1.28-5
186589
- Fix build with unversioned %%{_docdir_fmt}, ship Python examples only once.
186589
186589
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.28-4
186589
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
186589
186589
* Fri Jun 21 2013 Matthias Clasen <mclasen@redhat.com> - 1.1.28-3
186589
- Don't ship api docs twice (they were included in both
186589
  the main and the devel package, by accident (need to save
186589
  space on the f19 live images)
186589
186589
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.28-2
186589
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
186589
186589
* Wed Nov 21 2012 Daniel Veillard <veillard@redhat.com> - 1.1.28-1
186589
- upstream release of libxslt-1.1.28
186589
- a few bug fixes and cleanups
186589
186589
* Tue Oct  9 2012 Daniel Veillard <veillard@redhat.com> - 1.1.27-2
186589
- fix a regression in default namespace handling
186589
186589
* Wed Sep 12 2012 Daniel Veillard <veillard@redhat.com> - 1.1.27-1
186589
- upstream release of libxslt-1.1.27
186589
- a lot of bug fixes and improvements
186589
186589
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.26-10
186589
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
186589
186589
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.26-9
186589
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
186589
186589
* Sun Mar 20 2011 Michel Salim <salimma@fedoraproject.org> - 1.1.26-8
186589
- ChangeLog: fix character encoding
186589
- Restore timestamps for patched documentation files
186589
186589
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.26-7
186589
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
186589
186589
* Fri Dec 17 2010 Dan HorĂ¡k <dan[at]danny.cz> - 1.1.26-6
186589
- libexslt needs libgcrypt-devel via its pkgconfig file
186589
186589
* Mon Oct 25 2010 Parag Nemade <paragn AT fedoraproject.org> - 1.1.26-5
186589
- Patch from Paul Howarth for converting files to utf8 (#226088)
186589
186589
* Tue Oct 05 2010 Parag Nemade <paragn AT fedoraproject.org> - 1.1.26-4
186589
- Merge-review cleanup (#226088)
186589
186589
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.1.26-3
186589
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
186589
186589
* Mon May 24 2010 Tom "spot" Callaway <tcallawa@redhat.com> 1.1.26-2
186589
- disable static libs
186589
186589
* Thu Sep 24 2009 Daniel Veillard <veillard@redhat.com> 1.1.26-1
186589
- couple of bug fixes
186589
- export a symbol needed by lxml
186589
186589
* Mon Sep 21 2009 Daniel Veillard <veillard@redhat.com> 1.1.25-2
186589
- fix a locking bug in 1.1.25
186589
186589
* Thu Sep 17 2009 Daniel Veillard <veillard@redhat.com> 1.1.25-1
186589
- release of 1.1.25
186589
- Add API versioning  for libxslt shared library
186589
- xsl:sort lang support using the locale
186589
- many bug fixes
186589
186589
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.24-5
186589
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
186589
186589
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.24-4
186589
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
186589
186589
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.1.24-3
186589
- Rebuild for Python 2.6
186589
186589
* Wed Oct  8 2008 Daniel Veillard <veillard@redhat.com> 1.1.24-2.fc10
186589
- CVE-2008-2935 fix
186589
186589
* Tue May 13 2008 Daniel Veillard <veillard@redhat.com> 1.1.24-1.fc10
186589
- release of 1.1.24
186589
- fixes a few bugs including the key initialization problem
186589
- tentative fix for multiarch devel problems
186589
186589
* Mon Apr 28 2008 Daniel Veillard <veillard@redhat.com> 1.1.23-3.fc10
186589
- and the previous patch was incomplte breaking the python bindings
186589
  see 444317 and 444455
186589
186589
* Tue Apr 22 2008 Daniel Veillard <veillard@redhat.com> 1.1.23-2.fc10
186589
- revert a key initialization patch from 1.1.23 which seems broken
186589
  see rhbz#442097
186589
186589
* Tue Apr  8 2008 Daniel Veillard <veillard@redhat.com> 1.1.23-1.fc9
186589
- upstream release 1.1.23
186589
- bugfixes
186589
186589
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.22-2
186589
- Autorebuild for GCC 4.3
186589
186589
* Thu Aug 23 2007 Daniel Veillard <veillard@redhat.com> 1.1.22-1
186589
- upstream release 1.1.22 see http://xmlsoft.org/XSLT/news.html
186589
186589
* Tue Jun 12 2007 Daniel Veillard <veillard@redhat.com> 1.1.21-1
186589
- upstream release 1.1.21 see http://xmlsoft.org/XSLT/news.html
186589
186589
* Thu Feb 15 2007 Adam Jackson <ajax@redhat.com>
186589
- Add dist tag to Release to fix 6->7 upgrades.
186589
186589
* Wed Jan 17 2007 Daniel Veillard <veillard@redhat.com>
186589
- upstream release 1.1.20 see http://xmlsoft.org/XSLT/news.html
186589
186589
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 1.1.19-2
186589
- rebuild against python 2.5
186589
186589
* Wed Nov 29 2006 Daniel Veillard <veillard@redhat.com>
186589
- upstream release 1.1.19 see http://xmlsoft.org/XSLT/news.html
186589
186589
* Thu Oct 26 2006 Daniel Veillard <veillard@redhat.com>
186589
- upstream release 1.1.18 see http://xmlsoft.org/XSLT/news.html
186589
186589
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.1.17-1.1
186589
- rebuild
186589
186589
* Tue Jun  6 2006 Daniel Veillard <veillard@redhat.com>
186589
- upstream release 1.1.17 see http://xmlsoft.org/XSLT/news.html