File glib-networking.spec of Package glib-networking

# spec file for package glib-networking
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# 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.

# Please submit bugfixes or comments via

Name:           glib-networking
Version:        2.48.2
Release:        0
Summary:        Network-related GIO modules for glib
License:        LGPL-2.1+
Group:          System/Libraries
Source99:       baselibs.conf
# For directory ownership
BuildRequires:  dbus-1
BuildRequires:  intltool
BuildRequires:  libgcrypt-devel
BuildRequires:  translation-update-upstream
# If this BuildRequires changes because of a gio library version change, change gio_real_package accordingly
BuildRequires:  pkgconfig(gio-2.0) >= 2.45.1
BuildRequires:  pkgconfig(gnutls) >= 3.0
BuildRequires:  pkgconfig(gsettings-desktop-schemas)
BuildRequires:  pkgconfig(libproxy-1.0)
BuildRequires:  pkgconfig(p11-kit-1) >= 0.8
# org.gnome.system.proxy schema is used
Requires:       gsettings-desktop-schemas
Recommends:     %{name}-lang = %{version}
%define gio_real_package %(rpm -q --qf '%%{name}' --whatprovides gio)
Supplements:    %{gio_real_package}

This package contains network-related GIO modules for glib.

Currently, there is only a proxy module based on libproxy.

%setup -q

%configure \
    --disable-static \
%__make %{?_smp_mflags}

find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%find_lang %{name}

rm -rf %{buildroot}



%defattr(-, root, root)

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by