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

cvs at kolab.org cvs at kolab.org
Sat Jul 11 20:58:24 CEST 2009


Author: gunnar

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

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

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

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

# 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.5.0'

# 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    \
                                           \
Provides:     PEAR-Mail_Mime = 1.3.1       \
Obsoletes:    PEAR-Mail_Mime <= 1.3.1      \
'

# Package summary description
summary='Provides a class to decode mime messages.'

# Long package description
description=' \
Provides a class to deal with the decoding and interpreting of mime \
messages.  This package used to be part of the Mail_Mime package, but \
has been split off. \
'

# Source code license
license='BSD'

Index: .cvsignore
===================================================================
RCS file: /kolabrepository/server/pear/PEAR-Mail-mimeDecode/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- .cvsignore	11 Sep 2008 16:31:20 -0000	1.1
+++ .cvsignore	11 Jul 2009 18:58:22 -0000	1.2
@@ -1 +1,4 @@
 *.src.rpm
+*.tgz
+*.spec
+package.patch

Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/pear/PEAR-Mail-mimeDecode/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ChangeLog	11 Sep 2008 16:31:20 -0000	1.1
+++ ChangeLog	11 Jul 2009 18:58:22 -0000	1.2
@@ -1,3 +1,7 @@
+2009-07-11  Gunnar Wrobel  <p at rdus.de>
+
+	* package.info: Converted to newer packaging style.
+
 2008-09-11  Gunnar Wrobel  <p at rdus.de>
 
 	* PEAR-Mail_Mime.spec: Added package to Kolab CVS.

Index: Makefile
===================================================================
RCS file: /kolabrepository/server/pear/PEAR-Mail-mimeDecode/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile	11 Sep 2008 16:31:20 -0000	1.1
+++ Makefile	11 Jul 2009 18:58:22 -0000	1.2
@@ -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_mimeDecode.spec DELETED ---





More information about the commits mailing list