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
|
|
|
#
|
2011-01-14 17:19:23 +01:00
|
|
|
# Copyright (c) 2011 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: glib-networking
|
2011-10-18 09:15:16 +02:00
|
|
|
Version: 2.30.1
|
2011-05-26 17:47:06 +02:00
|
|
|
Release: 1
|
2010-08-31 10:23:15 +02:00
|
|
|
License: LGPLv2+
|
|
|
|
Summary: Network-related GIO modules for glib
|
|
|
|
Group: System/Libraries
|
2011-09-27 13:14:48 +02:00
|
|
|
Source: http://download.gnome.org/sources/glib-networking/2.30/%{name}-%{version}.tar.bz2
|
2010-08-31 10:23:15 +02:00
|
|
|
Source99: baselibs.conf
|
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
|
2011-09-02 01:49:05 +02:00
|
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.29.18
|
2010-12-08 09:52:57 +01:00
|
|
|
BuildRequires: pkgconfig(gnutls)
|
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-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
|
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 \
|
|
|
|
--with-ca-certificates=/etc/ssl/ca-bundle.pem
|
2010-08-31 10:23:15 +02:00
|
|
|
%__make %{?_smp_flags} V=1
|
|
|
|
|
|
|
|
%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
|