# $Id: e-smith-turba.spec,v 1.8 2009/01/03 04:13:55 mrjhb3 Exp $ Summary: e-smith module to configure Turba 1.0 %define name e-smith-turba Name: %{name} %define version 3.0.0 %define release 4 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.gz Patch1: e-smith-turba-2.3.patch Patch2: e-smith-turba-2.3.1.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildRequires: e-smith-devtools BuildArchitectures: noarch Requires: e-smith-base, e-smith-lib, e-smith >= 4.1 Requires: turba-h3 >= 2.2 AutoReqProv: no Obsoletes: dcb-e-smith-turba Obsoletes: smeserver-turba-menuarray %changelog * Sun Jan 5 2009 Jonathan Martens 3.0.0-4 - Fix turba.sql patch to prevent creating a .orig file [SME: 4910] * Fri Jan 2 2009 John H. Bennett III 3.0.0-3 - Updated template files to reflect changes in Turba 2.3.1 * Sat Dec 06 2008 John H. Bennett III 3.0.0-2 - Updated template files to reflect changes in Turba 2.3 [SME: 4833] * Tue Oct 7 2008 Shad L. Lords 3.0.0-1.sme - Roll new stream to separate sme7/sme8 trees [SME: 4633] * Fri Jul 11 2008 John H. Bennett III 2.2-3 - Patch to fix 49turba_migrate_contacts to not run on post-install * Fri Jun 20 2008 John H. Bennett III 2.2-2 - Upgrade patch for Turba 2.2.1 * Sat Jun 7 2008 John H. Bennett III 2.2-1 - Initial production build * Sat May 24 2008 John H. Bennett III 2.2-02 - Updated to include changes in Turba 2.2 RC4 - Re-rolled tarball * Fri Apr 11 2008 John H. Bennett III 2.2-01 - Initial build - Jump in package name to reflect new version of turba %description This package adds necessary templates and configuration items so that Turba will work properly on SME Server %prep %setup %patch1 -p1 %patch2 -p1 %build for i in bootstrap-console-save post-install post-upgrade email-update do mkdir root/etc/e-smith/events/$i done mkdir -p root/etc/rc.d/rc7.d perl createlinks %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}-%{version}-filelist %defattr(-,root,root)