Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37513927
en ru br
Репозитории ALT
S:2.74.3-alt1.1
5.1: 2.30.2-alt1.M50P.1
4.1: 2.2.104-alt1
4.0: 2.2.100-alt1
3.0: 2.2.3-alt1.1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libsoup

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define api_ver 2.4
%define ver_major 2.30
%def_disable static
%def_disable gtk_doc
%def_enable ssl
%def_with gnome

Name: libsoup
Version: %ver_major.2
Release: alt1.M50P.1

Summary: Simple Object Access Protocol implementation
Group: System/Libraries
License: LGPLv2+
Url: http://www.gnome.org/projects/evolution/
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>

Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Source1: %name-%ver_major.map
Source2: %name-gnome-%ver_major.map
Patch1: %name-2.25.4-alt-symver.patch

# https://bugzilla.gnome.org/show_bug.cgi?id=622857 (upstream patch:

# http://git.gnome.org/browse/libsoup/commit/?id=01a43ad9824fba77384534c6d588e0e0d653986e)
Patch10: libsoup-2.30.2-01a43ad9824fba77384534c6d588e0e0d653986e.patch

Obsoletes: soup
Provides: soup = %version-%release

Provides: libsoup2.4 = %version-%release
Obsoletes: libsoup2.4 < %version-%release

%define gnutls_ver 1.4.0
%define glib_ver 2.21.3

%if_enabled ssl
Requires: libgnutls >= %gnutls_ver
BuildRequires: libgnutls-devel >= %gnutls_ver
BuildRequires: libtasn1-devel libgcrypt-devel libgpg-error-devel
%endif

# from configure.in

BuildPreReq: glib2-devel >= %glib_ver
BuildPreReq: libgio-devel >= %glib_ver
BuildPreReq: libxml2-devel libGConf-devel libsqlite3-devel libgnome-keyring-devel

BuildRequires: docbook-dtds docbook-style-xsl common-licenses
BuildRequires: gtk-doc pkg-config xml-common xsltproc zlib-devel
BuildRequires: libproxy-devel

%description
Soup provides an queued asynchronous callback-based mechanism for sending and
servicing SOAP requests, and a WSDL (Web Service Definition Language) to C
compiler which generates client stubs and server skeletons for easily calling
and implementing SOAP methods.

%package gnome
Summary: Simple Object Access Protocol implementation (GNOME part)
Group: System/Libraries
Requires: %name = %version-%release

%description gnome
Simple Object Access Protocol implementation Library (GNOME part)

%package devel
Summary: Headers for Simple Object Access Protocol library
Group: Development/C
Obsoletes: soup-devel
Provides: soup-devel = %version-%release
Obsoletes: libsoup2.4-devel < %version-%release
Provides: libsoup2.4-devel = %version-%release
Requires: %name = %version-%release
%if_enabled ssl
Requires: libgnutls-devel >= %gnutls_ver
%endif

%description devel
Soup provides an queued asynchronous callback-based mechanism for sending and
servicing SOAP requests, and a WSDL (Web Service Definition Language) to C
compiler which generates client stubs and server skeletons for easily calling
and implementing SOAP methods.

This package allows to develop applications that use the Soup library.

%package gnome-devel
Summary: Headers for Simple Object Access Protocol library (GNOME part)
Group: Development/C
Requires: %name = %version-%release

%description gnome-devel
Soup provides an queued asynchronous callback-based mechanism for sending and
servicing SOAP requests, and a WSDL (Web Service Definition Language) to C
compiler which generates client stubs and server skeletons for easily calling
and implementing SOAP methods.

This package allows to develop applications that use the Soup library.

%package devel-doc
Summary: Development documentation for Simple Object Access Protocol library
Group: Development/C
Conflicts: %name < %version
Obsoletes: libsoup2.4-devel-doc < %version-%release
Provides: libsoup2.4-devel-doc = %version-%release
BuildArch: noarch

%description devel-doc
Soup provides an queued asynchronous callback-based mechanism for sending and
servicing SOAP requests, and a WSDL (Web Service Definition Language) to C
compiler which generates client stubs and server skeletons for easily calling
and implementing SOAP methods.

This package contains development documentation for Soup.

%package devel-static
Summary: Headers for Simple Object Access Protocol static library
Group: Development/C
Obsoletes: soup-devel-static
Provides: soup-devel-static = %version-%release
Requires: %name-devel = %version-%release
Obsoletes: libsoup2.4-devel-static < %version-%release
Provides: libsoup2.4-devel-static = %version-%release

%description devel-static
Soup provides an queued asynchronous callback-based mechanism for sending and
servicing SOAP requests, and a WSDL (Web Service Definition Language) to C
compiler which generates client stubs and server skeletons for easily calling
and implementing SOAP methods.

This package allows to develop applications that statically linked
against Soup library.

%define _gtk_docdir %_datadir/gtk-doc/html

%prep
%setup -q
install -p -m644 %SOURCE1 %name/%name.map
install -p -m644 %SOURCE2 %name/%name-gnome.map
%patch1 -p1
%patch10 -p1

rm -f COPYING
ln -s %_licensedir/LGPL-2 COPYING

%build
%autoreconf
export LDFLAGS="$LDFLAGS -lz"
%configure \
   --disable-dependency-tracking \
   %{subst_enable static} \
   %{subst_enable ssl} \
   %{subst_with gnome} \
   %{?_enable_gtk_doc:--enable-gtk-doc}

%make_build

%check
%make check

%install
%make_install DESTDIR=%buildroot install

%files
%_libdir/%name-%api_ver.so.*
%doc README NEWS AUTHORS
%doc --no-dereference COPYING

%files gnome
%_libdir/%name-gnome-%api_ver.so.*

%files devel
%_includedir/%name-%api_ver/
%_libdir/%name-%api_ver.so
%_libdir/pkgconfig/%name-%api_ver.pc

%files gnome-devel
%_includedir/%name-gnome-%api_ver/
%_libdir/%name-gnome-%api_ver.so
%_libdir/pkgconfig/%name-gnome-%api_ver.pc

%files devel-doc
%_gtk_docdir/%name-%api_ver/

%if_enabled static
%files devel-static
%_libdir/*.a
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin