steffen: server/kolab-webadmin Makefile, NONE, 1.1 kolab-webadmin.spec, NONE, 1.1

cvs at intevation.de cvs at intevation.de
Mon May 17 17:24:28 CEST 2004


Author: steffen

Update of /kolabrepository/server/kolab-webadmin
In directory doto:/tmp/cvs-serv23429

Added Files:
	Makefile kolab-webadmin.spec 
Log Message:
new webinterface for the kolab server

--- NEW FILE: Makefile ---
RPM = /kolab/bin/openpkg rpm
VERSION = 0.1.0
RPMNAME=kolab-webadmin

ifeq "x$(KOLABRPMSRC)" "x"
  KOLABRPMSRC = /kolab/RPM/SRC
endif

all:
	test -d $(KOLABRPMSRC)/$(RPMNAME) || mkdir $(KOLABRPMSRC)/$(RPMNAME)
	tar cvzf $(KOLABRPMSRC)/$(RPMNAME)/$(RPMNAME)-$(VERSION).tar.gz $(RPMNAME) 
	cp $(RPMNAME).spec $(KOLABRPMSRC)/$(RPMNAME)/
	cd $(KOLABRPMSRC)/$(RPMNAME) && $(RPM) -ba $(RPMNAME).spec
binary:
	$(RPM) -bB $(RPMNAME).spec

release:
	tar cvzf $(RPMNAME)-$(VERSION).tar.gz $(RPMNAME)
	$(RPM) -ba $(RPMNAME).spec

--- NEW FILE: kolab-webadmin.spec ---
##
##  kolab-webadmin.spec -- OpenPKG RPM Specification
##  Copyright (c) 2004 Klaraelvdalens Datakonsult AB <http://www.klaralvdalens-datakonsult.se>
##
##  Permission to use, copy, modify, and distribute this software for
##  any purpose with or without fee is hereby granted, provided that
##  the above copyright notice and this permission notice appear in all
##  copies.
##
##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
##  SUCH DAMAGE.
##

#   package version
%define       V_kwa_maj 1.0
%define       V_kwa_min 8

#   package information
Name:         kolab-webadmin
Summary:      Kolab Groupware Server Web Administration Interface
URL:          http://kolab.kde.org/
Vendor:       Klaraelvdalens Datakonsult AB
Packager:     Klaraelvdalens Datakonsult AB
Distribution: OpenPKG
Class:        JUNK
Group:        Mail
License:      GPL
Version:      0.1.0
Release:      20040517


#   list of sources
Source0:      kolab-webadmin-%{version}.tar.gz

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20040216
PreReq:       OpenPKG, openpkg >= 20040216
PreReq:       apache >= 1.3.29-20031124, apache::with_gdbm_ndbm = yes, apache::with_mod_auth_ldap = yes, apache::with_mod_dav = yes, apache::with_mod_php = yes, apache::with_mod_php_gdbm = yes, apache::with_mod_php_gettext = yes, apache::with_mod_php_imap = yes, apache::with_mod_php_openldap = yes, apache::with_mod_php_xml = yes, apache::with_mod_php_pear = yes, apache::with_mod_ssl = yes
PreReq:	      php-smarty >= 2.6.2
AutoReq:      no
AutoReqProv:  no

%description
	Web based administration interface for The Kolab Groupware Server

%prep
    %setup -q -n %{name} -a 0
    %{l_shtool} subst -e 's;@l_prefix@;%{l_prefix};g' \
	php/admin/include/mysmarty.php

%build

%install
    rm -rf $RPM_BUILD_ROOT

    %{l_shtool} mkdir -f -p -m 755 -o %{l_musr} -g %{l_mgrp} \
        $RPM_BUILD_ROOT%{l_prefix}/etc/kolab \
        $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www \
        $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/admin \
        $RPM_BUILD_ROOT%{l_prefix}/var/kolab/php \
        $RPM_BUILD_ROOT%{l_prefix}/var/kolab/php/admin \

    cp -r www/admin/ $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/
    cp -r php/admin/ $RPM_BUILD_ROOT%{l_prefix}/var/kolab/php/

    %{l_shtool} mkdir -m 755 -o %{l_nusr} -g %{l_ngrp} \
        $RPM_BUILD_ROOT%{l_prefix}/var/kolab/php/admin/templates_c

    #   generate file list
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \
	%dir '%defattr(-,%{l_nusr},%{l_ngrp})' %{l_prefix}/var/kolab/php/admin/templates_c

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT





More information about the commits mailing list