libsoup3/libsoup3.spec

106 lines
3.0 KiB
RPMSpec
Raw Normal View History

2023-02-01 18:07:08 +08:00
%global glib2_version 2.69.1
2022-04-13 16:17:28 +08:00
Name: libsoup3
2023-11-17 11:45:07 +08:00
Version: 3.4.4
Release: 4
2022-04-13 16:17:28 +08:00
Summary: Soup, an HTTP library implementation
License: LGPLv2
URL: https://wiki.gnome.org/Projects/libsoup
2023-11-17 11:45:07 +08:00
Source0: https://download.gnome.org/sources/libsoup/3.4/libsoup-%{version}.tar.xz
2022-04-13 16:17:28 +08:00
Patch0001: backport-CVE-2024-52532.patch
Patch0002: backport-CVE-2024-52530.patch
Patch0003: backport-CVE-2024-52531.patch
2023-02-01 18:07:08 +08:00
BuildRequires: gcc meson gettext vala krb5-devel samba-winbind-clients
BuildRequires: gi-docgen >= 2021.1
2022-04-13 16:17:28 +08:00
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: glib-networking
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(libbrotlidec)
BuildRequires: pkgconfig(libpsl)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(sysprof-capture-4)
BuildRequires: pkgconfig(libnghttp2)
2023-02-01 18:07:08 +08:00
Recommends: glib-networking >= %{glib2_version}
2022-04-13 16:17:28 +08:00
%description
Libsoup is an HTTP library implementation in C. It was originally part
of a SOAP (Simple Object Access Protocol) implementation called Soup, but
the SOAP and non-SOAP parts have now been split into separate packages.
libsoup uses the Glib main loop and is designed to work well with GTK
applications. This enables GNOME applications to access HTTP servers
on the network in a completely asynchronous fashion, very similar to
the Gtk+ programming model (a synchronous operation mode is also
supported for those who want it), but the SOAP parts were removed
long ago.
%package devel
Summary: Header files for the Soup library
Requires: %{name} = %{version}-%{release}
%description devel
Libsoup is an HTTP library implementation in C. This package allows
you to develop applications that use the libsoup library.
%package_help
%prep
2023-02-01 18:07:08 +08:00
%autosetup -p1 -n libsoup-%{version}
2022-04-13 16:17:28 +08:00
%build
2023-02-01 18:07:08 +08:00
%meson -Ddocs=enabled -Dtests=false -Dautobahn=disabled -Dpkcs11_tests=disabled
2022-04-13 16:17:28 +08:00
%meson_build
%install
%meson_install
2023-11-17 11:45:07 +08:00
install -m 644 -D tests/libsoup.supp %{buildroot}%{_datadir}/libsoup-3.0/libsoup.supp
2022-04-13 16:17:28 +08:00
%find_lang libsoup-3.0
%files -f libsoup-3.0.lang
%license COPYING
%{_libdir}/libsoup-3.0.so.0*
%{_libdir}/girepository-1.0/Soup*3.0.typelib
%files devel
%{_includedir}/libsoup-3.0
%{_libdir}/libsoup-3.0.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/Soup*3.0.gir
%{_datadir}/vala/vapi/libsoup-3.0.deps
%{_datadir}/vala/vapi/libsoup-3.0.vapi
2023-11-17 11:45:07 +08:00
%{_datadir}/libsoup-3.0/libsoup.supp
2022-04-13 16:17:28 +08:00
%files help
%doc README NEWS AUTHORS
2023-02-01 18:07:08 +08:00
%{_datadir}/doc
2022-04-13 16:17:28 +08:00
%changelog
* Thu Dec 12 2024 renwang <renwang@uniontech.com> -3.4.4-4
- Type:CVE
- ID:CVE-2024-52531
- SUG:NA
- DESC:fix CVE-2024-52531
* Fri Nov 22 2024 Han Jinpeng <hanjinpeng@kylinos.cn> - 3.4.4-3
- Type:CVE
- ID:CVE-2024-52530
- SUG:NA
- DESC: fix CVE-2024-52530
* Wed Nov 13 2024 liningjie <liningjie@xfusion.com> - 3.4.4-2
- Fix CVE-2024-52532
2023-11-17 11:45:07 +08:00
* Fri Nov 17 2023 lwg <liweiganga@uniontech.com> - 3.4.4-1
- update to version 3.4.4
2023-02-01 18:07:08 +08:00
* Mon Jan 2 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 3.2.2-1
- Update 3.2.2
2022-04-13 16:17:28 +08:00
* Mon Apr 11 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 3.0.6-1
- Initial packaging