Author: guillomovitch
Date: Mon Dec 18 15:39:13 2006
New Revision: 98598

Added:
   packages/cooker/horde-turba/current/SOURCES/turba-h3-2.1.3.tar.bz2   
(contents, props changed)
Removed:
   packages/cooker/horde-turba/current/SOURCES/turba-h3-2.1.2.tar.bz2
   packages/cooker/horde-turba/current/SOURCES/turba-horde.conf.bz2
Modified:
   packages/cooker/horde-turba/current/SPECS/horde-turba.spec

Log:
new version
use herein document for horde configuration


Added: packages/cooker/horde-turba/current/SOURCES/turba-h3-2.1.3.tar.bz2
==============================================================================
Binary file. No diff available.

Modified: packages/cooker/horde-turba/current/SPECS/horde-turba.spec
==============================================================================
--- packages/cooker/horde-turba/current/SPECS/horde-turba.spec  (original)
+++ packages/cooker/horde-turba/current/SPECS/horde-turba.spec  Mon Dec 18 
15:39:13 2006
@@ -1,7 +1,7 @@
 %define        module  turba
 %define        name    horde-%{module}
-%define version 2.1.2
-%define release %mkrel 2
+%define version 2.1.3
+%define release %mkrel 1
 %define _requires_exceptions pear(.*)
 
 Name:          %{name}
@@ -11,7 +11,6 @@
 License:       LGPL
 Group:         System/Servers
 Source:                
ftp://ftp.horde.org/pub/%{module}/%{module}-h3-%{version}.tar.bz2
-Source1:       %{module}-horde.conf.bz2
 URL:           http://www.horde.org/%{module}/
 Requires(post):        rpm-helper
 Requires:      horde >= 3.0.2-2mdk
@@ -39,7 +38,22 @@
 
 # horde configuration
 install -d -m 755 %{buildroot}%{_sysconfdir}/horde/registry.d
-bzcat %{SOURCE1} > %{buildroot}%{_sysconfdir}/horde/registry.d/%{module}.php
+cat > %{buildroot}%{_sysconfdir}/horde/registry.d/%{module}.php <<'EOF'
+<?php
+//
+// Turba Horde configuration file
+//
+ 
+$this->applications['turba'] = array(
+    'fileroot'    => $this->applications['horde']['fileroot'] . '/turba',
+    'webroot'     => $this->applications['horde']['webroot'] . '/turba',
+    'name'        => _("Address Book"),
+    'status'      => 'active',
+    'provides'    => array('contacts', 'clients'),
+    'menu_parent' => 'organizing'
+);
+EOF
+install -d -m 755 %{buildroot}%{_sysconfdir}/horde/registry.d
 
 # remove .htaccess files
 find . -name .htaccess -exec rm -f {} \;
@@ -80,6 +94,7 @@
 # additional cleanup
 rm -f %{buildroot}%{_datadir}/horde/%{module}/scripts/Turba.reg
 
+
 %clean
 rm -rf %{buildroot}
 

Reply via email to