libsoup3/libsoup3.spec

93 lines
2.5 KiB
RPMSpec
Raw Normal View History

2022-07-06 15:52:21 +00:00
%global glib2_version 2.69.1
2022-01-19 20:06:32 +00:00
2022-07-06 09:22:16 +00:00
Name: libsoup3
2022-08-15 19:14:52 +00:00
Version: 3.1.2
2022-01-19 20:06:32 +00:00
Release: %autorelease
Summary: Soup, an HTTP library implementation
License: LGPLv2
2022-07-06 09:22:16 +00:00
URL: https://wiki.gnome.org/Projects/libsoup
2022-07-06 15:52:21 +00:00
Source0: https://download.gnome.org/sources/libsoup/3.1/libsoup-%{version}.tar.xz
2022-01-19 20:06:32 +00:00
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: glib-networking
2022-07-06 15:52:21 +00:00
BuildRequires: gi-docgen >= 2021.1
2022-01-19 20:06:32 +00:00
BuildRequires: krb5-devel
BuildRequires: meson
2022-07-06 09:22:16 +00:00
BuildRequires: vala
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gio-2.0)
2022-01-19 20:06:32 +00:00
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(libbrotlidec)
2022-07-06 09:22:16 +00:00
BuildRequires: pkgconfig(libnghttp2)
2022-01-19 20:06:32 +00:00
BuildRequires: pkgconfig(libpsl)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(sysprof-capture-4)
BuildRequires: /usr/bin/ntlm_auth
Recommends: glib-networking%{?_isa} >= %{glib2_version}
%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}%{?_isa} = %{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 doc
Summary: Documentation files for %{name}
BuildArch: noarch
%description doc
This package contains developer documentation for %{name}.
%prep
%autosetup -p0 -n libsoup-%{version}
%build
2022-08-15 19:14:52 +00:00
%meson -Ddocs=enabled -Dtests=false -Dautobahn=disabled -Dpkcs11_tests=disabled
2022-01-19 20:06:32 +00:00
%meson_build
%install
%meson_install
%find_lang libsoup-3.0
%files -f libsoup-3.0.lang
%license COPYING
%doc README NEWS AUTHORS
%{_libdir}/libsoup-3.0.so.0*
%dir %{_libdir}/girepository-1.0
2022-07-06 09:22:16 +00:00
%{_libdir}/girepository-1.0/Soup-3.0.typelib
2022-01-19 20:06:32 +00:00
%files devel
%{_includedir}/libsoup-3.0
%{_libdir}/libsoup-3.0.so
2022-07-06 09:22:16 +00:00
%{_libdir}/pkgconfig/libsoup-3.0.pc
2022-01-19 20:06:32 +00:00
%dir %{_datadir}/gir-1.0
2022-07-06 09:22:16 +00:00
%{_datadir}/gir-1.0/Soup-3.0.gir
2022-01-19 20:06:32 +00:00
%dir %{_datadir}/vala
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/libsoup-3.0.deps
%{_datadir}/vala/vapi/libsoup-3.0.vapi
%files doc
2022-07-06 15:52:21 +00:00
%{_docdir}/libsoup-3.0/
2022-01-19 20:06:32 +00:00
%changelog
%autochangelog