%define majver %(echo %version | cut -d. -f 1-2) %define libname libxslt Name: libxslt Version: 1.1.34 Release: 3mamba Summary: Library providing the Gnome XSLT engine Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.xmlsoft.org/XSLT/ Source: ftp://xmlsoft.org/libxslt/libxslt-%{version}.tar.gz Patch0: libxslt-1.1.34-man-pages-stylesheet-fix.patch License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcrypt-devel BuildRequires: libgpg-error-devel BuildRequires: liblzma-devel BuildRequires: libxml2-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END %description This C library allows to transform XML files into other XML files (or HTML, text, ...) using the standard XSLT stylesheet transformation mechanism. The xsltproc command is a command line interface to the XSLT engine. %package devel Group: Development/Libraries Summary: Devel files for XSLT Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release} %description devel This C library allows to transform XML files into other XML files (or HTML, text, ...) using the standard XSLT stylesheet transformation mechanism. The xsltproc command is a command line interface to the XSLT engine. People can either embed the library in their application or use xsltproc the command line processing tool. This package contains static libraries and header files needed for development. %package tools Group: Development/Tools Summary: Tools for XSLT Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description tools This C library allows to transform XML files into other XML files (or HTML, text, ...) using the standard XSLT stylesheet transformation mechanism. The xsltproc command is a command line interface to the XSLT engine. This package contains tools provided by libxslt. %package -n python-xslt Group: Development/Libraries/Python Summary: Python bindings for XSLT library Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} #% py_requires %description -n python-xslt This C library allows to transform XML files into other XML files (or HTML, text, ...) using the standard XSLT stylesheet transformation mechanism. This package contains the bindings to use the librarywith Python programs. %debug_package %prep %setup -q %patch0 -p1 %build %configure \ --without-python %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeoldinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libexslt.so.* %{_libdir}/libxslt.so.* %files tools %defattr(-,root,root) %{_bindir}/xsltproc %{_mandir}/man1/xsltproc.* %files devel %defattr(-,root,root) %{_bindir}/xslt-config %dir %{_includedir}/libxslt %{_includedir}/libxslt/*.h %dir %{_includedir}/libexslt %{_includedir}/libexslt/*.h %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/xsltConf.sh %{_libdir}/pkgconfig/* %{_datadir}/aclocal/* %dir %{_datadir}/doc/libxslt-%{version} %{_datadir}/doc/libxslt-%{version}/html/* %{_mandir}/man3/* #%files -n python-xslt #%defattr(-,root,root) #%dir %{_datadir}/doc/libxslt-python-%{version} #%{_datadir}/doc/libxslt-python-%{version}/* #%{python_sitearch}/* %changelog * Sat May 15 2021 Silvan Calarco 1.1.34-3mamba - patched to fix man page stylesheet * Sat Nov 28 2020 Silvan Calarco 1.1.34-2mamba - rebuilt with debug package; removed python binding * Mon Nov 25 2019 Automatic Build System 1.1.34-1mamba - automatic version update by autodist * Wed Jan 09 2019 Automatic Build System 1.1.33-1mamba - automatic version update by autodist * Wed Nov 22 2017 Automatic Build System 1.1.32-1mamba - automatic update by autodist * Mon Oct 23 2017 Silvan Calarco 1.1.31-1mamba - update to 1.1.31 * Sun Sep 10 2017 Automatic Build System 1.1.30-1mamba - automatic version update by autodist * Fri May 27 2016 Automatic Build System 1.1.29-1mamba - automatic version update by autodist * Sat May 25 2013 Silvan Calarco 1.1.28-2mamba - python 2.7 mass rebuild * Fri Nov 23 2012 Silvan Calarco 1.1.28-1mamba - update to 1.1.28 * Tue Oct 09 2012 Automatic Build System 1.1.27-1mamba - automatic version update by autodist * Tue Jun 29 2010 Automatic Build System 1.1.26-2mamba - automatic rebuild by autodist * Tue Sep 29 2009 Automatic Build System 1.1.26-1mamba - automatic update to 1.1.26 by autodist * Tue Sep 22 2009 Automatic Build System 1.1.25-1mamba - automatic update by autodist * Tue Sep 30 2008 Silvan Calarco 1.1.24-1mamba - update to 1.1.24 * Fri May 09 2008 Silvan Calarco 1.1.22-1mamba - update to 1.1.22 * Thu Jan 04 2007 Davide Madrisan 1.1.17-1qilnx - update to version 1.1.17 by autospec - python-xslt requires python * Mon Oct 03 2005 Massimo Pintore 1.1.15-1qilnx - update to version 1.1.15 by autospec * Fri May 13 2005 Silvan Calarco 1.1.14-1qilnx - update to version 1.1.14 by autospec * Mon Jun 30 2003 Silvan Calarco 1.0.30-1qilnx - first build