gunnar: server/pear/PEAR-Net_IMAP ChangeLog, NONE, 1.1 Makefile, NONE, 1.1 PEAR-Net_IMAP.spec, NONE, 1.1
cvs at kolab.org
cvs at kolab.org
Wed Aug 8 18:26:47 CEST 2007
- Previous message: gunnar: server/pear/PEAR-Net_LMTP ChangeLog, NONE, 1.1 Makefile, NONE, 1.1 PEAR-Net_LMTP.spec, NONE, 1.1
- Next message: gunnar: server/pear/PEAR-Net_SMTP ChangeLog, NONE, 1.1 Makefile, NONE, 1.1 PEAR-Net_SMTP.spec, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: gunnar
Update of /kolabrepository/server/pear/PEAR-Net_IMAP
In directory doto:/tmp/cvs-serv30278/PEAR-Net_IMAP
Added Files:
ChangeLog Makefile PEAR-Net_IMAP.spec
Log Message:
Three new pear packages.
--- NEW FILE: ChangeLog ---
2007-08-08 Gunnar Wrobel <p at rdus.de>
* PEAR-Net_IMAP.spec: Added package to Kolab CVS.
--- NEW FILE: Makefile ---
PEAR_NAME = $(shell grep "%define[ ]*V_pear_name" *.spec | sed -e "s/.*V_pear_name \([a-z\-\_]*\).*/\1/")
PACKAGE = PEAR-$(PEAR_NAME)
VERSION = $(shell grep "%define[ ]*V_version" *.spec | sed -e "s/.*V_version\s*\([a-z0-9.]*\).*/\1/")
RELEASE = $(shell grep "%define[ ]*V_release" *.spec | sed -e "s/.*V_release\s*\([0-9]*\).*/\1/")
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
SOURCE_0=http://pear.php.net/get/$(PEAR_NAME)-$(VERSION).tgz
.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/$(PEAR_NAME)*
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)
cd $(KOLABRPMSRC)/$(PACKAGE) && wget -c "$(SOURCE_0)"
cp $(PACKAGE).spec $(KOLABRPMSRC)/$(PACKAGE)
cd $(KOLABRPMSRC)/$(PACKAGE) && $(RPM) -ba $(PACKAGE).spec
cp -p $(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm .
--- NEW FILE: PEAR-Net_IMAP.spec ---
# Variables
%define V_pear_name Net_IMAP
%define V_package PEAR-%{V_pear_name}
%define V_version 1.1.0beta1
%define V_release 1
# Package Information
Name: %{V_package}
Summary: Provides an implementation of the IMAP protocol
URL: http://pear.php.net/package/%{V_pear_name}
Packager: Gunnar Wrobel <wrobel at pardus.de> (p at rdus)
Version: %{V_version}
Release: %{V_release}
License: PHP License
Group: Development/Libraries
Distribution: OpenPKG
# List of Sources
Source: http://pear.php.net/get/%{V_pear_name}-%{V_version}.tgz
# Build Info
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
#Pre requisites
BuildPreReq: OpenPKG, openpkg >= 20070603
BuildPreReq: php, php::with_pear = yes
PreReq: OpenPKG, openpkg >= 20070603
PreReq: php, php::with_pear = yes
PreReq: PEAR-Net_Socket >= 1.0
%description
Provides an implementation of the IMAP4Rev1 protocol using
PEARs Net_Socket and the optional Auth_SASL class.
%prep
%setup -n %{V_pear_name}-%{V_version}
%build
%install
env PHP_PEAR_PHP_BIN="%{l_prefix}/bin/php -d safe_mode=off -d memory_limit=40M" \
PHP_PEAR_CACHE_DIR="/tmp/pear/cache" \
%{l_prefix}/bin/pear install --offline --force --nodeps -P $RPM_BUILD_ROOT $RPM_SOURCE_DIR/%{V_pear_name}-%{V_version}.tgz
rm -rf $RPM_BUILD_ROOT/%{l_prefix}/lib/php/{.filemap,.lock,.channels,.depdb,.depdblock}
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f files
- Previous message: gunnar: server/pear/PEAR-Net_LMTP ChangeLog, NONE, 1.1 Makefile, NONE, 1.1 PEAR-Net_LMTP.spec, NONE, 1.1
- Next message: gunnar: server/pear/PEAR-Net_SMTP ChangeLog, NONE, 1.1 Makefile, NONE, 1.1 PEAR-Net_SMTP.spec, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the commits
mailing list