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
|
|
|
#
|
2018-03-09 11:05:10 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
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
|
2018-09-27 09:39:55 +02:00
|
|
|
Version: 2.58.0
|
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
|
2018-09-27 09:39:55 +02:00
|
|
|
Source0: https://download.gnome.org/sources/glib-networking/2.58/%{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
|
2018-03-22 10:43:42 +01:00
|
|
|
BuildRequires: translation-update-upstream
|
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)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.55.1
|
2018-09-27 09:39:55 +02:00
|
|
|
BuildRequires: pkgconfig(gnutls) >= 3.4
|
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
|
|
|
Recommends: %{name}-lang = %{version}
|
|
|
|
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
|
|
|
|
%setup -q
|
2011-02-15 15:19:46 +01:00
|
|
|
translation-update-upstream
|
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}
|
|
|
|
|
|
|
|
%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
|
2018-03-09 11:05:10 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc LICENSE_EXCEPTION NEWS README
|
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
|
2011-04-20 13:15:48 +02:00
|
|
|
%{_datadir}/dbus-1/services/org.gtk.GLib.PACRunner.service
|
2010-08-31 10:23:15 +02:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|