summaryrefslogtreecommitdiff
path: root/php-kolab/Kolab_Filter/Kolab_Filter.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-kolab/Kolab_Filter/Kolab_Filter.spec')
-rw-r--r--php-kolab/Kolab_Filter/Kolab_Filter.spec10
1 files changed, 6 insertions, 4 deletions
diff --git a/php-kolab/Kolab_Filter/Kolab_Filter.spec b/php-kolab/Kolab_Filter/Kolab_Filter.spec
index 64055a7..2ab5d08 100644
--- a/php-kolab/Kolab_Filter/Kolab_Filter.spec
+++ b/php-kolab/Kolab_Filter/Kolab_Filter.spec
@@ -1,7 +1,7 @@
# Variables
%define V_package Kolab_Filter
%define V_version 0.0.1
-%define V_release 1
+%define V_release 20080919
# Package Information
Name: %{V_package}
@@ -47,15 +47,17 @@ resource management as well as some Kolab server sender policies.
%build
%install
- %{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/var/kolab-freebusy/log
- %{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/var/kolab-freebusy/cache
+ %{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/var/kolab-filter/log
+ %{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/var/kolab-filter/tmp
env PHP_PEAR_PHP_BIN="%{l_prefix}/bin/php -d safe_mode=off -d memory_limit=40M" \
PHP_PEAR_CACHE_DIR="/tmp/pear/cache" \
%{l_prefix}/bin/pear -d www_dir="%{l_prefix}/var/kolab/www/freebusy" install --offline --force --nodeps -P $RPM_BUILD_ROOT $RPM_SOURCE_DIR/%{V_package}-%{V_version}.tgz
rm -rf $RPM_BUILD_ROOT/%{l_prefix}/lib/php/{.filemap,.lock,.channels,.depdb,.depdblock}
- %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
+ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \
+ %dir '%defattr(-,%{l_nusr},%{l_ngrp})' %{l_prefix}/var/kolab-filter/tmp \
+ %dir '%defattr(-,%{l_nusr},%{l_ngrp})' %{l_prefix}/var/kolab-filter/log
%clean
rm -rf $RPM_BUILD_ROOT