libgsf/libgsf.spec
Funda Wang c2923393ff fix CVE-2024-36474, CVE-2024-42415
(cherry picked from commit 7487c247978570eb56c30aadbd4ff46ac4f35b8e)
2024-10-09 13:29:08 +08:00

91 lines
2.2 KiB
RPMSpec

Name: libgsf
Version: 1.14.50
Release: 2
Summary: GNOME Structured File library
License: LGPL-2.1-only
URL: https://gitlab.gnome.org/GNOME/libgsf
Source: https://download.gnome.org/sources/%{name}/1.14/%{name}-%{version}.tar.xz
Patch0: backport-CVE-2024-36474-and-CVE-2024-42415.patch
BuildRequires: bzip2-devel chrpath gettext glib2-devel gobject-introspection-devel
BuildRequires: libxml2-devel intltool gdk-pixbuf2-devel
%description
The libgsf library is an extensible I/O abstraction library for dealing
with structured file formats.
%package devel
Summary: The devel for %{name}
Requires: libgsf = %{version}-%{release}, glib2-devel, libxml2-devel pkgconfig
%description devel
Support files necessary to compile applications with libgsf
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure --disable-gtk-doc --enable-introspection=yes --disable-static
%make_build
%install
%make_install
%delete_la
%find_lang %{name}
chrpath --delete %{buildroot}%{_bindir}/gsf*
%files -f libgsf.lang
%license COPYING COPYING.LIB
%doc AUTHORS README
%{_libdir}/libgsf-1.so.*
%{_libdir}/girepository-1.0/Gsf-1.typelib
%{_bindir}/gsf-office-thumbnailer
%{_datadir}/thumbnailers/gsf-office.thumbnailer
%files devel
%{_bindir}/gsf
%{_bindir}/gsf-vba-dump
%{_libdir}/libgsf-1.so
%{_libdir}/pkgconfig/libgsf-1.pc
%{_includedir}/libgsf-1/gsf
%{_datadir}/gtk-doc/html/gsf
%{_datadir}/gir-1.0/Gsf-1.gir
%files help
%{_mandir}/man1/*
%changelog
* Fri Oct 04 2024 Funda Wang <fundawang@yeah.net> - 1.14.50-2
- fix CVE-2024-36474, CVE-2024-42415
* Mon Jan 2 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 1.14.50-1
- Update to 1.14.50
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 1.14.49-1
- Update to 1.14.49
* Thu Jan 21 2021 wangchen<wangchen137@huawei.com> - 1.14.47-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:Update to 1.14.47
* Wed Dec 9 2020 wangchen<wangchen137@huawei.com> - 1.14.43-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Correct invalid URL and Source
* Wed Nov 13 2019 chengquan<chengquan3@huawei.com> - 1.14.43-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix replicate files in devel package
* Mon Sep 2 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.14.43-3
- Package init