gunnar: server/horde/horde-mimp .cvsignore, NONE, 1.1 ChangeLog, NONE, 1.1 Makefile, NONE, 1.1 horde-mimp-kolab.spec, NONE, 1.1
cvs at kolab.org
cvs at kolab.org
Fri Mar 14 18:28:04 CET 2008
- Previous message: gunnar: server/horde/horde ChangeLog, 1.5, 1.6 Makefile, 1.14, 1.15 horde-kolab.spec, 1.24, 1.25 conf.php, 1.11, NONE hooks.php, 1.1, NONE registry.php, 1.1, NONE
- Next message: gunnar: server/horde/horde-kolab-client horde-kolab-client.spec, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: gunnar
Update of /kolabrepository/server/horde/horde-mimp
In directory doto:/tmp/cvs-serv23799/horde-mimp
Added Files:
.cvsignore ChangeLog Makefile horde-mimp-kolab.spec
Log Message:
A first commit of the restructured Horde packages. Not finished yet.
--- NEW FILE: .cvsignore ---
*.src.rpm
--- NEW FILE: ChangeLog ---
2008-02-26 Gunnar Wrobel <p at rdus.de>
* horde-imp-kolab.spec: Added package to Kolab CVS (RC2).
--- NEW FILE: Makefile ---
ifeq "x$(RPM)" "x"
RPM = $(HOME)/bin/openpkg rpm
endif
ifeq "x$(KOLABRPMSRC)" "x"
KOLABRPMSRC = $(HOME)/RPM/SRC
endif
ifeq "x$(KOLABRPMPKG)" "x"
KOLABRPMPKG = $(HOME)/RPM/PKG
endif
ifeq "x$(KOLABRPMTMP)" "x"
KOLABRPMTMP = $(HOME)/RPM/TMP
endif
HORDE_NAME = $(shell grep "%define[ ]*V_horde_name" *.spec | sed -e "s/.*V_horde_name \([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}
PACKAGE = horde-$(HORDE_NAME)-kolab
VERSION = $(shell grep "%define[ ]*V_version" *.spec | sed -e "s/.*V_version\s*\([0-9._a-z]*\).*/\1/")
UVER = $(shell grep "%define[ ]*V_uver" *.spec | sed -e "s/.*V_uver\s*\([0-9.a-z-]*\).*/\1/")
RELEASE = ${YEAR}${MONTH}${DAY}
PATCHES = $(shell grep "^Patch[0-9]*:" *.spec | sed -e "s/^Patch[0-9]*:\s*\(.*\).*/\1/")
TEMPLATES = $(shell find . -name "*.template")
CONFIGS = $(shell find . -name "*.php")
PACKAGE_0=$(HORDE_NAME)-h3-$(UVER).tar.gz
SOURCE_0=http://ftp.horde.org/pub/$(HORDE_NAME)/$(PACKAGE_0)
.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 $(TEMPLATES) $(CONFIGS) ChangeLog
test -d $(KOLABRPMSRC)/$(PACKAGE) || mkdir $(KOLABRPMSRC)/$(PACKAGE)
cd $(KOLABRPMSRC)/$(PACKAGE) && wget -c "$(SOURCE_0)"
cd $(KOLABRPMSRC)/$(PACKAGE) && for PATCH in $(PATCHES); do \
wget -c "$$PATCH"; done
cp $(PACKAGE).spec $(KOLABRPMSRC)/$(PACKAGE)
if [ -n "$(TEMPLATES)" ]; then \
for TEMPLATE in $(TEMPLATES); \
do \
cp $$TEMPLATE $(KOLABRPMSRC)/$(PACKAGE);\
done; \
fi
if [ -n "$(CONFIGS)" ]; then \
for CONFIG in $(CONFIGS); \
do \
cp $$CONFIG $(KOLABRPMSRC)/$(PACKAGE); \
done; \
fi
cd $(KOLABRPMSRC)/$(PACKAGE) && $(RPM) -ba $(PACKAGE).spec
cp -p $(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm .
--- NEW FILE: horde-mimp-kolab.spec ---
# Versions
%define V_horde_name mimp
%define V_package horde-%{V_horde_name}-kolab
%define V_year 2008
%define V_month 02
%define V_day 26
%define V_version 1.1_rc1
%define V_uver 1.1-rc1
%define V_date %{V_year}-%{V_month}-%{V_day}
%define V_release %{V_year}%{V_month}%{V_day}
# Package Information
Name: %{V_package}
Summary: MIMP is IMP but suitable for mobile devices.
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
Source0: http://ftp.horde.org/pub/%{V_horde_name}/%{V_horde_name}-h3-%{V_uver}.tar.gz
# List of Patches
Patch0: http://kolab.org/cgi-bin/viewcvs-kolab.cgi/*checkout*/server/patches/horde/dimp-3.2-rc2/HK-GW-Config_dimp-3.2-rc2.patch
# Build Info
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
#Pre requisites
BuildPreReq: OpenPKG, openpkg >= 20070603
BuildPreReq: php, php::with_pear = yes
PreReq: horde-framework-kolab >= 3.1.4.99
PreReq: horde-imp-kolab >= 4.1.99
PreReq: PEAR-Auth_SASL >= 1.0.2
# FIXME (optional)
#PreReq: PEAR-HTTP_Request
#PreReq: PECL-idn
AutoReq: no
AutoReqProv: no
#BuildArch: noarch
%description
MIMP is a project to create a version of IMP suitable for mobile
devices such as WAP phones or PDAs. Basic IMP functionality is
implemented including mailbox viewing and paging, viewing messages,
deleting, replying, forwarding, and composing new messages.
%prep
%setup -c -q -n %{V_horde_name}-h3-%{V_uver}
cd %{V_horde_name}-h3-%{V_uver}
%patch -p2 -P 0
cd ..
%build
%install
%{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/horde/%{V_horde_name}
%{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/etc/kolab/templates
cd %{V_horde_name}-h3-%{V_uver}
rm -rf test.php
cd config && for fl in *.dist;do if [ ! -e "${fl/.dist/}" ]; then cp $fl ${fl/.dist/};fi;done; cd ..
find . -name '*.orig' | xargs rm
cp -r * $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/horde/%{V_horde_name}/
cd ..
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \
'%defattr(-,%{l_nusr},%{l_ngrp})' %{l_prefix}/var/kolab/www/horde/%{V_horde_name}/config/conf.php \
'%config(noreplace)' %{l_prefix}/var/kolab/www/horde/%{V_horde_name}/config/*.php
%clean
rm -rf $RPM_BUILD_ROOT
%files -f files
- Previous message: gunnar: server/horde/horde ChangeLog, 1.5, 1.6 Makefile, 1.14, 1.15 horde-kolab.spec, 1.24, 1.25 conf.php, 1.11, NONE hooks.php, 1.1, NONE registry.php, 1.1, NONE
- Next message: gunnar: server/horde/horde-kolab-client horde-kolab-client.spec, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the commits
mailing list