From e0f3ae86fbe65534253b7cdf34c0f3c2fc39fa6b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:14:34 +0100 Subject: [PATCH] rebuilt with debug package; removed python binding [release 1.1.34-2mamba;Sat Nov 28 2020] --- libxslt.spec | 47 +++++++++++++++++++++++++++++++---------------- 1 file changed, 31 insertions(+), 16 deletions(-) diff --git a/libxslt.spec b/libxslt.spec index 6754a07..da3223f 100644 --- a/libxslt.spec +++ b/libxslt.spec @@ -3,7 +3,7 @@ Name: libxslt Version: 1.1.34 -Release: 1mamba +Release: 2mamba Summary: Library providing the Gnome XSLT engine Group: System/Libraries Vendor: openmamba @@ -18,7 +18,6 @@ BuildRequires: glibc-devel BuildRequires: libgcrypt-devel BuildRequires: libgpg-error-devel BuildRequires: liblzma-devel -BuildRequires: libpython-devel BuildRequires: libxml2-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END @@ -32,39 +31,49 @@ The xsltproc command is a command line interface to the XSLT engine. 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. -This package contains static libraries and header files need 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 +#% 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 %build -%configure +%configure \ + --without-python -%make \ - pythondir=%{python_sitearch} +%make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeoldinstall \ - pythondir=%{buildroot}%{python_sitearch} +%makeoldinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -74,9 +83,12 @@ This package contains the bindings to use the librarywith Python programs. %files %defattr(-,root,root) -%{_bindir}/xsltproc %{_libdir}/libexslt.so.* %{_libdir}/libxslt.so.* + +%files tools +%defattr(-,root,root) +%{_bindir}/xsltproc %{_mandir}/man1/xsltproc.* %files devel @@ -96,13 +108,16 @@ This package contains the bindings to use the librarywith Python programs. %{_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}/* +#%files -n python-xslt +#%defattr(-,root,root) +#%dir %{_datadir}/doc/libxslt-python-%{version} +#%{_datadir}/doc/libxslt-python-%{version}/* +#%{python_sitearch}/* %changelog +* 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