martin: server/kolab-resource-handlers/kolab-resource-handlers ChangeLog, NONE, 1.1 Makefile.am, NONE, 1.1 bootstrap, NONE, 1.1 configure.ac, NONE, 1.1 kolab-resource-handlers.spec.in, NONE, 1.1

cvs at intevation.de cvs at intevation.de
Mon Dec 5 15:13:44 CET 2005


Author: martin

Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers
In directory doto:/tmp/cvs-serv28144

Added Files:
	ChangeLog Makefile.am bootstrap configure.ac 
	kolab-resource-handlers.spec.in 
Log Message:
MArtin Konold: Applying patch from rbos see also https://intevation.de/roundup/kolab/issue1010


--- NEW FILE: ChangeLog ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: Makefile.am ---
EXTRA_DIST =
CLEANFILES =

@distribution@
@common@

noinst_HEADERS = @PACKAGE at .spec

wsfreebusydir = $(webserver_document_root)/freebusy
wsfreebusy_DATA = freebusy/pfb.php \
	freebusy/freebusy.php


freebusy_FILES = freebusy/misc.php \
	freebusy/freebusycache.class.php \
	freebusy/freebusy.class.php \
	freebusy/freebusycollector.class.php \
	freebusy/freebusyldap.class.php \
	freebusy/recurrence.class.php

freebusydir = $(phplibdir2)/freebusy
dist_freebusy_DATA = $(freebusy_FILES)


conffile_FILES = $(srcdir)/freebusy/freebusy.conf \
	resmgr/resmgr.conf

conffiledir = $(resmgr_confdir)
conffile_DATA = $(conffile_FILES)
EXTRA_DIST += freebusy/freebusy.conf


resmgr_filter_FILES = resmgr/kolabfilter.php \
	resmgr/kolabmailboxfilter.php

resmgr_filterdir = $(resmgr_confdir)
resmgr_filter_DATA = $(resmgr_filter_FILES)


resmgr_FILES = resmgr/kolabmailtransport.php \
	resmgr/misc.php \
	resmgr/resmgr.php \
	resmgr/olhacks.php

resmgrdir = $(phplibdir2)/kolabfilter
dist_resmgr_DATA = $(resmgr_FILES)

	
freebusy/freebusy.php:
	@$(mkinstalldirs) freebusy
	$(do_subst) <$(srcdir)/freebusy/freebusy.php.in >$@
CLEANFILES += freebusy/freebusy.php
EXTRA_DIST += freebusy/freebusy.php.in

freebusy/pfb.php:
	@$(mkinstalldirs) freebusy
	$(do_subst) <$(srcdir)/freebusy/pfb.php.in >$@
CLEANFILES += freebusy/pfb.php
EXTRA_DIST += freebusy/pfb.php.in

resmgr/kolabfilter.php:
	@$(mkinstalldirs) resmgr
	$(do_subst) <$(srcdir)/resmgr/kolabfilter.php.in > $@
	chmod a+x resmgr/kolabfilter.php
CLEANFILES += resmgr/kolabfilter.php
EXTRA_DIST += resmgr/kolabfilter.php.in

resmgr/kolabmailboxfilter.php:
	@$(mkinstalldirs) resmgr
	$(do_subst) <$(srcdir)/resmgr/kolabmailboxfilter.php.in > $@
	chmod a+x resmgr/kolabmailboxfilter.php
CLEANFILES += resmgr/kolabmailboxfilter.php
EXTRA_DIST += resmgr/kolabmailboxfilter.php.in

resmgr/resmgr.conf:
	@$(mkinstalldirs) resmgr
	$(do_subst) <$(srcdir)/resmgr/resmgr.conf.in > $@
CLEANFILES += resmgr/resmgr.conf
EXTRA_DIST += resmgr/resmgr.conf.in

EXTRA_DIST += dist_conf

install-data-hook:
	chmod a+x $(DESTDIR)/$(resmgr_filterdir)/kolabfilter.php
	chmod a+x $(DESTDIR)/$(resmgr_filterdir)/kolabmailboxfilter.php
	chmod o=--- $(DESTDIR)/$(resmgr_filterdir)/freebusy.conf
	chmod o=--- $(DESTDIR)/$(resmgr_filterdir)/resmgr.conf


--- NEW FILE: bootstrap ---
touch NEWS README AUTHORS
cp -R ../../kolabd/kolabd/dist_conf .
autoreconf -f -i


--- NEW FILE: configure.ac ---
AC_PREREQ(2.59)

m4_define(_VERSION,2.0.99)
AC_INIT([kolab-resource-handlers],[_VERSION],[kolab-devel at kolab.org])
AC_CONFIG_AUX_DIR(.)

AM_INIT_AUTOMAKE([gnu] [1.9.6] [dist-bzip2])
AC_PREFIX_DEFAULT([/usr])

common=dist_conf/common
AC_SUBST_FILE(common)

AC_ARG_ENABLE([dist],
  [AC_HELP_STRING([--enable-dist=DIST],
     [distribution target (default: openpkg)])],
     [distribution=$srcdir/dist_conf/$enable_dist],
   [distribution=$srcdir/dist_conf/kolab])
AC_SUBST_FILE(distribution)

# Checks for libraries.

# Checks for header files.

# Checks for typedefs, structures, and compiler characteristics.

# Checks for library functions.

# Build date for spec file
spec_build_date=`date '+%Y%m%d'`
AC_SUBST(spec_build_date)

AC_CONFIG_FILES([
Makefile
kolab-resource-handlers.spec
])

AC_OUTPUT


--- NEW FILE: kolab-resource-handlers.spec.in ---
# Versions
%define		V_kolab_reshndl   @VERSION@

# Package Information
Name:		kolab-resource-handlers
Summary:	Kolab components for group and resource management
URL:		http://www.kolab.org/
Packager:	Steffen Hansen <steffen at klaralvdalens-datakonsult.se> (Klaraelvdalens Datakonsult AB)
Version:	%{V_kolab_reshndl}
Release:	20051128
Class:		JUNK
License:	GPL
Group:		MAIL
Distribution:	OpenPKG

# List of Sources
Source0:	kolab-resource-handlers-%{V_kolab_reshndl}.tar.bz2

# Build Info
Prefix:		%{l_prefix}
BuildRoot:	%{l_buildroot}
BuildPreReq:	apache, php, php::with_pear = yes
PreReq:		kolabd >= 2.0.99-20050727, kolab-horde-framework >= 2.0.99-20051014, apache, php, php::with_pear = yes
AutoReq:      no
AutoReqProv:  no
#BuildArch:    noarch

%description
Blah blah

%prep
	%setup0 -q -T -b 0 -n kolab-resource-handlers

%build
%configure --prefix=/kolab \
	--enable-dist=kolab

%install
%__make DESTDIR=%{buildroot} install
	%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \
		%dir '%defattr(-,%{l_nusr},%{l_ngrp})' %{l_prefix}/var/kolab/www/freebusy/cache \
		%dir '%defattr(-,%{l_nusr},%{l_ngrp})' %{l_prefix}/var/resmgr \
		%dir '%defattr(-,%{l_nusr},%{l_ngrp})' %{l_prefix}/var/resmgr/filter \
		'%config(noreplace) %{l_prefix}/etc/resmgr/resmgr.conf' \
		'%config(noreplace) %{l_prefix}/etc/resmgr/freebusy.conf'

%clean
	rm -rf $RPM_BUILD_ROOT

%files -f files





More information about the commits mailing list