gunnar: server/horde/horde-kolab-client ChangeLog, NONE, 1.1 Makefile, NONE, 1.1 horde-kolab-client.spec, NONE, 1.1

cvs at kolab.org cvs at kolab.org
Mon Jul 23 17:14:23 CEST 2007


Author: gunnar

Update of /kolabrepository/server/horde/horde-kolab-client
In directory doto:/tmp/cvs-serv14914/horde-kolab-client

Added Files:
	ChangeLog Makefile horde-kolab-client.spec 
Log Message:
Adding a draft version of the combined horde-kolab-client pacakge.

--- NEW FILE: ChangeLog ---
2007-07-23  Gunnar Wrobel  <p at rdus.de>

	* horde-kolab-client.spec: Added package to Kolab CVS.


--- NEW FILE: Makefile ---
ifeq "x$(KOLABRPMSRC)" "x"
  KOLABRPMSRC = /kolab/RPM/SRC
endif
ifeq "x$(KOLABRPMPKG)" "x"
  KOLABRPMPKG = /kolab/RPM/PKG
endif

RPM = /kolab/bin/openpkg rpm

PACKAGE = $(shell grep "%define[ ]*V_package" *.spec | sed -e "s/.*V_package \([a-z-]*\).*/\1/")
YEAR = $(shell grep "%define[ ]*V_year" *.spec | sed -e "s/.*V_year\s*\([0-9]*\).*/\1/")
MONTH = $(shell grep "%define[ ]*V_month" *.spec | sed -e "s/.*V_month\s*\([0-9]*\).*/\1/")
DAY = $(shell grep "%define[ ]*V_day" *.spec | sed -e "s/.*V_day\s*\([0-9]*\).*/\1/")

DATE = ${YEAR}-${MONTH}-${DAY}

VERSION = ${YEAR}${MONTH}${DAY}
RELEASE = $(shell grep "%define[ ]*V_release" *.spec | sed -e "s/.*V_release\s*\([0-9]*\).*/\1/")

.PHONY: all
all: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm

.PHONY: dist
dist: all
	cp $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm ../../stage/

.PHONY: clean
clean:
	rm -rf /kolab/RPM/TMP/$(PACKAGE)
	rm -rf $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
	rm -rf *~

$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm: Makefile $(PACKAGE).spec ChangeLog
	test -d $(KOLABRPMSRC)/$(PACKAGE) || mkdir $(KOLABRPMSRC)/$(PACKAGE)

	cp $(PACKAGE).spec $(KOLABRPMSRC)/$(PACKAGE)

	cd $(KOLABRPMSRC)/$(PACKAGE) && $(RPM) -ba $(PACKAGE).spec

	cp -p $(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm .

--- NEW FILE: horde-kolab-client.spec ---
# Versions
%define         V_package horde-kolab-client
%define         V_year  2007
%define         V_month 07
%define         V_day   19
%define		V_version %{V_year}%{V_month}%{V_day}
%define		V_date %{V_year}-%{V_month}-%{V_day}
%define         V_release 1

# Package Information
Name:		%{V_package}
Summary:	A wrapper package definition to install all horde packages
URL:		http://www.horde.org/
Packager:	Gunnar Wrobel <wrobel at pardus.de> (p at rdus)
Version:	%{V_version}
Release:	%{V_release}
Class:		JUNK
License:	GPL
Group:		MAIL
Distribution:	OpenPKG

# List of Sources
#  This package has no sources

# Build Info
Prefix:		%{l_prefix}
BuildRoot:	%{l_buildroot}

#Pre requisites
PreReq:	      horde-framework-kolab >= %{V_version}
PreReq:	      horde-kolab >= %{V_version}
PreReq:	      horde-imp-kolab >= %{V_version}
PreReq:	      horde-ingo-kolab >= %{V_version}
PreReq:	      horde-kronolith-kolab >= %{V_version}
PreReq:	      horde-mnemo-kolab >= %{V_version}
PreReq:	      horde-nag-kolab >= %{V_version}
PreReq:	      horde-passwd-kolab >= %{V_version}
PreReq:	      horde-turba-kolab >= %{V_version}

AutoReq:      no
AutoReqProv:  no
#BuildArch:    noarch

%description 

This wrapper package simply requires all horde packages that are
currently necessary for installing Horde on a Kolab server

%prep

%build

%install

%clean

%files





More information about the commits mailing list