File evolution-data-server.spec of Package evolution-data-server
#
# spec file for package evolution-data-server (Version 1.6.0)
#
# Copyright (c) 2007 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: evolution-data-server
BuildRequires: gcc-c++ gnome-common gnome-keyring-devel gtkdoc intltool krb5-devel libglade2-devel libgnome-devel libgnomeui-devel libidl-devel libsoup-devel mDNSResponder-devel mozilla-nss-devel openldap2 openldap2-devel perl-XML-Parser sgml-skel update-desktop-files
%define prefix /opt/gnome
License: GPL v2 or later
Group: Development/Libraries/GNOME
AutoReqProv: on
Summary: Evolution Data Server
Version: 1.12.2
Release: 1.0
Source: ftp://ftp.gnome.org/pub/gnome/sources/evolution-data-server/1.12/%{name}-%{version}.tar.bz2
#Patch3: evolution-data-server-gcc4.patch
#Patch174: bug-345551-venezuela-tz.diff
Url: http://www.gnome.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: libsoup >= 2.2.6 mozilla-nss
%description
Evolution Data Server provides a central location for your address book
and calendar in the GNOME Desktop.
%package devel
Summary: Evolution Data Server Development Files
Group: Development/Libraries/GNOME
Requires: evolution-data-server = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: libsoup-devel libbonobo-devel libgnome-devel gnome-vfs2-devel libxml2-devel orbit2-devel openldap2-devel libglade2-devel
%if %suse_version >= 930
Requires: krb5-devel
%endif
%if %suse_version >= 1000
Requires: libcom_err
%endif
%description devel
The Evolution Data Server development files provide the necessary
libraries, headers, and other files for developing applications which
use the Evolution Data Server for storing contact and calendar
information.
%lang_package
%debug_package
%prep
%setup -q
#%patch3
#%patch174
%build
sed -i "/ALL_LINGUAS=/s/ no / nb /" configure.in
#sed -i "/ALL_LINGUAS=/s/ no / nb /" configure
libtoolize --force --copy
intltoolize --force --copy
aclocal
autoconf
automake
autoheader
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DLDAP_DEPRECATED" \
./configure --prefix=%{prefix} \
--mandir=%{_mandir} \
--libdir=%{prefix}/%{_lib} \
--libexecdir=%{prefix}/%{_lib}/evolution-data-server-1.2 \
--with-openldap \
--enable-ssl \
--with-krb5=/usr/ \
--enable-gtk-doc \
--enable-gnome-keyring=yes
make %{?jobs:-j%jobs}
%install
#make -s install DESTDIR=$RPM_BUILD_ROOT
make DESTDIR=${RPM_BUILD_ROOT} install
%find_lang evolution-data-server-1.12
%clean
rm -rf $RPM_BUILD_ROOT
%files -f evolution-data-server-1.12.lang
%defattr(-,root,root)
%doc README COPYING ChangeLog NEWS TODO AUTHORS INSTALL
%{prefix}/%_lib/bonobo/servers/*
%{prefix}/%_lib/lib*.so.*
%{prefix}/%_lib/evolution-data-server-1.2
%{prefix}/share/evolution-data-server-1.12
%{prefix}/share/idl/evolution-data-server-1.2
%{prefix}/share/pixmaps/evolution-data-server
%files devel
%defattr(-, root, root)
%{prefix}/include/evolution-data-server-1.12
%{prefix}/%{_lib}/lib*.*a
%{prefix}/%{_lib}/lib*.so
%{prefix}/%_lib/pkgconfig/*.pc
%{prefix}/share/gtk-doc/html/*
%changelog
* Mon Dec 17 2007 - psankar@suse.de
- Push 1.12.2 tarball