[Pkg-php-commits] r1428 - pear/php-validate/debian

Mark Hershberger mah-guest at alioth.debian.org
Fri Jun 18 16:02:01 UTC 2010


Author: mah-guest
Date: 2010-06-18 16:01:59 +0000 (Fri, 18 Jun 2010)
New Revision: 1428

Modified:
   pear/php-validate/debian/changelog
   pear/php-validate/debian/control
   pear/php-validate/debian/rules
   pear/php-validate/debian/watch
Log:
  * Import from Ubuntu-NGO.
  * Update package to CDBS
  * Bump version.


Modified: pear/php-validate/debian/changelog
===================================================================
--- pear/php-validate/debian/changelog	2010-06-18 15:10:35 UTC (rev 1427)
+++ pear/php-validate/debian/changelog	2010-06-18 16:01:59 UTC (rev 1428)
@@ -1,3 +1,11 @@
+php-validate (0.8.3-1) unstable; urgency=low
+
+  * Import from Ubuntu-NGO.
+  * Update package to CDBS
+  * Bump version.
+
+ -- Mark A. Hershberger <mah at everybody.org>  Fri, 18 Jun 2010 11:11:51 -0400
+
 php-validate (0.8.2-0ubuntu1) karmic; urgency=low
 
   * Initial release.

Modified: pear/php-validate/debian/control
===================================================================
--- pear/php-validate/debian/control	2010-06-18 15:10:35 UTC (rev 1427)
+++ pear/php-validate/debian/control	2010-06-18 16:01:59 UTC (rev 1428)
@@ -2,14 +2,16 @@
 Section: web
 Priority: optional
 Maintainer: Daniel Holbach <daniel.holbach at ubuntu.com>
-Build-Depends: debhelper (>= 5.0)
+Build-Depends: debhelper (>= 5), dh-make-php (>= 0.2.3), cdbs
 Build-Depends-Indep: php-pear
+Standards-Version: 3.8.4
+Vcs-Svn: svn://svn.debian.org/pkg-php/pear/php-validate
+Vcs-Browser: http://svn.debian.org/viewsvn/pkg-php/pear/php-xml-rpc
 Homepage: http://pear.php.net/package/Validate
-Standards-Version: 3.8.2
 
 Package: php-validate
 Architecture: all
-Depends: php-pear
+Depends: php-pear, ${misc:Depends}
 Suggests: php-date
 Description: PHP PEAR module for various kinds of data
  Package to validate various datas. It includes :

Modified: pear/php-validate/debian/rules
===================================================================
--- pear/php-validate/debian/rules	2010-06-18 15:10:35 UTC (rev 1427)
+++ pear/php-validate/debian/rules	2010-06-18 16:01:59 UTC (rev 1428)
@@ -1,72 +1,4 @@
 #!/usr/bin/make -f
 
-DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
-DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-)
-DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//')
-
-PEAR ?= /usr/bin/pear
-pear_pkg = $(shell ls |grep Validate)
-package = php-validate
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	touch configure-stamp
-
-build: build-stamp
-
-build-stamp: configure-stamp 
-	dh_testdir
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	if [ -f $(pear_pkg)/package.xml ]; then \
-		rm $(pear_pkg)/package.xml; \
-	fi
-	dh_clean build-stamp configure-stamp
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-
-	# Add here commands to install the package into debian/package.
-	cp package.xml $(pear_pkg)/package.xml;
-	$(PEAR) install -f -n -R debian/$(package) $(pear_pkg)/package.xml;
-	rm -f debian/$(package)/usr/share/php/.filemap;
-	rm -f debian/$(package)/usr/share/php/.lock;
-	rm -rf debian/$(package)/usr/share/php/.channels;
-	rm -rf debian/$(package)/usr/share/php/.depdblock;
-	rm -rf debian/$(package)/usr/share/php/.depdb;
-	rm -rf debian/$(package)/usr/share/php/.registry/.channel.pecl.php.net;
-	rm -rf debian/$(package)/usr/share/php/.registry/.channel.doc.php.net;
-	rm -rf debian/$(package)/usr/share/php/.registry/.channel.__uri;
-	rm -rf debian/$(package)/tmp
-
-	# remove duplicated files, these files are in /usr/share/doc/package
-	rm -rf debian/$(package)/usr/share/php/docs;
-	rm -rf debian/$(package)/usr/share/php/tests;
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installexamples
-	dh_installchangelogs 
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/pear.mk

Modified: pear/php-validate/debian/watch
===================================================================
--- pear/php-validate/debian/watch	2010-06-18 15:10:35 UTC (rev 1427)
+++ pear/php-validate/debian/watch	2010-06-18 16:01:59 UTC (rev 1428)
@@ -1,2 +1,2 @@
 version=3
-http://pear.php.net/package/Validate http://download.pear.php.net/package/Validate-([\d.RC]+).tgz
+http://pear.php.net/package/Validate/download http://download.pear.php.net/package/Validate-([\d.RC]+).tgz




More information about the Pkg-php-commits mailing list