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
#
2013-03-13 23:40:15 +01:00
# Copyright (c) 2013 SUSE LINUX Products 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2012-02-08 11:55:31 +01:00
2010-08-31 10:23:15 +02:00
Name : glib-networking
2013-07-31 20:54:46 +02:00
Version : 2.37.5
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
2011-12-21 05:10:22 +01:00
License : LGPL-2.1+
2010-08-31 10:23:15 +02:00
Group : System/Libraries
2013-05-05 13:50:45 +02:00
Source : http://download.gnome.org/sources/glib-networking/2.37/%{name} -%{version} .tar.xz
2010-08-31 10:23:15 +02:00
Source99 : baselibs.conf
2013-07-19 12:18:57 +02:00
# PATCH-FIX-UPSTREAM glib-networking-fix-no-cert-bundles.patch bgo#704058 bnc#825903 dimstar@opensuse.org -- Allow to fully operate without gnutls anchors, passing the responsibility to gnutls.
Patch0 : glib-networking-fix-no-cert-bundles.patch
2011-04-20 13:34:06 +02:00
# For directory ownership
2011-04-20 13:15:48 +02:00
BuildRequires : dbus-1
2010-08-31 10:23:15 +02:00
BuildRequires : intltool
2011-08-25 10:09:34 +02:00
BuildRequires : libgcrypt-devel
2011-02-15 15:19:46 +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
2013-03-13 23:40:15 +01:00
BuildRequires : pkgconfig(gio-2.0) >= 2.35.8
2013-07-31 20:54:46 +02:00
BuildRequires : pkgconfig(gnutls) >= 2.12.8
2011-04-20 13:15:48 +02:00
BuildRequires : pkgconfig(gsettings-desktop-schemas)
2011-04-20 13:34:06 +02:00
BuildRequires : pkgconfig(libproxy-1.0)
2011-11-23 12:26:57 +01:00
BuildRequires : pkgconfig(p11-kit-1) >= 0.8
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}
2011-07-07 09:41:38 +02:00
%define gio_real_package %(rpm -q --qf '%%{name}' --whatprovides gio)
2010-08-31 10:23:15 +02:00
Supplements: %{gio_real_package}
%glib2_gio_module_requires
%description
This package contains network-related GIO modules for glib.
Currently, there is only a proxy module based on libproxy.
%lang_package
%prep
%setup -q
2013-07-19 12:18:57 +02:00
%patch0 -p1
2011-02-15 15:19:46 +01:00
translation-update-upstream
2010-08-31 10:23:15 +02:00
%build
%configure \
2010-12-08 09:52:57 +01:00
--disable-static \
2013-07-19 12:18:57 +02:00
--with-pkcs \
--without-ca-certificates
2011-11-15 15:20:15 +01:00
%__make %{?_smp_mflags} V=1
2010-08-31 10:23:15 +02:00
%install
%makeinstall
find %{buildroot} %{_libdir} -name '*.la' -type f -delete -print
%find_lang %{name}
%clean
rm -rf %{buildroot}
%post
%glib2_gio_module_post
%postun
%glib2_gio_module_postun
%files
%defattr (-, root, root)
%doc COPYING 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
%{_datadir} /dbus-1/services/org.gtk.GLib.PACRunner.service
2010-08-31 10:23:15 +02:00
%files lang -f %{name}.lang
%changelog