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

cvs at kolab.org cvs at kolab.org
Sat Jul 11 19:01:50 CEST 2009


Author: gunnar

Update of /kolabrepository/server/pear/PEAR-Net_Socket
In directory doto:/tmp/cvs-serv32330

Modified Files:
	ChangeLog Makefile 
Added Files:
	package.info 
Removed Files:
	PEAR-Net_Socket.spec 
Log Message:
Convert to new packaging style.

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

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

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

# 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: Network Socket Interface'

# Long package description
description=' \
Net_Socket is a class interface to TCP sockets.  It provides blocking \
and non-blocking operation, with different reading and writing modes \
(byte-wise, block-wise, line-wise and special formats like network \
byte-order ip addresses). \
'

# Source code license
license='PHP'

Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/pear/PEAR-Net_Socket/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ChangeLog	8 Nov 2008 11:23:35 -0000	1.2
+++ ChangeLog	11 Jul 2009 17:01:34 -0000	1.3
@@ -1,3 +1,7 @@
+2009-07-11  Gunnar Wrobel  <p at rdus.de>
+
+	* package.info: Convert to new packaging style.
+
 2008-11-08  Gunnar Wrobel  <p at rdus.de>
 
 	* PEAR-Net_Socket.spec: Update to 1.0.9.

Index: Makefile
===================================================================
RCS file: /kolabrepository/server/pear/PEAR-Net_Socket/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 17:01:34 -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-Net_Socket.spec DELETED ---





More information about the commits mailing list