diff --git a/.gitignore b/.gitignore index 747f1ce..eaa1fb3 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /libsoup-3.0.5.tar.xz /libsoup-3.0.6.tar.xz /libsoup-3.0.7.tar.xz +/libsoup-3.1.1.tar.xz diff --git a/libsoup3.spec b/libsoup3.spec index 812c294..9fefc95 100644 --- a/libsoup3.spec +++ b/libsoup3.spec @@ -1,23 +1,18 @@ -%global glib2_version 2.58.0 - -# Coverity scan can override this to 0, to skip checking in gtk-doc generated code -%{!?with_docs: %global with_docs 1} +%global glib2_version 2.69.1 Name: libsoup3 -Version: 3.0.7 +Version: 3.1.1 Release: %autorelease Summary: Soup, an HTTP library implementation License: LGPLv2 URL: https://wiki.gnome.org/Projects/libsoup -Source0: https://download.gnome.org/sources/libsoup/3.0/libsoup-%{version}.tar.xz +Source0: https://download.gnome.org/sources/libsoup/3.1/libsoup-%{version}.tar.xz BuildRequires: gcc BuildRequires: gettext BuildRequires: glib-networking -%if %{with_docs} -BuildRequires: gtk-doc -%endif +BuildRequires: gi-docgen >= 2021.1 BuildRequires: krb5-devel BuildRequires: meson BuildRequires: vala @@ -53,8 +48,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Libsoup is an HTTP library implementation in C. This package allows you to develop applications that use the libsoup library. -%if %{with_docs} - %package doc Summary: Documentation files for %{name} BuildArch: noarch @@ -62,19 +55,11 @@ BuildArch: noarch %description doc This package contains developer documentation for %{name}. -%endif - %prep %autosetup -p0 -n libsoup-%{version} %build -%if %{with_docs} -%global gtkdoc_flags -Dgtk_doc=true -%else -%global gtkdoc_flags -Dgtk_doc=false -%endif - -%meson %gtkdoc_flags -Dtests=false -Dautobahn=disabled -Dhttp2_tests=disabled -Dpkcs11_tests=disabled +%meson -Ddocs=enabled -Dtests=false -Dautobahn=disabled -Dhttp2_tests=disabled -Dpkcs11_tests=disabled %meson_build %install @@ -100,14 +85,8 @@ This package contains developer documentation for %{name}. %{_datadir}/vala/vapi/libsoup-3.0.deps %{_datadir}/vala/vapi/libsoup-3.0.vapi -%if %{with_docs} - %files doc -%dir %{_datadir}/gtk-doc -%dir %{_datadir}/gtk-doc/html -%{_datadir}/gtk-doc/html/libsoup-3.0 - -%endif +%{_docdir}/libsoup-3.0/ %changelog %autochangelog diff --git a/sources b/sources index 649c3a4..ca5e859 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libsoup-3.0.7.tar.xz) = bb48b2475ec4b073de144ad91459843946ba902fc0849b88c548ccb774fc3854451239267dd097a3da4e40f025ae746609b669ec0caffdb15e7b07118e881cfd +SHA512 (libsoup-3.1.1.tar.xz) = 71beedad62ffe08271fde6b46f3ca2ad2848218081a36ab293ae0b88a46189f8371b944cf624004e4770f1e47aa673335ac2217b66aeee30a5f79bf2b52bc04a