forked from pool/libsoup
477 lines
18 KiB
RPMSpec
477 lines
18 KiB
RPMSpec
#
|
|
# spec file for package libsoup (Version 2.4.1)
|
|
#
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: libsoup
|
|
BuildRequires: glib2-devel gnutls-devel gtk-doc libxml2-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
|
|
AutoReqProv: on
|
|
Summary: Simple Object Access Protocol (SOAP)
|
|
Version: 2.4.1
|
|
Release: 1
|
|
Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/libsoup/2.2/%{name}-%{version}.tar.bz2
|
|
# PATCH-NEEDS-REBASE libsoup-2.2.100-r924.patch
|
|
Patch1: libsoup-2.2.100-r924.patch
|
|
# PATCH-NEEDS-REBASE libsoup-334021.patch
|
|
Patch2: libsoup-334021.patch
|
|
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
|
|
Requires: %{name} >= %{version}
|
|
|
|
%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
|
|
|
|
%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>
|
|
|
|
%package doc
|
|
License: LGPL v2.1 or later
|
|
Summary: Additional Package Documentation.
|
|
Group: Development/Libraries/GNOME
|
|
Requires: %{name} = %{version}
|
|
|
|
%description doc
|
|
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>
|
|
|
|
%prep
|
|
%setup -q
|
|
#%patch1 -p1
|
|
#%patch2 -p0
|
|
|
|
%build
|
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
%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
|
|
%defattr(-,root,root)
|
|
%doc README COPYING ChangeLog NEWS AUTHORS
|
|
|
|
%files 2_4-1
|
|
%defattr(-, root, root)
|
|
%{_libdir}/*.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/libsoup-2.4
|
|
%{_libdir}/*.so
|
|
#%{_libdir}/*.*a
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%files doc
|
|
%defattr(-,root,root)
|
|
%{_datadir}/gtk-doc/html/libsoup-2.4
|
|
|
|
%changelog
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
- added baselibs.conf file to build xxbit packages
|
|
for multilib support
|
|
* Thu Apr 10 2008 maw@suse.de
|
|
- Update to version 2.4.1:
|
|
+ Fixed SoupMessage to not downgrade to HTTP/1.0 for the second
|
|
attempt when it receives an HTTP/1.0 redirect or 401
|
|
(bgo#521848)
|
|
+ Fixed Host: header syntax when the host is an IPv6 address
|
|
literal
|
|
+ Fixed SoupSession to not emit "authenticate" multiple times
|
|
for messages that have been requeued (bgo#522601); also added
|
|
two new signals to SoupSession, request-queued and
|
|
request-unqueued, to help simplify certain session-helpers and
|
|
avoid bugs like this in the future
|
|
+ Fixed soup_server_pause_message() to actually work (rather
|
|
than *un*pausing the message)
|
|
+ Added a property SOUP_SESSION_IDLE_TIMEOUT that can be used
|
|
to set a timeout after which idle connections will
|
|
automatically be closed (bgo#518214)
|
|
+ Implemented RFC 2069-style Digest auth, and fixed SoupAuth
|
|
to compare auth scheme names case-insensitively, to fix
|
|
authentication against Apple's calendar server (bgo#498484)
|
|
+ Fixed a crash in SoupAuthDomainDigest if the client provided
|
|
an unrecognized username
|
|
+ Fixed a few SoupDate bugs (in particular, it was outputting
|
|
the wrong day of the week when stringifying dates)
|
|
+ Improved the cleanup of idle connections, to fix slow load
|
|
times with the libsoup backend of WebKit
|
|
+ Added a new SoupMessage signal "wrote-body-data" that can be
|
|
used for progress information when sending a large request
|
|
body; also allow providing the request body in multiple
|
|
chunks even when using Content-Length encoding (bgo#525101)
|
|
+ libsoup now ignores SIGPIPE globally, instead of
|
|
un-thread-safe-ly ignoring it only around network writes; in
|
|
particular, this means it is ignored when the SSL code needs
|
|
to unexpectedly do a write when we asked it to do a read
|
|
(bgo#524397)
|
|
+ The discard-body-chunks-once-they're-no-longer-needed
|
|
behavior, confusingly called SOUP_MESSAGE_OVERWRITE_CHUNKS,
|
|
is now controlled by a SoupMessageBody method
|
|
(soup_message_body_set_accumulate()), and can be applied to
|
|
either the request body or the response body;
|
|
(OVERWRITE_CHUNKS is still available for backward compatibility)
|
|
(bgo#522146)
|
|
+ The DNS cache no longer caches "no such host" results, since
|
|
some name servers lie to clients outside their firewall,
|
|
which could then cause problems for laptops moved between
|
|
networks (bgo#523269)
|
|
* Added some new regression tests, fixed some small bugs in
|
|
the existing ones.
|
|
* Fri Mar 14 2008 maw@suse.de
|
|
- Update to version 2.4.0:
|
|
+ Fixed a small memory leak in SoupSession (bgo#518798)
|
|
+ Minor fixes to redirect behavior; PROPFINDs can now be
|
|
automatically redirected and 302 is treated like 307, not
|
|
303; also fixed to make sure that redirect-test actually gets
|
|
run by "make check"
|
|
+ The SoupSocket I/O methods now set nread/nwrote even on
|
|
error.
|
|
* Mon Mar 03 2008 maw@suse.de
|
|
- Update to version 2.3.4:
|
|
+ Documentation is once again available from devhelp (bgo#518384
|
|
and bgo#518317)
|
|
+ Tidied up libsoup-2.4.pc file (bgo#517631)
|
|
- The shared library subpackage is now called libsoup-2_4-1.
|
|
* Tue Feb 19 2008 maw@suse.de
|
|
- Update to version 2.3.2:
|
|
+ API changes / Behavior changes:
|
|
* soup_server_add_auth_domain() now refs the auth domain when
|
|
adding it. (soup_server_remove_auth_domain() already
|
|
unreffed it.) This means existing applications using
|
|
SoupAuthDomain will now have a small memory leak. Those
|
|
applications should update their libsoup-2.4 requirement to
|
|
">= 2.3.2" at some point before the final GNOME 2.22.0
|
|
release, and then fix the code to unref the auth domain
|
|
after adding it to the server.
|
|
* SoupSession's automatic redirect-handling behavior now obeys
|
|
RFC 2616 more closely. In particular, status codes 300 and
|
|
304 are no longer mistakenly considered redirects; POSTs
|
|
that receive 303 are now redirected into GETs; and POSTs
|
|
that receive 301, 302, or 307 are now not redirected.
|
|
Applications that were using the SOUP_MESSAGE_NO_REDIRECT
|
|
flag to prevent libsoup from redirecting POSTs incorrectly
|
|
before should now be able to remove that if they depend on
|
|
libsoup-2.4 >= 2.3.2.
|
|
+ API additions:
|
|
* Added a SOUP_SESSION_USER_AGENT property to SoupSession, and
|
|
SOUP_SERVER_SERVER_HEADER to SoupServer, to support
|
|
automatically adding "User-Agent" and "Server" headers to
|
|
messages. (The default behavior is to do nothing, as
|
|
before.)
|
|
* Added several new methods to soup-forms.h. Applications that
|
|
are encoding a fixed set of form fields can now just pass
|
|
them to soup_form_encode(), rather than needing to construct
|
|
a GHashTable or GData list. (Likewise, the new
|
|
soup_uri_set_query_from_fields() behaves similarly for
|
|
directly updating a URI with form data.) There are also now
|
|
soup_form_request_new() and other related methods, to
|
|
directly create a GET or POST SoupMessage for submitting a
|
|
form query.
|
|
The original soup_form_* methods have all been renamed,
|
|
although bgo#defines exist for backward compatibility.
|
|
* Added soup_message_set_chunk_allocator() and
|
|
soup_buffer_new_with_owner(), to give applications more
|
|
control over memory usage/copying when doing streaming HTTP.
|
|
[Wouter Cloetens, bgo#513810].
|
|
* Added several new methods to soup-value-utils.h for working
|
|
with multiple array or hash table values at once:
|
|
soup_value_hash_new_with_vals(),
|
|
soup_value_hash_insert_vals(),
|
|
soup_value_hash_lookup_vals(),
|
|
soup_value_array_new_with_vals(), and
|
|
soup_value_array_append_vals().
|
|
This helps to simplify XML-RPC calls that send or receive
|
|
structs or arrays.
|
|
* Added soup_date_to_time_t().
|
|
* Added SoupMessageHeadersIterator, an iterator type for
|
|
SoupMessageHeaders that can be used instead of
|
|
soup_message_headers_foreach().
|
|
+ Bug fixes:
|
|
* Fixed a crash-when-idle in evolution-exchange [bgo#437835] and
|
|
rhythmbox [bgo#506552].
|
|
* Added the API version to the gtk-doc installation dir, to
|
|
prevent parallel-installation problems with libsoup 2.2 and
|
|
2.4. [bgo#512810, Daniel Gryniewicz].
|
|
* Fixed tests/query-test to compile correctly on Solaris.
|
|
[bgo#513602, patch from Jeff Cai]
|
|
* Fixed some other minor HTTP conformance issues.
|
|
* Thu Jan 31 2008 maw@suse.de
|
|
- Split out a shared library subpackage
|
|
- Build with -fno-strict-aliasing
|
|
- s#%%run_ldconfig#/sbin/ldconfig#
|
|
- Remove libtool archives and static libraries.
|
|
* Tue Jan 29 2008 rodrigo@suse.de
|
|
- Update to version 2.3.0.1:
|
|
* SoupURI now correctly handles URIs with complex encoded queries
|
|
* It is now possible for a SoupServer to use Digest auth without
|
|
needing to have the cleartext password available
|
|
* Digest authentication now properly handles "stale=true" and
|
|
"nextnonce=..."
|
|
* SoupServer is now subclassible
|
|
* soup_server_run_async and soup_server_quit no longer ref and
|
|
unref the server, as that doesn't match ordinary GObject
|
|
conventions
|
|
* The test programs no longer use a symbol name that conflicts
|
|
with Cygwin
|
|
* libsoup can now handle the not-quite-HTTP responses returned
|
|
by Shoutcast servers
|
|
* If you use libsoup while disconnected from the network, it
|
|
no longer caches the failed DNS results
|
|
* "Expect: 100-continue" processing now works correctly on
|
|
both client and server
|
|
* SoupSessions are no longer leaked
|
|
* The XML-RPC API is improved. The SOAP API is gone...
|
|
* Added utility functions for HTML form handling
|
|
* Improved message header handling
|
|
* SoupServer now automatically adds a "Date" header
|
|
- Disabled not working patches
|
|
- Fixed summaries
|
|
* Mon Aug 06 2007 jberkman@novell.com
|
|
- export new smartcard functionality from gnutls for evo-exchange (gnome bug
|
|
[#334021])
|
|
* Mon Feb 19 2007 maw@suse.de
|
|
- Update to version 2.2.100
|
|
- Remove header-parsing.patch which is now upstream.
|
|
* Tue Feb 13 2007 sbrabec@suse.cz
|
|
- Do not build unusable static libraries (#238552#c17).
|
|
* Wed Jan 17 2007 maw@suse.de
|
|
- Add header-parsing.patch (#235084 and CVE-2006-5876).
|
|
* Mon Jan 08 2007 sbrabec@suse.cz
|
|
- Spec file cleanup.
|
|
* Fri Dec 08 2006 maw@suse.de
|
|
- Move to /usr.
|
|
* Tue Nov 07 2006 cstender@suse.de
|
|
- removed 'rm -rf $RPM_BUILD_ROOT' from build section
|
|
- added ldconfig call
|
|
* Wed Aug 16 2006 jhargadon@suse.de
|
|
- update to version 2.2.96
|
|
- SoupServer now works even if you don't explicitly set an
|
|
encoding for the response.
|
|
- WWW-Authenticate and Proxy-Authenticate responses with no
|
|
realm parameter are now ignored
|
|
- Fixed a bug in soup_mktime_utc()
|
|
* Wed Jul 05 2006 dgollub@suse.de
|
|
- update to 2.2.94:
|
|
* Various fixes to the XML-RPC code (which apparently had not
|
|
actually ever worked before) from Brent Smith. [343973,
|
|
344222, 344458]
|
|
* Added client and server API tutorials to the docs
|
|
* auth-test now uses a local Apache 2.2 install, if possible,
|
|
rather than depending on files that used to be on an old
|
|
Ximian web server but haven't been anywhere for a long time.
|
|
[311825]
|
|
- changes from 2.2.92 to 2.2.93
|
|
* Fixed outgoing data corruption caused when SoupServer
|
|
started writing out a response a second time after already
|
|
having started once. [334469]. Also fixed 342640 and another
|
|
bug caused by the workaround for 334469 in 2.2.92. Based on
|
|
patches and analysis from William Jon McCann and Armin
|
|
Bauer.
|
|
* Fixed a deadlock when changing a session's proxy URI.
|
|
[309867 / bnc 174255, based on a patch by Veerapuram
|
|
Varadhan].
|
|
* Fixed https-via-proxies in the synchronous case. [bnc 174255]
|
|
* Fixed a crash in evolution-exchange [342545, fix based on an
|
|
analysis by Wang Xin].
|
|
* Fixed simple-proxy to not crash at startup. Oops. (Alex
|
|
Larsson)
|
|
- changes from 2.2.91 to 2.2.92
|
|
* Fixed server-side digest auth to return a valid "algorithm"
|
|
value and client-side to not crash if it sees an invalid one
|
|
[328615].
|
|
* Fixed the Request-Line parsing code to not hardcode a
|
|
maximum URI length (to allow very long DAAP requests from
|
|
iTunes in Rhythmbox). [335040]
|
|
- changes from 2.2.90 to 2.2.91
|
|
* SoupSession, SoupServer, SoupConnection, SoupSocket, and
|
|
SoupAddress now have an "async-context" property that allows
|
|
you to use the async API in a non-default GMainContext.
|
|
[Based on patches from Armin Bauer and Jörg Billeter.]
|
|
* Fixed some bugs in soup_date_iso8601_parse(). [324671, from
|
|
Emmanuele Bassi]
|
|
* Mon Feb 27 2006 danw@suse.de
|
|
- Add a patch from CVS for use by evolution
|
|
(make connection timeout configurable)
|
|
* Tue Feb 21 2006 sbrabec@suse.cz
|
|
- Do not require exact release in devel file.
|
|
* Wed Jan 25 2006 mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Thu Nov 17 2005 danw@suse.de
|
|
- update to 2.2.90, which includes the opensync patches
|
|
* Wed Nov 02 2005 dmueller@suse.de
|
|
- don't build as root
|
|
* Mon Aug 22 2005 jpr@suse.de
|
|
- Update to released 2.2.6.1 which includes the cvs patches we were already
|
|
folding in plus the second part of the fix for 104319
|
|
* Thu Aug 18 2005 ro@suse.de
|
|
- update to cvs version folding in other patches
|
|
* Thu Aug 18 2005 ro@suse.de
|
|
- added libsoup-2.2.3-danw-tambet-threading.patch
|
|
* Mon Aug 15 2005 ro@suse.de
|
|
- fixed memory leak (port of patch from #95454)
|
|
* Fri Aug 12 2005 ro@suse.de
|
|
- updated and re-enabled patches...
|
|
* Fri Aug 12 2005 jpr@suse.de
|
|
- Add lzo and lzo-devel to neededforbuild to get ssl support back (104319)
|
|
* Fri Aug 12 2005 gekker@suse.de
|
|
- Update to version 2.2.5
|
|
* Wed Jun 29 2005 gekker@suse.de
|
|
- Update to version 2.2.3
|
|
* Wed Jun 29 2005 gekker@suse.de
|
|
- Add patch for close exec (62176).
|
|
* Thu Mar 10 2005 hvogel@suse.de
|
|
- More gnutls patching. Fixed CPU sucking bug #57811 (ximian)
|
|
* Sat Feb 05 2005 gekker@suse.de
|
|
- Update to version 2.2.2
|
|
* Fri Jan 28 2005 meissner@suse.de
|
|
- Added sentinels to spot bad valist handling, no-strict-aliasing
|
|
is not needed here.
|
|
* Sat Jan 22 2005 ro@suse.de
|
|
- GNUTLS_CERT_NOT_TRUSTED is no longer present in current gnutls
|
|
* Mon Nov 29 2004 gekker@suse.de
|
|
- Update to version 2.2.1
|
|
* Thu Oct 21 2004 dobey@suse.de
|
|
- Add patch for bugzilla.ximian.com bug #68583
|
|
* Fri Aug 27 2004 dobey@suse.de
|
|
- Update to version 2.2.0
|
|
* Fri Aug 13 2004 dobey@suse.de
|
|
- Update to version 2.1.13
|
|
- Require glib2-devel for the libsoup-devel package
|
|
* Thu Aug 05 2004 dobey@suse.de
|
|
- Add proper dependencies to the devel package
|
|
* Thu Aug 05 2004 dobey@suse.de
|
|
- Fix support for SSL
|
|
* Wed Jul 28 2004 dobey@suse.de
|
|
- Updated to version 2.1.12
|
|
* Fri Jun 04 2004 mibarra@suse.de
|
|
- Updated to version 2.1.11
|
|
* Sat May 22 2004 mibarra@suse.de
|
|
- Updated to version 2.1.10.
|
|
* Tue May 18 2004 clahey@suse.de
|
|
- Updated to version 2.1.9.
|
|
* Mon Mar 22 2004 hhetter@suse.de
|
|
- updated to version 1.99.28
|
|
* Tue Mar 16 2004 meissner@suse.de
|
|
- -fno-strict-aliasing.
|
|
* Fri Aug 08 2003 sbrabec@suse.cz
|
|
- Updated to version 1.99.23.
|
|
* Tue Aug 05 2003 sbrabec@suse.cz
|
|
- Package renamed to libsoup.
|
|
* Mon Jul 14 2003 sbrabec@suse.cz
|
|
- GNOME prefix change to /opt/gnome.
|
|
* Thu May 22 2003 sbrabec@suse.cz
|
|
- Initial SuSE version of GNOME2 port.
|