diff --git a/libxslt-1.1.35.tar.xz b/libxslt-1.1.35.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..3769ca82fc3c0c09a7f76fa9ebe4fbe6abe3244c Binary files /dev/null and b/libxslt-1.1.35.tar.xz differ diff --git a/libxslt.spec b/libxslt.spec new file mode 100644 index 0000000000000000000000000000000000000000..b3079b421e7e2122db8a54351742b90e5b3820f2 --- /dev/null +++ b/libxslt.spec @@ -0,0 +1,95 @@ +%define anolis_release 1 +Name: libxslt +Summary: Library providing the Gnome XSLT engine +Version: 1.1.35 +Release: %{anolis_release}%{?dist} + +License: MIT +URL: https://gitlab.gnome.org/GNOME/libxslt +Source0: https://download.gnome.org/sources/%{name}/1.1/%{name}-%{version}.tar.xz + +Provides: xsltproc = %{version}-%{release} + +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: make +BuildRequires: gcc +BuildRequires: pkgconfig(libxml-2.0) >= 2.6.27 + + +%description +This C library allows to transform XML files into other XML files +(or HTML, text, ...) using the standard XSLT stylesheet transformation +mechanism. To use it you need to have a version of libxml2 >= 2.6.27 +installed. The xsltproc command is a command line interface to the XSLT engine + +%package devel +Summary: Development libraries and header files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: libgpg-error-devel%{?_isa} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%autosetup -p1 +chmod 644 python/tests/* + +%build +autoreconf -vfi +%configure --disable-static --disable-silent-rules --with-python=no --with-crypto=no +%make_build + +%install +%make_install +find %{buildroot} -name '*.la' -print -delete +# multiarch crazyness on timestamp differences +touch -m --reference=%{buildroot}%{_includedir}/libxslt/xslt.h %{buildroot}%{_bindir}/xslt-config +rm -vrf %{buildroot}%{_docdir} + +%check +%make_build tests + +%ldconfig_scriptlets + +%files +%license Copyright +%doc AUTHORS ChangeLog NEWS README FEATURES +%{_bindir}/xsltproc +%{_libdir}/libxslt.so.* +%{_libdir}/libexslt.so.* +%{_libdir}/libxslt-plugins/ +%{_mandir}/man1/xsltproc.1* + +%files devel +%doc doc/libxslt-api.xml +%doc doc/libxslt-refs.xml +%doc doc/EXSLT/libexslt-api.xml +%doc doc/EXSLT/libexslt-refs.xml +%doc %{_mandir}/man3/libxslt.3* +%doc %{_mandir}/man3/libexslt.3* +%doc doc/*.html doc/html doc/*.gif doc/*.png +%doc doc/images +%doc doc/tutorial +%doc doc/tutorial2 +%doc doc/EXSLT +%{_datadir}/gtk-doc/ +%{_libdir}/cmake/libxslt/ +%{_libdir}/libxslt.so +%{_libdir}/libexslt.so +%{_libdir}/xsltConf.sh +%{_datadir}/aclocal/libxslt.m4 +%{_includedir}/libxslt/ +%{_includedir}/libexslt/ +%{_libdir}/pkgconfig/libxslt.pc +%{_libdir}/pkgconfig/libexslt.pc +%{_bindir}/xslt-config + + +%changelog +* Thu Apr 07 2022 mgb01105731 - 1.1.35-1 +- Init from upstream version 1.1.35 +