libsoup.spec
author dcarbery
Tue, 07 Nov 2006 10:50:00 +0000
changeset 8518 60b690a59231
parent 7744 1cca7be3d5df
child 8564 df62c23d2955
permissions -rw-r--r--
2006-11-07 Damien Carbery <[email protected]> * libsoup.spec: Bump to 2.2.97.

#
# spec file for package libsoup
#
# Copyright (c) 2005 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#

Name:         libsoup
License:      LGPL
Group:        System/Libraries/GNOME
Version:      2.2.97
Release:      1
Distribution: Java Desktop System
Vendor:       Sun Microsystems, Inc.
Summary:      Library for SOAP support in Evolution
Source:       http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.2/libsoup-%{version}.tar.bz2
URL:          http://www.gnome.org
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Docdir:       %{_defaultdocdir}/libsoup
Autoreqprov:  on
Prereq:       /sbin/ldconfig

%define gtk_doc_version 1.1
%define glib_version 2.4.0
%define libxml_version 2.4.0
%define gnutls_version 1.0.0

Requires:       glib2 >= %{glib_version}
Requires:       libxml2 >= %{libxml_version}
Requires:       gnutls >= %{gnutls_version}

BuildRequires:  glib2-devel >= %{glib_version}
BuildRequires:  libxml2-devel >= %{libxml_version}
BuildRequires:  gnutls-devel >= %{gnutls_version}
BuildRequires:  gtk-doc >= %{gtk_doc_version}

%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:      Development Library for SOAP support in Evolution
Group:        Development/Libraries/GNOME
Autoreqprov:  on
Requires:     %name = %version
BuildRequires: glib2-devel >= %{glib_version}
BuildRequires: libxml2-devel >= %{libxml_version}

%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.

%prep
%setup -q

%build
CFLAGS="$RPM_OPT_FLAGS" \
  ./configure \
    --prefix=%{_prefix} \
    --libexecdir=%{_libexecdir} \
    --sysconfdir=%{_sysconfdir} \
    --disable-gtk-doc

make

%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make -i install DESTDIR=$RPM_BUILD_ROOT
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_libdir}/*.so.*

%files devel
%defattr (-, root, root)
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/libsoup-2.2/*
%{_datadir}/gtk-doc/*

%changelog
* Tue Nov 07 2006 - [email protected]
- Bump to 2.2.97.

* Tue Jul 25 2006 - [email protected]
- Bump to 2.2.96.

* Fri Jul 20 2006 - [email protected]
- Bump to 2.2.95.1.

* Thu Jun 08 2006 - [email protected]
- Disable gtk-doc.

* Tue May 30 2006 - [email protected]
- Bump to 2.2.93.

* Mon Apr 10 2006 - [email protected]
- Bump to 2.2.92.

* Tue Apr 04 2006 - [email protected]
- Remove .a/.la files in linux spec. 

* Thu Mar 30 2006 - [email protected]
- Alter "remove *.a/*.la files part" to SUNWevolution-libs.spec

* Sun Mar  5 2006 - [email protected]
- Bump to 2.2.91.

* Tue Nov 29 2005 - [email protected]
- Bump to 2.2.7.

* Mon Sep 05 2005 - [email protected]
- Bump to 2.2.6.1.

* Wed Aug 31 2005 - [email protected]
- Bump to 2.2.6.
- Change gnutls_version to 1.0.0, or SSL will be disabled. 

* Mon Aug 15 2005 - [email protected]
- Bump to 2.2.5.

* Tue Nov 23 2004 - [email protected]
- Bump to 2.2.1

* Thu Jun 17 2004 - [email protected]
- rpm4´ified

* Tue Jun 08 2004 - [email protected]
- Bump to 2.1.11

* Fri May 21 2004 - [email protected]
- Bump to 2.1.10

* Mon Apr 19 2004 - [email protected]
- Initial spec file for libsoup 2.1.x