73 lines
1.9 KiB
RPMSpec
73 lines
1.9 KiB
RPMSpec
|
#
|
||
|
# spec file for package glib-networking (Version 2.25.0)
|
||
|
#
|
||
|
# Copyright (c) 2010 SUSE LINUX Products 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 http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
|
||
|
|
||
|
Name: glib-networking
|
||
|
Version: 2.25.0
|
||
|
Release: 1
|
||
|
License: LGPLv2+
|
||
|
Summary: Network-related GIO modules for glib
|
||
|
Group: System/Libraries
|
||
|
Source: %{name}-%{version}.tar.bz2
|
||
|
Source99: baselibs.conf
|
||
|
BuildRequires: intltool
|
||
|
# If this BuildRequires changes because of a gio library version change, change gio_real_package accordingly
|
||
|
BuildRequires: pkgconfig(gio-2.0)
|
||
|
BuildRequires: pkgconfig(libproxy-1.0)
|
||
|
Recommends: %{name}-lang = %{version}
|
||
|
%define gio_real_package %(rpm -q --whatprovides --qf '%{NAME}' %{_libdir}/libgio-2.0.so.?)
|
||
|
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
|
||
|
|
||
|
%build
|
||
|
%configure \
|
||
|
--disable-static
|
||
|
%__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
|
||
|
%{_libdir}/gio/modules/libgiolibproxy.so
|
||
|
|
||
|
%files lang -f %{name}.lang
|
||
|
|
||
|
%changelog
|