Репозитории 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 |
Группа :: Система/Библиотеки
Пакет: libsoup
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define ver_major 2.2
%def_disable static
%def_enable ssl
Name: libsoup
Version: %ver_major.104
Release: alt1
Summary: Simple Object Access Protocol implementation
Group: System/Libraries
License: LGPL
Url: http://www.gnome.org/projects/evolution/
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Patch0: %name-2.2.91-libs.patch
#Patch1: %name-2.2.93-pkgconfig.patch
Patch2: %name-2.2.103-client-ssl.patch
%define gnutls_ver 1.4.0
Obsoletes: soup
Provides: soup = %version-%release
%if_enabled ssl
Requires: libgnutls >= %gnutls_ver
BuildRequires: libgnutls-devel >= %gnutls_ver
BuildRequires: libtasn1-devel libgcrypt-devel libgpg-error-devel
%endif
BuildRequires: docbook-dtds docbook-style-xsl common-licenses glib2-devel
BuildRequires: gtk-doc libxml2-devel pkg-config xml-common xsltproc zlib-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 devel
Summary: Headers for Simple Object Access Protocol library
Group: Development/C
Obsoletes: soup-devel
Provides: soup-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 devel-doc
Summary: Development documentation for Simple Object Access Protocol library
Group: Development/C
Conflicts: %name < %version-%release
%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
%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
%patch0 -p1
%patch2 -p0
rm -f COPYING
ln -s %_licensedir/LGPL-2 COPYING
bzip2 -9k ChangeLog
%build
autoreconf -isfv
%configure \
--enable-gtk-doc \
%{subst_enable static} \
%{subst_enable ssl}
%make_build
%install
%make_install DESTDIR=%buildroot install
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/*.so.*
%doc README ChangeLog.bz2 NEWS AUTHORS
%doc --no-dereference COPYING
%files devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%files devel-doc
%_gtk_docdir/*
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь
%def_disable static
%def_enable ssl
Name: libsoup
Version: %ver_major.104
Release: alt1
Summary: Simple Object Access Protocol implementation
Group: System/Libraries
License: LGPL
Url: http://www.gnome.org/projects/evolution/
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Patch0: %name-2.2.91-libs.patch
#Patch1: %name-2.2.93-pkgconfig.patch
Patch2: %name-2.2.103-client-ssl.patch
%define gnutls_ver 1.4.0
Obsoletes: soup
Provides: soup = %version-%release
%if_enabled ssl
Requires: libgnutls >= %gnutls_ver
BuildRequires: libgnutls-devel >= %gnutls_ver
BuildRequires: libtasn1-devel libgcrypt-devel libgpg-error-devel
%endif
BuildRequires: docbook-dtds docbook-style-xsl common-licenses glib2-devel
BuildRequires: gtk-doc libxml2-devel pkg-config xml-common xsltproc zlib-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 devel
Summary: Headers for Simple Object Access Protocol library
Group: Development/C
Obsoletes: soup-devel
Provides: soup-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 devel-doc
Summary: Development documentation for Simple Object Access Protocol library
Group: Development/C
Conflicts: %name < %version-%release
%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
%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
%patch0 -p1
%patch2 -p0
rm -f COPYING
ln -s %_licensedir/LGPL-2 COPYING
bzip2 -9k ChangeLog
%build
autoreconf -isfv
%configure \
--enable-gtk-doc \
%{subst_enable static} \
%{subst_enable ssl}
%make_build
%install
%make_install DESTDIR=%buildroot install
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/*.so.*
%doc README ChangeLog.bz2 NEWS AUTHORS
%doc --no-dereference COPYING
%files devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%files devel-doc
%_gtk_docdir/*
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь