libsoup/libsoup.spec

169 lines
4.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package libsoup (Version 2.27.92)
#
# 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: gnome-keyring-devel
BuildRequires: gnutls-devel
BuildRequires: gtk-doc
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: LGPL v2.1 or later
Group: Development/Libraries/GNOME
# bug437293
%ifarch ppc64
Obsoletes: libsoup-64bit
%endif
#
Summary: Simple Object Access Protocol (SOAP)
Version: 2.27.92
Release: 1
Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/libsoup/2.2/%{name}-%{version}.tar.bz2
Url: http://www.gnome.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: %{name}-2_4-1 = %{version}
%description
Soup is a SOAP (Simple Object Access Protocol) implementation in C.
It provides a queued asynchronous callback-based mechanism for sending
and servicing SOAP requests and a WSDL (Web Service Definition
Language) to C compiler that generates client stubs and server
skeletons for easily calling and implementing SOAP methods.
It uses the Glib main loop and is designed to work well with GTK+
applications. This enables GNOME applications to access SOAP servers
on the network in a completely asynchronous fashion, very similar to
the GTK+ programming model (a synchronous operation mode is also
supported for those who want it).
The WSDL compiler helps you make your applications interoperate with
services that expose their descriptions through WSDL.
Authors:
--------
Alex Graveley <alex@ximian.com>
Dick Porter <dick@ximian.com>
Miguel De Icaza <miguel@ximian.com>
%package 2_4-1
License: LGPL v2.1 or later
Summary: Simple Object Access Protocol (SOAP)
Group: Development/Libraries/GNOME
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
# bug437293
%ifarch ppc64
Obsoletes: libsoup-64bit
%endif
#
%description 2_4-1
Soup is a SOAP (Simple Object Access Protocol) implementation in C.
It provides a queued asynchronous callback-based mechanism for sending
and servicing SOAP requests and a WSDL (Web Service Definition
Language) to C compiler that generates client stubs and server
skeletons for easily calling and implementing SOAP methods.
It uses the Glib main loop and is designed to work well with GTK+
applications. This enables GNOME applications to access SOAP servers
on the network in a completely asynchronous fashion, very similar to
the GTK+ programming model (a synchronous operation mode is also
supported for those who want it).
The WSDL compiler helps you make your applications interoperate with
services that expose their descriptions through WSDL.
Authors:
--------
Alex Graveley <alex@ximian.com>
Dick Porter <dick@ximian.com>
Miguel De Icaza <miguel@ximian.com>
%package devel
License: LGPL v2.1 or later
Summary: Include Files and Libraries mandatory for Development.
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
Soup is a SOAP (Simple Object Access Protocol) implementation in C. It
provides a queued, asynchronous callback-based mechanism for sending
SOAP requests. This package allows you to develop applications that use
the Soup library.
Authors:
--------
Alex Graveley <alex@ximian.com>
Dick Porter <dick@ximian.com>
Miguel De Icaza <miguel@ximian.com>
%prep
%setup -q
%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