2010-08-31 10:23:15 +02:00
|
|
|
#
|
2011-01-14 17:19:23 +01:00
|
|
|
# spec file for package glib-networking
|
2010-08-31 10:23:15 +02:00
|
|
|
#
|
2022-01-05 14:28:02 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2010-08-31 10:23:15 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-09-27 09:39:55 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-08-31 10:23:15 +02:00
|
|
|
#
|
|
|
|
|
2012-02-08 11:55:31 +01:00
|
|
|
|
2018-03-09 11:05:10 +01:00
|
|
|
%define gio_real_package %(rpm -q --qf '%%{name}' --whatprovides gio)
|
2010-08-31 10:23:15 +02:00
|
|
|
Name: glib-networking
|
2022-03-21 09:34:55 +01:00
|
|
|
Version: 2.72.beta
|
2011-12-21 05:10:22 +01:00
|
|
|
Release: 0
|
2010-08-31 10:23:15 +02:00
|
|
|
Summary: Network-related GIO modules for glib
|
2018-03-09 11:05:10 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2017-09-08 22:32:56 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-03-09 11:05:10 +01:00
|
|
|
URL: https://www.gnome.org
|
2022-03-21 09:34:55 +01:00
|
|
|
Source0: https://download.gnome.org/sources/glib-networking/2.72/%{name}-%{version}.tar.xz
|
2010-08-31 10:23:15 +02:00
|
|
|
Source99: baselibs.conf
|
2018-09-27 09:39:55 +02:00
|
|
|
|
2018-03-09 11:05:10 +01:00
|
|
|
BuildRequires: ca-certificates-mozilla
|
2011-04-20 13:34:06 +02:00
|
|
|
# For directory ownership
|
2011-04-20 13:15:48 +02:00
|
|
|
BuildRequires: dbus-1
|
2011-08-25 10:09:34 +02:00
|
|
|
BuildRequires: libgcrypt-devel
|
2018-03-09 11:05:10 +01:00
|
|
|
BuildRequires: meson >= 0.43.0
|
|
|
|
BuildRequires: pkgconfig
|
2010-08-31 10:23:15 +02:00
|
|
|
# If this BuildRequires changes because of a gio library version change, change gio_real_package accordingly
|
2018-03-09 11:05:10 +01:00
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
2021-09-27 08:23:37 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.69.0
|
2020-04-18 00:43:08 +02:00
|
|
|
BuildRequires: pkgconfig(gnutls) >= 3.6.5
|
2011-04-20 13:15:48 +02:00
|
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas)
|
2018-03-09 11:05:10 +01:00
|
|
|
BuildRequires: pkgconfig(libproxy-1.0) >= 0.3.1
|
|
|
|
BuildRequires: pkgconfig(systemd)
|
2011-05-04 16:20:16 +02:00
|
|
|
# org.gnome.system.proxy schema is used
|
|
|
|
Requires: gsettings-desktop-schemas
|
2010-08-31 10:23:15 +02:00
|
|
|
Supplements: %{gio_real_package}
|
2018-03-09 11:05:10 +01:00
|
|
|
%{glib2_gio_module_requires}
|
2010-08-31 10:23:15 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains network-related GIO modules for glib.
|
|
|
|
|
|
|
|
Currently, there is only a proxy module based on libproxy.
|
|
|
|
|
|
|
|
%lang_package
|
2018-03-09 11:05:10 +01:00
|
|
|
|
2010-08-31 10:23:15 +02:00
|
|
|
%prep
|
2019-05-04 09:57:31 +02:00
|
|
|
%autosetup -p1
|
2010-08-31 10:23:15 +02:00
|
|
|
|
|
|
|
%build
|
2018-03-09 11:05:10 +01:00
|
|
|
%meson
|
|
|
|
%meson_build
|
2010-08-31 10:23:15 +02:00
|
|
|
|
|
|
|
%install
|
2018-03-09 11:05:10 +01:00
|
|
|
%meson_install
|
2010-08-31 10:23:15 +02:00
|
|
|
%find_lang %{name}
|
|
|
|
|
2021-12-09 15:40:01 +01:00
|
|
|
%check
|
2022-01-05 14:28:02 +01:00
|
|
|
%meson_test --timeout=90
|
2021-12-09 15:40:01 +01:00
|
|
|
|
2010-08-31 10:23:15 +02:00
|
|
|
%post
|
2018-03-09 11:05:10 +01:00
|
|
|
%{glib2_gio_module_post}
|
2010-08-31 10:23:15 +02:00
|
|
|
|
|
|
|
%postun
|
2018-03-09 11:05:10 +01:00
|
|
|
%{glib2_gio_module_postun}
|
2010-08-31 10:23:15 +02:00
|
|
|
|
|
|
|
%files
|
2019-08-30 13:30:23 +02:00
|
|
|
%license COPYING LICENSE_EXCEPTION
|
|
|
|
%doc NEWS README
|
2022-03-21 09:34:55 +01:00
|
|
|
%{_datadir}/dbus-1/services/org.gtk.GLib.PACRunner.service
|
|
|
|
%{_libdir}/gio/modules/libgioenvironmentproxy.so
|
2011-04-20 13:34:06 +02:00
|
|
|
%{_libdir}/gio/modules/libgiognomeproxy.so
|
2010-12-08 09:52:57 +01:00
|
|
|
%{_libdir}/gio/modules/libgiognutls.so
|
2010-08-31 10:23:15 +02:00
|
|
|
%{_libdir}/gio/modules/libgiolibproxy.so
|
2011-04-20 13:15:48 +02:00
|
|
|
%{_libexecdir}/glib-pacrunner
|
2016-03-02 11:27:50 +01:00
|
|
|
%{_userunitdir}/glib-pacrunner.service
|
2010-08-31 10:23:15 +02:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|