Author: guillomovitch
Date: Mon Dec 18 16:00:32 2006
New Revision: 98611

Removed:
   packages/cooker/horde-mnemo/current/SOURCES/mnemo-h3-2.1.tar.bz2
Modified:
   packages/cooker/horde-mnemo/current/SPECS/horde-mnemo.spec

Log:
new version
use herein document for horde configuration


Modified: packages/cooker/horde-mnemo/current/SPECS/horde-mnemo.spec
==============================================================================
--- packages/cooker/horde-mnemo/current/SPECS/horde-mnemo.spec  (original)
+++ packages/cooker/horde-mnemo/current/SPECS/horde-mnemo.spec  Mon Dec 18 
16:00:32 2006
@@ -1,6 +1,6 @@
 %define module mnemo
 %define name   horde-%{module}
-%define version        2.1
+%define version        2.1.1
 %define release        %mkrel 2
 
 %define _requires_exceptions pear(Horde.*)
@@ -12,7 +12,6 @@
 License:       GPL
 Group:                 System/Servers
 Source0:       
ftp://ftp.horde.org/pub/%{module}/%{module}-h3-%{version}.tar.bz2
-Source1:       %{module}-horde.conf.bz2
 Patch0:                %{module}-2.0-path.patch.bz2
 URL:           http://www.horde.org/%{module}
 Requires(post):        rpm-helper
@@ -39,7 +38,21 @@
 
 # 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
+//
+// Mnemo Horde configuration file
+//
+ 
+$this->applications['mnemo'] = array(
+    'fileroot'    => $this->applications['horde']['fileroot'] . '/mnemo',
+    'webroot'     => $this->applications['horde']['webroot'] . '/mnemo',
+    'name'        => _("Notes"),
+    'status'      => 'active',
+    'provides'    => 'notes',
+    'menu_parent' => 'organizing'
+);
+EOF
 
 # remove .htaccess files
 find . -name .htaccess -exec rm -f {} \;

Reply via email to