gunnar: server/pear/PEAR-HTTP_Request package.info, NONE, 1.1 ChangeLog, 1.3, 1.4 Makefile, 1.2, 1.3 PEAR-HTTP_Request.spec, 1.3, NONE

cvs at kolab.org cvs at kolab.org
Sat Jul 11 19:06:46 CEST 2009


Author: gunnar

Update of /kolabrepository/server/pear/PEAR-HTTP_Request
In directory doto:/tmp/cvs-serv32743

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

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

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

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

# 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    \
PreReq:       PEAR-Net_URL >= 1.0.12       \
PreReq:       PEAR-Net_Socket >= 1.0.7     \
'

# Package summary description
summary='Provides an easy way to perform HTTP requests'

# Long package description
description=' \
Supports GET/POST/HEAD/TRACE/PUT/DELETE, Basic authentication, Proxy, \
Proxy Authentication, SSL, file uploads etc. \
'

# Source code license
license='BSD'

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

Index: Makefile
===================================================================
RCS file: /kolabrepository/server/pear/PEAR-HTTP_Request/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile	13 Sep 2007 13:28:13 -0000	1.2
+++ Makefile	11 Jul 2009 17:06:43 -0000	1.3
@@ -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*\([A-Za-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 .
+include ../Pear.mk

--- PEAR-HTTP_Request.spec DELETED ---





More information about the commits mailing list