2 %bcond_with introspection
8 Summary: HTTP client/server library for GNOME
9 Url: http://www.gnome.org
10 Group: System/Libraries
11 Source: http://download.gnome.org/sources/libsoup/2.62/%{name}-%{version}.tar.xz
12 Source99: baselibs.conf
13 Source1001: libsoup.manifest
14 Requires: glib-networking
15 BuildRequires: gettext-tools
16 BuildRequires: glib-networking
17 %if %{with introspection}
18 BuildRequires: gobject-introspection-devel
21 BuildRequires: pkgconfig(gnome-keyring-1)
22 BuildRequires: gnome-common
24 BuildRequires: intltool >= 0.35.0
25 BuildRequires: sqlite-devel
27 BuildRequires: python3
28 BuildRequires: pkgconfig(glib-2.0) >= 2.35.0
29 BuildRequires: pkgconfig(libxml-2.0)
32 Libsoup is an HTTP client/server library for GNOME. It uses GObjects
33 and the glib main loop, to integrate well with GNOME applications.
36 * Both asynchronous (GMainLoop and callback-based) and synchronous APIs
37 * Automatically caches connections
38 * SSL Support using GnuTLS
39 * Proxy support, including authentication and SSL tunneling
40 * Client support for Digest, NTLM, and Basic authentication
41 * Server support for Digest and Basic authentication
44 %package -n typelib-Soup
45 Summary: HTTP client/server library for GNOME -- Introspection bindings
46 Group: System/Libraries
48 %description -n typelib-Soup
49 Libsoup is an HTTP client/server library for GNOME. It uses GObjects
50 and the glib main loop, to integrate well with GNOME applications.
52 This package provides the GObject Introspection bindings for libsoup.
55 Summary: HTTP client/server library for GNOME - Development Files
56 Group: Social & Content/GNOME
57 Requires: %{name} = %{version}
59 Requires: typelib-Soup = %{version}
63 Libsoup is an HTTP client/server library for GNOME. It uses GObjects
64 and the glib main loop, to integrate well with GNOME applications.
67 * Both asynchronous (GMainLoop and callback-based) and synchronous APIs
68 * Automatically caches connections
69 * SSL Support using GnuTLS
70 * Proxy support, including authentication and SSL tunneling
71 * Client support for Digest, NTLM, and Basic authentication
72 * Server support for Digest and Basic authentication
82 %if %{with introspection}
83 --enable-introspection \
100 %post -p /sbin/ldconfig
102 %postun -p /sbin/ldconfig
107 %manifest %{name}.manifest
108 %defattr(-, root, root)
112 %if %{with introspection}
113 %files -n typelib-Soup
114 %manifest %{name}.manifest
115 %defattr(-,root,root)
116 %{_libdir}/girepository-1.0/Soup-2.4.typelib
118 %{_libdir}/girepository-1.0/SoupGNOME-2.4.typelib
123 %manifest %{name}.manifest
124 %defattr(-,root,root)
125 %{_includedir}/libsoup-2.4
127 %{_libdir}/pkgconfig/*.pc
128 %if %{with introspection}
129 %{_datadir}/gir-1.0/Soup-2.4.gir
131 %{_datadir}/gir-1.0/SoupGNOME-2.4.gir
132 %{_includedir}/libsoup-gnome-2.4