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

cvs at kolab.org cvs at kolab.org
Fri Jul 10 06:59:53 CEST 2009


Author: gunnar

Update of /kolabrepository/server/pear/PEAR-Date
In directory doto:/tmp/cvs-serv5580/PEAR-Date

Modified Files:
	.cvsignore Makefile 
Added Files:
	package.info 
Removed Files:
	PEAR-Date.spec 
Log Message:
Convert PEAR-Date to the new PEAR packaging style.

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

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

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

# 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: Generic date/time handling class for PEAR'

# Long package description
description=' \
Generic classes for representation and manipulation of                 \
dates, times and time zones without the need of timestamps,            \
which is a huge limitation for php programs.  Includes time zone data, \
time zone conversions and many date/time conversions.                  \
It does not rely on 32-bit system date stamps, so                      \
you can display calendars and compare dates that date                  \
pre 1970 and post 2038. This package also provides a class             \
to convert date strings between Gregorian and Human calendar formats.  \
'

# Source code license
license='BSD'

Index: .cvsignore
===================================================================
RCS file: /kolabrepository/server/pear/PEAR-Date/.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	10 Jul 2009 04:59:50 -0000	1.2
@@ -1 +1,4 @@
 *.src.rpm
+*.tgz
+*.spec
+package.patch

Index: Makefile
===================================================================
RCS file: /kolabrepository/server/pear/PEAR-Date/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	10 Jul 2009 04:59:50 -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-Date.spec DELETED ---





More information about the commits mailing list