VMware-Photon-OS/SPECS/libxml2/libxml2.spec

183 lines
6.5 KiB
Plaintext

Summary: Libxml2
Name: libxml2
Version: 2.13.0
Release: 2%{?dist}
License: MIT
URL: http://xmlsoft.org
Group: System Environment/General Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source0: https://download.gnome.org/sources/libxml2/2.12/%{name}-%{version}.tar.xz
%define sha512 %{name}=54f817e5a73180746cb9e8e2c8749d0430c1f541252c36918345194c7b46cdb88f373bd14a49a2a31918b0a8eefbb9835dd6d9cb93bca4b0f6701a554bae202b
Patch0: 0001-io-Fix-return-value-of-xmlFileRead.patch
#Note: If you are fixing a CVE here, please check for the same under libxml2 component of gettext
BuildRequires: python3-devel
BuildRequires: python3-xml
BuildRequires: zlib-devel
BuildRequires: pkg-config
BuildRequires: readline-devel
BuildRequires: ncurses-devel
Requires: readline
Requires: ncurses-libs
Requires: zlib
Provides: pkgconfig(libxml-2.0)
%description
The libxml2 package contains libraries and utilities used for parsing XML files.
%package -n python3-libxml2
Summary: Python 3 bindings for libxml2.
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: python3
%description -n python3-libxml2
Python3 libxml2.
%package devel
Summary: Libraries and header files for libxml
Requires: %{name} = %{version}-%{release}
%description devel
Static libraries and header files for the support library for libxml
%prep
%autosetup -p1
%build
%configure \
--disable-static \
--with-history \
--with-python=%{python3}
%make_build
%install
%make_install %{?_smp_mflags}
find %{buildroot} -name '*.la' -delete
%if 0%{?with_check}
%check
make %{?_smp_mflags} check
%endif
%ldconfig_scriptlets
%clean
rm -rf %{buildroot}/*
%files
%defattr(-,root,root)
%{_libdir}/%{name}.so.*
%{_bindir}/*
%files -n python3-libxml2
%defattr(-,root,root)
%{python3_sitelib}/*
%files devel
%defattr(-,root,root)
%{_libdir}/%{name}.so
%{_includedir}/*
%{_libdir}/pkgconfig/libxml-2.0.pc
%{_libdir}/cmake/libxml2/libxml2-config.cmake
%{_docdir}/*
%{_datadir}/gtk-doc/*
%{_mandir}/man1/*
%{_datadir}/aclocal/*
%changelog
* Tue Jul 09 2024 Shreenidhi Shedi <shreenidhi.shedi@broadcom.com> 2.13.0-2
- Fix xmlFileRead return value
* Tue Jun 11 2024 Ashwin Dayanand Kamat <ashwin.kamat@broadcom.com> 2.13.0-1
- Update to v2.13.0
* Wed Mar 27 2024 Ashwin Dayanand Kamat <ashwin.kamat@broadcom.com> 2.12.6-1
- Update to v2.12.6
* Mon Feb 19 2024 Ashwin Dayanand Kamat <ashwin.kamat@broadcom.com> 2.12.5-1
- Update to v2.12.5
* Fri Jun 09 2023 Nitesh Kumar <kunitesh@vmware.com> 2.10.4-2
- Bump version as a part of ncurses upgrade to v6.4
* Wed Apr 19 2023 Ashwin Dayanand Kamat <kashwindayan@vmware.com> 2.10.4-1
- Update to v2.10.4
* Fri Apr 14 2023 Shreenidhi Shedi <sshedi@vmware.com> 2.9.14-6
- Bump version as a part of zlib upgrade
* Thu Dec 22 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.9.14-5
- Bump version as a part of readline upgrade
* Tue Dec 06 2022 Prashant S Chauhan <psinghchauha@vmware.com> 2.9.14-4
- Update release to compile with python 3.11
* Thu Oct 06 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.9.14-3
- Fix .so packaging
* Mon Jul 18 2022 Ashwin Dayanand Kamat <kashwindayan@vmware.com> 2.9.14-2
- Bump version as a part of python3-lxml upgrade
* Mon May 23 2022 Nitesh Kumar <kunitesh@vmware.com> 2.9.14-1
- Version Upgrade to 2.9.14 to fix CVE-2022-29824
* Fri Oct 29 2021 Nitesh Kumar <kunitesh@vmware.com> 2.9.12-1
- Version Upgrade to 2.9.12 also optmizing the packages.
* Tue Dec 15 2020 Shreenidhi Shedi <sshedi@vmware.com> 2.9.10-6
- Fix build with new rpm
* Sat Nov 07 2020 Prashant S Chauhan <psinghchauha@vmware.com> 2.9.10-5
- Fix CVE-2019-20388(memory leak issue)
* Tue Oct 13 2020 Tapas Kundu <tkundu@vmware.com> 2.9.10-4
- Fix build with python 3.9
* Tue Sep 15 2020 Prashant S Chauhan <psinghchauha@vmware.com> 2.9.10-3
- Fix for CVE-2020-24977(Fix Buffer Overflow vulnerability)
* Sat Jun 20 2020 Tapas Kundu <tkundu@vmware.com> 2.9.10-2
- Mass removal python2
* Fri Jan 31 2020 Shreyas B <shreyasb@vmware.com> 2.9.10-1
- Updgrade to v2.9.10 to address CVE-2019-19956(memory leak issue).
- Fix CVE-2020-7595(end-of-file issue).
* Fri Dec 07 2018 Dweep Advani <dadvani@vmware.com> 2.9.8-2
- Fix CVE-2018-14404 and improve build and install sections
* Tue Sep 11 2018 Keerthana K <keerthanak@vmware.com> 2.9.8-1
- Update to version 2.9.8
* Mon Feb 12 2018 Xiaolin Li <xiaolinl@vmware.com> 2.9.7-1
- Update to version 2.9.7
* Wed Oct 18 2017 Xiaolin Li <xiaolinl@vmware.com> 2.9.6-1
- Update to version 2.9.6
* Mon Oct 2 2017 Anish Swaminathan <anishs@vmware.com> 2.9.4-12
- Remove call to _PyVerify_fd
* Wed Aug 09 2017 Dheeraj Shetty <dheerajs@vmware.com> 2.9.4-11
- Apply patch for CVE-2017-8872
* Mon Aug 07 2017 Danut Moraru <dmoraru@vmware.com> 2.9.4-10
- Change expected parsing error for test for upstream bug 781205 introduced by CVE-2017-9049
* Mon Jul 10 2017 Divya Thaluru <dthaluru@vmware.com> 2.9.4-9
- Apply patch for CVE-2017-9047, CVE-2017-9048, CVE-2017-9049 and CVE-2017-9050
* Thu May 18 2017 Xiaolin Li <xiaolinl@vmware.com> 2.9.4-8
- Move python2 requires to python subpackage.
* Wed Apr 26 2017 Siju Maliakkal <smaliakkal@vmware.com> 2.9.4-7
- Modified python3 version in configure
* Thu Apr 13 2017 Xiaolin Li <xiaolinl@vmware.com> 2.9.4-6
- Added python3-libxml2 package.
* Tue Jan 3 2017 Alexey Makhalov <amakhalov@vmware.com> 2.9.4-5
- Fix for CVE-2016-9318
* Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 2.9.4-4
- Moved man3 to devel subpackage.
* Thu Oct 20 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.9.4-3
- Apply patch for CVE-2016-5131
* Mon Oct 03 2016 Chang Lee <changlee@vmware.com> 2.9.4-2
- Modified check
* Wed Jun 01 2016 Anish Swaminathan <anishs@vmware.com> 2.9.4-1
- Upgrade to 2.9.4
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.9.3-2
- GA - Bump release of all rpms
* Tue Feb 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2.9.3-1
- Upgraded to version 2.9.3
* Thu Jan 28 2016 Xiaolin Li <xiaolinl@vmware.com> 2.9.2-1
- Downgrade to version 2.9.2
- libxml 2.9.3 has been found to have major functional issues.
- Until these are resolved, please roadmap updating to 2.9.2.
* Wed Dec 2 2015 Xiaolin Li <xiaolinl@vmware.com> 2.9.3-1
- Update to version 2.9.3
* Thu Jul 2 2015 Mahmoud Bassiouny <mbassiouny@vmware.com> 2.9.1-3
- Seperate the python module from the main library
* Thu Jun 11 2015 Alexey Makhalov <amakhalov@vmware.com> 2.9.1-2
- Moved 'Provides: pkgconfig(...)' into base package
* Mon Oct 13 2014 Divya Thaluru <dthaluru@vmware.com> 2.9.1-1
- Initial build. First version