|
@@ -1,15 +1,16 @@
|
|
Summary: Library providing XML and HTML support
|
|
Summary: Library providing XML and HTML support
|
|
Summary(ja): XML や HTML サポートを提供するライブラリ
|
|
Summary(ja): XML や HTML サポートを提供するライブラリ
|
|
Name: libxml2
|
|
Name: libxml2
|
|
-Version: 2.9.14
|
|
|
|
-Release: 2%{_dist_release}
|
|
|
|
|
|
+Version: 2.10.3
|
|
|
|
+Release: 1%{_dist_release}
|
|
Group: system
|
|
Group: system
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
|
|
|
|
License: MIT
|
|
License: MIT
|
|
URL: https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home
|
|
URL: https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home
|
|
-Source: https://gitlab.gnome.org/GNOME/%{name}/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
|
|
|
|
|
|
+%define shortver %(echo %{version} | cut -d. -f1-2)
|
|
|
|
+Source: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
Patch0: libxml2-multilib.patch
|
|
Patch0: libxml2-multilib.patch
|
|
# Patch from openSUSE.
|
|
# Patch from openSUSE.
|
|
@@ -205,7 +206,7 @@ DTDであってもパースと確認が出来ます。
|
|
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
-%setup -q -n %{name}-v%{version}
|
|
|
|
|
|
+%setup -q
|
|
|
|
|
|
%patch0 -p1
|
|
%patch0 -p1
|
|
%patch1 -p1
|
|
%patch1 -p1
|
|
@@ -218,9 +219,21 @@ autoreconf -ivf
|
|
mkdir py2 py3
|
|
mkdir py2 py3
|
|
%global _configure ../configure
|
|
%global _configure ../configure
|
|
%global _configure_disable_silent_rules 1
|
|
%global _configure_disable_silent_rules 1
|
|
-( cd py2 && %configure --cache-file=../config.cache --with-python=%{__python2} )
|
|
|
|
-
|
|
|
|
-( cd py3 && %configure --cache-file=../config.cache --with-python=%{__python3} )
|
|
|
|
|
|
+(export PYTHON=%{__python2} && cd py2 && %configure \
|
|
|
|
+ --enable-static \
|
|
|
|
+ --with-legacy \
|
|
|
|
+ --with-ftp \
|
|
|
|
+ --with-xptr-locs \
|
|
|
|
+ --with-python=%{__python2} \
|
|
|
|
+)
|
|
|
|
+
|
|
|
|
+(export PYTHON=%{__python3} && cd py3 && %configure \
|
|
|
|
+ --enable-static \
|
|
|
|
+ --with-legacy \
|
|
|
|
+ --with-ftp \
|
|
|
|
+ --with-xptr-locs \
|
|
|
|
+ --with-python=%{__python3} \
|
|
|
|
+)
|
|
|
|
|
|
make %{?_smp_mflags} -C py2
|
|
make %{?_smp_mflags} -C py2
|
|
make %{?_smp_mflags} -C py3
|
|
make %{?_smp_mflags} -C py3
|
|
@@ -252,24 +265,22 @@ chmod -x doc/*.py
|
|
%files
|
|
%files
|
|
%defattr(-, root, root)
|
|
%defattr(-, root, root)
|
|
%license Copyright
|
|
%license Copyright
|
|
-%doc AUTHORS NEWS README TODO
|
|
|
|
|
|
+%doc NEWS README.md TODO
|
|
%{_bindir}/xmlcatalog
|
|
%{_bindir}/xmlcatalog
|
|
%{_bindir}/xmllint
|
|
%{_bindir}/xmllint
|
|
%{_libdir}/lib*.so.*
|
|
%{_libdir}/lib*.so.*
|
|
%{_mandir}/man1/xmllint.1*
|
|
%{_mandir}/man1/xmllint.1*
|
|
%{_mandir}/man1/xmlcatalog.1*
|
|
%{_mandir}/man1/xmlcatalog.1*
|
|
-%{_mandir}/man3/libxml.3*
|
|
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%defattr(-, root, root)
|
|
-%doc doc/*.html doc/html doc/*.gif doc/*.png
|
|
|
|
|
|
+%doc doc/*.html
|
|
%doc doc/tutorial doc/libxml2-api.xml.gz
|
|
%doc doc/tutorial doc/libxml2-api.xml.gz
|
|
%{_bindir}/xml2-config
|
|
%{_bindir}/xml2-config
|
|
%{_datadir}/aclocal/libxml.m4
|
|
%{_datadir}/aclocal/libxml.m4
|
|
%{_includedir}/*
|
|
%{_includedir}/*
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/lib*.a
|
|
%{_libdir}/lib*.a
|
|
-%{_libdir}/*.sh
|
|
|
|
%{_libdir}/cmake/libxml2/libxml2-config.cmake
|
|
%{_libdir}/cmake/libxml2/libxml2-config.cmake
|
|
%{_libdir}/pkgconfig/libxml-2.0.pc
|
|
%{_libdir}/pkgconfig/libxml-2.0.pc
|
|
%{_mandir}/man1/xml2-config.1*
|
|
%{_mandir}/man1/xml2-config.1*
|
|
@@ -282,23 +293,21 @@ chmod -x doc/*.py
|
|
%files python
|
|
%files python
|
|
%defattr(-, root, root)
|
|
%defattr(-, root, root)
|
|
%license Copyright
|
|
%license Copyright
|
|
-%doc AUTHORS NEWS README
|
|
|
|
|
|
+%doc NEWS README.md
|
|
%doc python/TODO
|
|
%doc python/TODO
|
|
-%doc python/libxml2class.txt
|
|
|
|
-%doc python/tests/*.py
|
|
|
|
%doc doc/*.py
|
|
%doc doc/*.py
|
|
-%doc doc/python.html
|
|
|
|
%{python2_sitearch}/*
|
|
%{python2_sitearch}/*
|
|
|
|
+%ifarch x86_64
|
|
|
|
+%{python2_sitelib}/*
|
|
|
|
+%endif
|
|
|
|
|
|
%files -n python3-%{name}
|
|
%files -n python3-%{name}
|
|
%defattr(-, root, root)
|
|
%defattr(-, root, root)
|
|
%license Copyright
|
|
%license Copyright
|
|
-%doc AUTHORS NEWS README
|
|
|
|
|
|
+%doc NEWS README.md
|
|
%doc python/TODO
|
|
%doc python/TODO
|
|
-%doc python/libxml2class.txt
|
|
|
|
-%doc python/tests/*.py
|
|
|
|
%doc doc/*.py
|
|
%doc doc/*.py
|
|
-%doc doc/python.html
|
|
|
|
|
|
+%{python3_sitelib}/*
|
|
%{python3_sitearch}/*
|
|
%{python3_sitearch}/*
|
|
|
|
|
|
%if %{build_compat32}
|
|
%if %{build_compat32}
|
|
@@ -310,11 +319,13 @@ chmod -x doc/*.py
|
|
%defattr(-, root, root)
|
|
%defattr(-, root, root)
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/lib*.a
|
|
%{_libdir}/lib*.a
|
|
-%{_libdir}/*.sh
|
|
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Nov 29 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.10.3-1
|
|
|
|
+- updated to 2.10.3.
|
|
|
|
+
|
|
* Fri Oct 28 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.9.14-2
|
|
* Fri Oct 28 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.9.14-2
|
|
- rebuilt with python3-3.11.
|
|
- rebuilt with python3-3.11.
|
|
|
|
|