1 # 2 # spec file for package evolution-webcal 3 # 4 # Copyright (c) 2005 Sun Microsystems, Inc. 5 # This file and all modifications and additions to the pristine 6 # package are under the same license as the package itself. 7 # 8 # Owner: liyuan 9 # 10 Name: evolution-webcal 11 License: GPL 12 Group: System/Libraries/GNOME 13 Version: 2.8.0 14 Release: 1 15 Distribution: Java Desktop System 16 Vendor: Sun Microsystems, Inc. 17 Summary: Webcal support for Evolution 18 Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.8/%{name}-%{version}.tar.bz2 19 URL: http://www.gnome.org 20 BuildRoot: %{_tmppath}/%{name}-%{version}-build 21 Docdir: %{_defaultdocdir}/evolution-webcal 22 Autoreqprov: on 23 Prereq: /sbin/ldconfig 24 Prereq: GConf 25 26 %define libgnomeui_version 2.4 27 %define libsoup_version 2.1.9 28 %define evolution_data_server_version 1.2.0 29 30 Requires: libgnomeui >= %{libgnomeui_version} 31 Requires: evolution-data-server >= %{evolution_data_server_version} 32 Requires: libsoup >= %{libsoup_version} 33 34 BuildRequires: libgnomeui-devel >= %{libgnomeui_version} 35 BuildRequires: libsoup-devel >= %{libsoup_version} 36 BuildRequires: evolution-data-server-devel >= %{evolution_data_server_version} 37 38 %description 39 evolution-webcal provides support for adding online calendars to Evolution. 40 41 %prep 42 %setup -q 43 44 %build 45 libtoolize --force 46 aclocal $ACLOCAL_FLAGS 47 automake -a -c -f 48 autoconf 49 50 CFLAGS="$RPM_OPT_FLAGS" \ 51 ./configure --prefix=%{_prefix} \ 52 --libexecdir=%{_libexecdir} \ 53 --sysconfdir=%{_sysconfdir} 54 55 make 56 57 %install 58 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 59 make -i install DESTDIR=$RPM_BUILD_ROOT 60 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL 61 62 %clean 63 rm -rf $RPM_BUILD_ROOT 64 65 %post 66 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` 67 SCHEMAS="evolution-webcal.schemas" 68 for S in $SCHEMAS; do 69 gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null 70 done 71 72 %postun 73 74 %files 75 %defattr (-, root, root) 76 %doc AUTHORS COPYING ChangeLog NEWS README 77 %{_libexecdir}/* 78 %{_datadir}/locale/*/LC_MESSAGES/*.mo 79 %config %{_sysconfdir}/gconf/schemas/* 80 81 %changelog 82 * Mon Sep 04 2006 - damien.carbery@sun.com 83 - Bump to 2.8.0. 84 85 * Sun Jul 23 2006 - jeff.cai@sun.com 86 - Bump to 2.7.1. 87 88 * Mon Feb 13 2006 - damien.carbery@sun.com 89 - Bump to 2.5.90. 90 91 * Mon Aug 15 2005 - damien.carbery@sun.com 92 - Bump to 2.3.91 93 94 * Mon Apr 26 2004 - glynn.foster@sun.com 95 - Initial spec file for evolution-webcal 1.0.3 96