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

cvs at intevation.de cvs at intevation.de
Mon Oct 31 12:43:14 CET 2005


Author: steffen

Update of /kolabrepository/server/kolab-horde-fbview
In directory doto:/tmp/cvs-serv18388/kolab-horde-fbview

Added Files:
	Makefile kolab-horde-fbview.spec 
Log Message:
Fbview in separate package

--- NEW FILE: Makefile ---
RPM = /kolab/bin/openpkg rpm
PACKAGE = kolab-horde-fbview
VERSION = 2.0.99
ifeq "x$(KOLABRPMSRC)" "x"
  KOLABRPMSRC = /kolab/RPM/SRC
endif

all:
	test -d $(KOLABRPMSRC)/$(PACKAGE) || mkdir $(KOLABRPMSRC)/$(PACKAGE)
	tar -cvj --exclude=CVS --exclude=\*~ -f $(KOLABRPMSRC)/$(PACKAGE)/$(PACKAGE)-$(VERSION).tar.bz2 *
	cp $(PACKAGE).spec $(KOLABRPMSRC)/$(PACKAGE)/
	cd $(KOLABRPMSRC)/$(PACKAGE) && $(RPM) -ba $(PACKAGE).spec

--- NEW FILE: kolab-horde-fbview.spec ---
# Versions
%define		V_kolab_fbview   2.0.99

# Package Information
Name:		kolab-horde-fbview
Summary:	Kolab/Horde online Free/busy view component
URL:		http://www.kolab.org/
Packager:	Steffen Hansen <steffen at klaralvdalens-datakonsult.se> (Klaraelvdalens Datakonsult AB)
Version:	%{V_kolab_fbview}
Release:	20051031
Class:		JUNK
License:	GPL
Group:		MAIL
Distribution:	OpenPKG

# List of Sources
Source0:	kolab-horde-fbview-%{V_kolab_fbview}.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-horde-fbview

%build

%install
	rm -rf $RPM_BUILD_ROOT

	%{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/fbview
	%{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/etc/resmgr	

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

	%{l_shtool} install -c -m 644 %{l_value -s -a} fbview.conf \
	  $RPM_BUILD_ROOT%{l_prefix}/etc/resmgr	

	%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \
		'%config(noreplace) %{l_prefix}/etc/resmgr/fbview.conf'

%clean
	rm -rf $RPM_BUILD_ROOT

%files -f files





More information about the commits mailing list