609c5fbfd2
Copy from home:MBoman:branches:GNOME:Factory/evolution-data-server via accept of submit request 30448 revision 2. Request was accepted with message: thanks OBS-URL: https://build.opensuse.org/request/show/30448 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/evolution-data-server?expand=0&rev=53
206 lines
5.8 KiB
RPMSpec
206 lines
5.8 KiB
RPMSpec
#
|
|
# spec file for package evolution-data-server (Version 2.29.6)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define USE_EVOLDAP 0
|
|
|
|
Name: evolution-data-server
|
|
%define _evo_version 2.30
|
|
BuildRequires: bison
|
|
BuildRequires: db-devel
|
|
%if %USE_EVOLDAP
|
|
BuildRequires: evoldap2-devel
|
|
%else
|
|
BuildRequires: openldap2-devel
|
|
%endif
|
|
BuildRequires: fdupes
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: gnome-common
|
|
BuildRequires: gtk-doc
|
|
BuildRequires: intltool
|
|
BuildRequires: krb5-devel
|
|
BuildRequires: libglade2-devel
|
|
BuildRequires: libgnome-keyring-devel
|
|
BuildRequires: libgweather-devel >= 2.25.4
|
|
BuildRequires: libical-devel >= 0.43
|
|
BuildRequires: libidl-devel
|
|
BuildRequires: libsoup-devel
|
|
BuildRequires: mozilla-nss-devel
|
|
BuildRequires: nss-shared-helper-devel
|
|
BuildRequires: python-devel
|
|
BuildRequires: sqlite3-devel
|
|
BuildRequires: translation-update-upstream
|
|
License: GPLv2+
|
|
Group: Development/Libraries/GNOME
|
|
# bug437293
|
|
%ifarch ppc64
|
|
Obsoletes: evolution-data-server-64bit
|
|
%endif
|
|
%ifarch %ix86 ppc
|
|
Obsoletes: evolution-data-server-32bit
|
|
%endif
|
|
Summary: Evolution Data Server
|
|
Version: 2.29.6
|
|
Release: 1
|
|
Source0: ftp://ftp.gnome.org/pub/gnome/sources/evolution-data-server/2.25/%{name}-%{version}.tar.bz2
|
|
Source99: baselibs.conf
|
|
# PATCH-FEATURE-OPENSUSE dice-eds-changes.patch pchenthill@novell.com -- Patch yet to be pushed upstream
|
|
Patch0: dice-eds-changes.patch
|
|
# PATCH-FEATURE-OPENSUSE evolution-data-server-shared-nss-db.patch hpj@novell.com -- Migrate to shared NSS database.
|
|
Patch1: evolution-data-server-shared-nss-db.patch
|
|
Url: http://www.gnome.org
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Requires: %{name}-lang = %{version}
|
|
Requires: libsoup >= 2.2.6
|
|
Requires: mozilla-nss
|
|
%if %USE_EVOLDAP
|
|
Requires: libevoldap-2_4-2
|
|
%endif
|
|
Requires: libical0 >= 0.43
|
|
|
|
%description
|
|
Evolution Data Server provides a central location for your address book
|
|
and calendar in the GNOME Desktop.
|
|
|
|
|
|
|
|
%package devel
|
|
License: GPLv2+
|
|
Summary: Evolution Data Server Development Files
|
|
Group: Development/Libraries/GNOME
|
|
Requires: evolution-data-server = %{?epoch:}%{version}-%{release}
|
|
Requires: gconf2-devel
|
|
Requires: glib2-devel
|
|
Requires: gnome-vfs2-devel
|
|
Requires: gtk2-devel
|
|
Requires: krb5-devel
|
|
Requires: libcom_err
|
|
Requires: libglade2-devel
|
|
Requires: libgnome-keyring-devel
|
|
Requires: libgweather-devel >= 2.25.4
|
|
Requires: libgpg-error-devel
|
|
Requires: libical-devel >= 0.43
|
|
Requires: libsoup-devel
|
|
Requires: libxml2-devel
|
|
Requires: nss-shared-helper-devel
|
|
Requires: sqlite3-devel
|
|
%if %USE_EVOLDAP
|
|
Requires: evoldap2-devel
|
|
%else
|
|
Requires: openldap2-devel
|
|
%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.
|
|
|
|
|
|
|
|
%package doc
|
|
License: GPLv2+
|
|
Summary: Additional Package Documentation for the evolution-data-server
|
|
Group: Development/Libraries/GNOME
|
|
Requires: %{name} = %{version}
|
|
|
|
%description doc
|
|
Evolution Data Server provides a central location for your address book
|
|
and calendar in the GNOME Desktop. This package contains additional
|
|
documentation.
|
|
|
|
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
translation-update-upstream
|
|
%patch0 -p1
|
|
%patch1 -p1
|
|
|
|
%build
|
|
NOCONFIGURE=1 gnome-autogen.sh
|
|
%{configure} \
|
|
--libexecdir=%{_libexecdir}/evolution-data-server \
|
|
%if %USE_EVOLDAP
|
|
--with-openldap=%{_libdir}/evoldap \
|
|
%else
|
|
--with-openldap=yes \
|
|
%endif
|
|
--with-krb5=%{_prefix} \
|
|
--with-krb4=%{_prefix} \
|
|
--enable-gnome-keyring \
|
|
--enable-gtk-doc \
|
|
--enable-ipv6=yes \
|
|
--enable-nss=yes \
|
|
--enable-nspr=yes \
|
|
--enable-smime=yes \
|
|
--enable-nntp=yes \
|
|
--enable-hula=yes \
|
|
--enable-exchange=yes \
|
|
--with-e2k-debug \
|
|
--disable-static
|
|
%{__make} %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
%{makeinstall}
|
|
%if 0%{?suse_version} <= 1120
|
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
|
%endif
|
|
find %{buildroot} -name '*.la' -type f -delete -print
|
|
%find_lang evolution-data-server-%{_evo_version}
|
|
%if %USE_EVOLDAP
|
|
for file in %{buildroot}%{_libexecdir}/evolution-data-server/*; do
|
|
%{__mv} $file $file.bin
|
|
real_file=`echo $file | sed "s,%{buildroot},,g"`
|
|
echo -e "#!/bin/bash\n\nLD_LIBRARY_PATH=%{_libdir}/evoldap/lib exec -a \"$real_file\" $real_file.bin \"\$@\"" > $file
|
|
%{__chmod} +x $file
|
|
done
|
|
%endif
|
|
%fdupes %{buildroot}
|
|
|
|
%clean
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING ChangeLog NEWS TODO
|
|
%{_datadir}/evolution-data-server-%{_evo_version}
|
|
%{_datadir}/pixmaps/evolution-data-server
|
|
%{_datadir}/dbus-1/services/org.gnome.evolution.dataserver.*.service
|
|
%{_libdir}/*.so.*
|
|
%{_libdir}/evolution-data-server-1.2
|
|
%{_libexecdir}/evolution-data-server
|
|
|
|
%files lang -f evolution-data-server-%{_evo_version}.lang
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%{_includedir}/evolution-data-server-%{_evo_version}
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%files doc
|
|
%defattr(-, root, root)
|
|
%{_datadir}/gtk-doc/html/*
|
|
|
|
%changelog
|