forked from pool/libsoup
b828aebbc4
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libsoup?expand=0&rev=1514941a9ca1fcc1bdedef9b9c82c015
147 lines
4.4 KiB
RPMSpec
147 lines
4.4 KiB
RPMSpec
#
|
|
# spec file for package libsoup (Version 2.29.3)
|
|
#
|
|
# Copyright (c) 2009 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/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: libsoup
|
|
BuildRequires: gconf2-devel
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: gnutls-devel
|
|
BuildRequires: gtk-doc
|
|
BuildRequires: libgnome-keyring-devel
|
|
BuildRequires: libproxy-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: sqlite3-devel
|
|
# We do not need these dependencies needed only for tests.
|
|
#BuildRequires: apache2-mod_php5 php5-xmlrpc
|
|
License: LGPLv2.1+
|
|
Group: Development/Libraries/GNOME
|
|
# bug437293
|
|
%ifarch ppc64
|
|
Obsoletes: libsoup-64bit
|
|
%endif
|
|
#
|
|
Summary: HTTP client/server library for GNOME
|
|
Version: 2.29.3
|
|
Release: 2
|
|
Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/libsoup/2.2/%{name}-%{version}.tar.bz2
|
|
# PATCH-FIX-UPSTREAM libsoup-gir-repository-build.patch bgo603696 vuntz@opensuse.org -- Needed to fix gir-repository build
|
|
Patch0: libsoup-gir-repository-build.patch
|
|
Url: http://www.gnome.org
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Requires: %{name}-2_4-1 = %{version}
|
|
|
|
%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
|
|
License: LGPLv2.1+
|
|
Summary: HTTP client/server library for GNOME
|
|
Group: Development/Libraries/GNOME
|
|
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 devel
|
|
License: LGPLv2.1+
|
|
Summary: HTTP client/server library for GNOME - Development Files
|
|
Group: Development/Libraries/GNOME
|
|
Requires: %{name} = %{version} glib2-devel libgnutls-devel libgcrypt-devel libgpg-error-devel libxml2-devel
|
|
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
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%configure\
|
|
--disable-static
|
|
make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
%makeinstall
|
|
rm $RPM_BUILD_ROOT/%{_libdir}/*.*a
|
|
|
|
%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 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
|
|
|
|
%changelog
|