gunnar: server/pear/PEAR-Mail package.info, NONE, 1.1 .cvsignore, 1.1, 1.2 ChangeLog, 1.2, 1.3 Makefile, 1.7, 1.8 PEAR-Mail.spec, 1.6, NONE

cvs at kolab.org cvs at kolab.org
Sat Jul 11 20:23:09 CEST 2009


Author: gunnar

Update of /kolabrepository/server/pear/PEAR-Mail
In directory doto:/tmp/cvs-serv2795

Modified Files:
	.cvsignore ChangeLog Makefile 
Added Files:
	package.info 
Removed Files:
	PEAR-Mail.spec 
Log Message:
Converted to new packaging style.

--- NEW FILE: package.info ---
# The name of PEAR source package
pear_package='Mail'

# The name of the RPM package
package='PEAR-Mail'

# Where to find information about the package
package_url='http://pear.php.net/package/'

# How should the source be retrieved?
#
# WGET: Download via wget
package_origin='WGET'

# Version number
version='1.1.14'

# Package release number
release='1'

# Source URL to download from
sourceurl='http://pear.php.net/get'

# In which PHP library location should the library get installed
php_lib_loc='php'

# Build prerequisites
buildprereq='                              \
BuildPreReq:  OpenPKG, openpkg >= 20070603 \
BuildPreReq:  php, php::with_pear = yes    \
'

# Installatin prerequisites
prereq='                                   \
PreReq:       OpenPKG, openpkg >= 20070603 \
PreReq:       php, php::with_pear = yes    \
'

# Package summary description
summary='PEAR: Class that provides multiple interfaces for sending emails'

# Long package description
description=' \
PEARs Mail package defines an interface for implementing mailers under the \
PEAR hierarchy.  It also provides supporting functions useful to multiple \
mailer backends.  Currently supported backends include: PHPs native \
mail() function, sendmail, and SMTP.  This package also provides a RFC822 \
email address list validation utility class. \
'

# Source code license
license='PHP/BSD'

Index: .cvsignore
===================================================================
RCS file: /kolabrepository/server/pear/PEAR-Mail/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- .cvsignore	27 Jul 2007 19:50:44 -0000	1.1
+++ .cvsignore	11 Jul 2009 18:23:07 -0000	1.2
@@ -1 +1,4 @@
 *.src.rpm
+*.tgz
+*.spec
+package.patch

Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/pear/PEAR-Mail/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ChangeLog	10 Sep 2008 09:39:55 -0000	1.2
+++ ChangeLog	11 Jul 2009 18:23:07 -0000	1.3
@@ -1,3 +1,7 @@
+2009-07-11  Gunnar Wrobel  <p at rdus.de>
+
+	* package.info: Convert to new packaging style.
+
 2008-09-10  Gunnar Wrobel  <p at rdus.de>
 
 	* PEAR-Mail.spec (License): Fixed license.

Index: Makefile
===================================================================
RCS file: /kolabrepository/server/pear/PEAR-Mail/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Makefile	13 Sep 2007 13:28:13 -0000	1.7
+++ Makefile	11 Jul 2009 18:23:07 -0000	1.8
@@ -1,42 +1 @@
-PEAR_NAME = $(shell grep "%define[ ]*V_pear_name" *.spec | sed -e "s/.*V_pear_name \([A-Za-z\-\_]*\).*/\1/")
-PACKAGE = PEAR-$(PEAR_NAME)
-VERSION = $(shell grep "%define[ ]*V_version" *.spec | sed -e "s/.*V_version\s*\([0-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 .
+include ../Pear.mk

--- PEAR-Mail.spec DELETED ---





More information about the commits mailing list