update to 2.9.13 [release 2.9.13-1mamba;Sat Apr 16 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 06:13:32 +01:00
parent b7bd2da51c
commit 8b92e6344a

View File

@ -1,16 +1,14 @@
%define majver %(echo %version | cut -d. -f 1-2)
Name: libxml2
Version: 2.9.12
Version: 2.9.13
Release: 1mamba
Summary: Library providing XML and HTML support
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.xmlsoft.org/
# bugfixes: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
#Source: https://download.gnome.org/sources/libxml2/%{majver}/libxml2-%{version}.tar.bz2
URL: https://gitlab.gnome.org/GNOME/libxml2
Source: https://gitlab.gnome.org/GNOME/libxml2.git/v%{version}/libxml2-%{version}.tar.bz2
Patch0: %{name}-2.7.8-configure_fix_USE_VERSION_SCRIPT.patch
License: MIT
## AUTOBUILDREQ-BEGIN
@ -88,6 +86,8 @@ Requires: gtk-doc
%prep
%setup -q
#%patch0 -p1
./autogen.sh
cp -a python python27
%build
@ -116,8 +116,8 @@ cd ..
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall PYTHON_SITE_PACKAGES=%{python3_sitearch}
install AUTHORS COPYING Copyright NEWS README TODO* \
%{buildroot}%{_datadir}/doc/%{name}-%{version}/
#install AUTHORS COPYING Copyright NEWS README TODO* \
# %{buildroot}%{_datadir}/doc/%{name}-%{version}/
install -d -m 0755 %{buildroot}%{_sysconfdir}/sgml
install -d -m 0755 %{buildroot}%{_sysconfdir}/xml
@ -145,13 +145,12 @@ sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%dir %{_sysconfdir}/sgml
%dir %{_sysconfdir}/xml
%{_libdir}/libxml2.so.*
%doc COPYING Copyright
%files devel
%defattr(-,root,root)
%{_bindir}/xml2-config
%{_datadir}/aclocal/libxml.m4
%dir %{_datadir}/doc/libxml2-%{version}
%{_datadir}/doc/libxml2-%{version}/*
%{_includedir}/*
%{_libdir}/libxml2.la
%{_libdir}/libxml2.so
@ -186,11 +185,16 @@ sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%files apidocs
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/%{name}/
%dir %{_datadir}/doc/libxml2/
%{_datadir}/doc/libxml2/*
%if "%{stage1}" != "1"
%{_datadir}/doc/libxml2-python-%{version}/
%endif
%changelog
* Sat Apr 16 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.13-1mamba
- update to 2.9.13
* Fri May 14 2021 Automatic Build System <autodist@mambasoft.it> 2.9.12-1mamba
- automatic version update by autodist