forked from pool/libsoup
Dominique Leuenberger
1a78653f29
Update to 2.43.4 - resubmit post review OBS-URL: https://build.opensuse.org/request/show/182673 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libsoup?expand=0&rev=136
164 lines
5.0 KiB
RPMSpec
164 lines
5.0 KiB
RPMSpec
#
|
|
# spec file for package libsoup
|
|
#
|
|
# Copyright (c) 2013 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: libsoup
|
|
Summary: HTTP client/server library for GNOME
|
|
License: LGPL-2.1+
|
|
Group: Development/Libraries/GNOME
|
|
Version: 2.43.4
|
|
Release: 0
|
|
Url: http://www.gnome.org
|
|
Source: http://download.gnome.org/sources/libsoup/2.43/%{name}-%{version}.tar.xz
|
|
Source99: baselibs.conf
|
|
BuildRequires: glib-networking
|
|
BuildRequires: glib2-devel >= 2.36.0
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: gtk-doc
|
|
BuildRequires: intltool >= 0.35.0
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: pkgconfig(sqlite3)
|
|
# We do not need these dependencies needed only for tests.
|
|
#BuildRequires: apache2-mod_php5 php5-xmlrpc
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Libsoup is an HTTP client/server library for GNOME. It uses GObjects
|
|
and the glib main loop, to integrate well with GNOME applications.
|
|
|
|
Features:
|
|
* Both asynchronous (GMainLoop and callback-based) and synchronous APIs
|
|
* Automatically caches connections
|
|
* SSL Support using GnuTLS
|
|
* Proxy support, including authentication and SSL tunneling
|
|
* Client support for Digest, NTLM, and Basic authentication
|
|
* Server support for Digest and Basic authentication
|
|
* XML-RPC support
|
|
|
|
%package 2_4-1
|
|
Summary: HTTP client/server library for GNOME
|
|
Group: Development/Libraries/GNOME
|
|
Requires: glib-networking >= 2.27.90
|
|
Recommends: %{name}-lang
|
|
# For NTLM single sign on
|
|
Suggests: samba-winbind
|
|
# Needed for smooth upgrades and to make the lang package installable
|
|
Provides: %{name} = %{version}
|
|
Obsoletes: %{name} < %{version}
|
|
# bug437293
|
|
%ifarch ppc64
|
|
Obsoletes: libsoup-64bit
|
|
%endif
|
|
#
|
|
|
|
%description 2_4-1
|
|
Libsoup is an HTTP client/server library for GNOME. It uses GObjects
|
|
and the glib main loop, to integrate well with GNOME applications.
|
|
|
|
Features:
|
|
* Both asynchronous (GMainLoop and callback-based) and synchronous APIs
|
|
* Automatically caches connections
|
|
* SSL Support using GnuTLS
|
|
* Proxy support, including authentication and SSL tunneling
|
|
* Client support for Digest, NTLM, and Basic authentication
|
|
* Server support for Digest and Basic authentication
|
|
* XML-RPC support
|
|
|
|
%package -n typelib-1_0-Soup-2_4
|
|
Summary: HTTP client/server library for GNOME -- Introspection bindings
|
|
Group: System/Libraries
|
|
|
|
%description -n typelib-1_0-Soup-2_4
|
|
Libsoup is an HTTP client/server library for GNOME. It uses GObjects
|
|
and the glib main loop, to integrate well with GNOME applications.
|
|
|
|
This package provides the GObject Introspection bindings for libsoup.
|
|
|
|
%package devel
|
|
Summary: HTTP client/server library for GNOME - Development Files
|
|
Group: Development/Libraries/GNOME
|
|
Requires: %{name} = %{version}
|
|
Requires: typelib-1_0-Soup-2_4 = %{version}
|
|
Provides: %{name}-doc = %{version}
|
|
Obsoletes: %{name}-doc < %{version}
|
|
# bug437293
|
|
%ifarch ppc64
|
|
Obsoletes: libsoup-devel-64bit
|
|
%endif
|
|
#
|
|
|
|
%description devel
|
|
Libsoup is an HTTP client/server library for GNOME. It uses GObjects
|
|
and the glib main loop, to integrate well with GNOME applications.
|
|
|
|
Features:
|
|
* Both asynchronous (GMainLoop and callback-based) and synchronous APIs
|
|
* Automatically caches connections
|
|
* SSL Support using GnuTLS
|
|
* Proxy support, including authentication and SSL tunneling
|
|
* Client support for Digest, NTLM, and Basic authentication
|
|
* Server support for Digest and Basic authentication
|
|
* XML-RPC support
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
translation-update-upstream
|
|
|
|
%build
|
|
%configure\
|
|
--disable-static \
|
|
--enable-introspection
|
|
make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
%makeinstall
|
|
rm $RPM_BUILD_ROOT/%{_libdir}/*.*a
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post 2_4-1 -p /sbin/ldconfig
|
|
|
|
%postun 2_4-1 -p /sbin/ldconfig
|
|
|
|
%files 2_4-1
|
|
%defattr(-, root, root)
|
|
%doc README COPYING NEWS AUTHORS
|
|
%{_libdir}/*.so.*
|
|
|
|
%files -n typelib-1_0-Soup-2_4
|
|
%defattr(-,root,root)
|
|
%{_libdir}/girepository-1.0/Soup-2.4.typelib
|
|
%{_libdir}/girepository-1.0/SoupGNOME-2.4.typelib
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/libsoup-2.4
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_includedir}/libsoup-gnome-2.4
|
|
%{_datadir}/gtk-doc/html/libsoup-2.4
|
|
%{_datadir}/gir-1.0/Soup-2.4.gir
|
|
%{_datadir}/gir-1.0/SoupGNOME-2.4.gir
|
|
|
|
%changelog
|