gunnar: server/kolab-webclient/imp .cvsignore, NONE, 1.1 Makefile, NONE, 1.1 imp.spec, NONE, 1.1
cvs at kolab.org
cvs at kolab.org
Mon Jan 18 18:44:24 CET 2010
- Previous message: gunnar: server/kolab-webclient/imp/configuration/imp-4.3.6 - New directory
- Next message: gunnar: server/kolab-webclient/imp/templates/imp-4.3.6 webclient-imp_conf.php.template, NONE, 1.1 webclient-imp_header.php.template, NONE, 1.1 webclient-imp_hooks.php.template, NONE, 1.1 webclient-imp_menu.php.template, NONE, 1.1 webclient-imp_mime_drivers.php.template, NONE, 1.1 webclient-imp_motd.php.template, NONE, 1.1 webclient-imp_prefs.php.template, NONE, 1.1 webclient-imp_servers.php.template, NONE, 1.1 webclient-imp_spelling.php.template, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: gunnar
Update of /kolabrepository/server/kolab-webclient/imp
In directory doto:/tmp/cvs-serv7556
Added Files:
.cvsignore Makefile imp.spec
Log Message:
A first draft of the imp package.
--- NEW FILE: .cvsignore ---
*.src.rpm
*.tar.gz
package.patch
tmp
--- NEW FILE: Makefile ---
STAGING = ../../stage
include ../../make-helper/kolab.mk
SOURCE_URL=http://ftp.horde.org/pub/$(PACKAGE)
SOURCE_0 ?= $(PACKAGE)-h3-$(VERSION).$(SOURCE_FORMAT)
include ../../make-helper/package.mk
include ../../make-helper/patch-series.mk
# Get the list of templates if there are any in the template directory
TEMPLATES = $(shell ls templates/$(PACKAGE)-$(VERSION)/*.template 2> /dev/null)
# Get the list of configuration files if there are any in the configuration directory
CONFIGURATION = $(shell ls configuration/$(PACKAGE)-$(VERSION)/*.php 2> /dev/null)
EXTRA = package.patch $(TEMPLATES) $(CONFIGURATION)
include ../../make-helper/package-new.mk
--- NEW FILE: imp.spec ---
# Macros
%define V_package imp
%define V_version 4.3.6
%define V_release 20100118
# Package Information
Name: %{V_package}
Summary: IMP provides webmail access to IMAP and POP3 accounts.
URL: http://www.horde.org/
Packager: Gunnar Wrobel <wrobel at pardus.de> (p at rdus)
Version: %{V_version}
Release: %{V_release}
License: GPL
Group: MAIL
Distribution: OpenPKG
# List of Sources
Source0: http://ftp.horde.org/pub/%{V_package}/%{V_package}-h3-%{V_version}.tar.gz
Source1: webclient-imp_conf.php.template
Source2: webclient-imp_header.php.template
Source3: webclient-imp_hooks.php.template
Source4: webclient-imp_menu.php.template
Source5: webclient-imp_mime_drivers.php.template
Source6: webclient-imp_motd.php.template
Source7: webclient-imp_prefs.php.template
Source8: webclient-imp_servers.php.template
Source9: webclient-imp_spelling.php.template
Source10: 10-kolab_conf_base.php
Source11: 10-kolab_hooks_base.php
Source12: 10-kolab_servers_base.php
# List of Patches
Patch0: package.patch
# Build Info
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
#Pre requisites
BuildPreReq: OpenPKG, openpkg >= 20070603
BuildPreReq: php, php::with_pear = yes
PreReq: horde-3.3.6
PreReq: PEAR-Auth_SASL >= 1.0.2
PreReq: PEAR-Mail
AutoReq: no
AutoReqProv: no
%description
IMP is the Internet Messaging Program. It is written in PHP and
provides webmail access to IMAP and POP3 accounts.
%prep
%setup -q -c %{V_package}-h3-%{V_version}
cd %{V_package}-h3-%{V_version}
%patch -p1 -P 0
cd ..
%build
%install
%{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/client/imp
%{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/etc/kolab/templates
cd %{V_package}-h3-%{V_version}
cd config
for CONFIG in *.dist; \
do \
cp $CONFIG `basename $CONFIG .dist`; \
mkdir -p `basename $CONFIG .php.dist`.d; \
done
cd ..
rm test.php
#find . -type f | grep '\.orig$' | xargs rm -f
cp -r * $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/client/imp
cd ..
%{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/client/imp/config/conf.d
%{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/client/imp/config/header.d
%{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/client/imp/config/hooks.d
%{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/client/imp/config/menu.d
%{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/client/imp/config/mime_drivers.d
%{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/client/imp/config/motd.d
%{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/client/imp/config/prefs.d
%{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/client/imp/config/servers.d
%{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/client/imp/config/spelling.d
%{l_shtool} install -c -m 644 %{l_value -s -a} %{S:1} %{S:2} %{S:3} %{S:4} %{S:5} %{S:6} %{S:7} %{S:8} %{S:9} \
$RPM_BUILD_ROOT%{l_prefix}/etc/kolab/templates
%{l_shtool} install -c -m 644 %{l_value -s -a} %{S:10} $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/client/imp/config/conf.d/
%{l_shtool} install -c -m 644 %{l_value -s -a} %{S:11} $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/client/imp/config/hooks.d/
%{l_shtool} install -c -m 644 %{l_value -s -a} %{S:12} $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/client/imp/config/servers.d/
sed -i -e 's#@@@horde_confdir@@@#%{l_prefix}/var/kolab/www/client/imp/config#' $RPM_BUILD_ROOT%{l_prefix}/etc/kolab/templates/*.php.template
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \
'%config %{l_prefix}/etc/kolab/templates/webclient-imp_conf.php.template' \
'%config %{l_prefix}/etc/kolab/templates/webclient-imp_header.php.template' \
'%config %{l_prefix}/etc/kolab/templates/webclient-imp_hooks.php.template' \
'%config %{l_prefix}/etc/kolab/templates/webclient-imp_menu.php.template' \
'%config %{l_prefix}/etc/kolab/templates/webclient-imp_mime_drivers.php.template' \
'%config %{l_prefix}/etc/kolab/templates/webclient-imp_motd.php.template' \
'%config %{l_prefix}/etc/kolab/templates/webclient-imp_prefs.php.template' \
'%config %{l_prefix}/etc/kolab/templates/webclient-imp_servers.php.template' \
'%config %{l_prefix}/etc/kolab/templates/webclient-imp_spelling.php.template' \
# '%defattr(-,%{l_nusr},%{l_ngrp})' %{l_prefix}/var/kolab/www/client/imp/config/conf.php
%clean
rm -rf $RPM_BUILD_ROOT
%files -f files
- Previous message: gunnar: server/kolab-webclient/imp/configuration/imp-4.3.6 - New directory
- Next message: gunnar: server/kolab-webclient/imp/templates/imp-4.3.6 webclient-imp_conf.php.template, NONE, 1.1 webclient-imp_header.php.template, NONE, 1.1 webclient-imp_hooks.php.template, NONE, 1.1 webclient-imp_menu.php.template, NONE, 1.1 webclient-imp_mime_drivers.php.template, NONE, 1.1 webclient-imp_motd.php.template, NONE, 1.1 webclient-imp_prefs.php.template, NONE, 1.1 webclient-imp_servers.php.template, NONE, 1.1 webclient-imp_spelling.php.template, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the commits
mailing list