[pkg-java] r3949 - trunk/lucene2/debian

janpascal-guest at alioth.debian.org janpascal-guest at alioth.debian.org
Wed Aug 1 20:30:28 UTC 2007


Author: janpascal-guest
Date: 2007-08-01 20:30:28 +0000 (Wed, 01 Aug 2007)
New Revision: 3949

Modified:
   trunk/lucene2/debian/changelog
   trunk/lucene2/debian/rules
Log:
Preparing for lucene 2.2...

Modified: trunk/lucene2/debian/changelog
===================================================================
--- trunk/lucene2/debian/changelog	2007-08-01 20:30:23 UTC (rev 3948)
+++ trunk/lucene2/debian/changelog	2007-08-01 20:30:28 UTC (rev 3949)
@@ -1,3 +1,10 @@
+lucene2 (2.2.0-1~pre1) UNRELEASED; urgency=low
+
+  * New upstream release (2.2.0)
+  * (still based on pre-release version)
+
+ -- Jan-Pascal van Best <janpascal at vanbest.org>  Tue, 05 Jun 2007 10:40:11 +0200
+
 lucene2 (2.1.0-1) unstable; urgency=low
 
   * New upstream release (2.1.0)

Modified: trunk/lucene2/debian/rules
===================================================================
--- trunk/lucene2/debian/rules	2007-08-01 20:30:23 UTC (rev 3948)
+++ trunk/lucene2/debian/rules	2007-08-01 20:30:28 UTC (rev 3949)
@@ -15,9 +15,15 @@
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
 
+PACKAGE = lucene2
+DEBIAN_VERSION := $(shell dpkg-parsechangelog | grep "^Version:" | cut -c 10-)
+DEBIAN_ARCH := $(shell dpkg-architecture  | grep ^DEB_BUILD_ARCH= | cut -c 16-)
+
 # Upstream Lucene version
-LUCENE_VERSION = 2.1.0
+LUCENE_VERSION := $(shell echo $(DEBIAN_VERSION) | grep -o "^[[:digit:]\.]*")
+UPSTREAM_BASENAME = lucene-2.2-dev
 
+
 # Stuff from contrib we include
 # We do not include:
 #  - ant depends on JTidy
@@ -193,4 +199,22 @@
 binary-arch:
 	# empty
 
+remove-source:
+	rm -f build.xml
+	rm -f common-build.xml
+	rm -f *.txt
+	rm -f *stamp
+	rm -rf debian/patched
+	rm -rf build dist docs example lib src contrib
+
+restore-from-source: remove-source
+	tar xzf ../$(PACKAGE)_$(LUCENE_VERSION).orig.tar.gz
+	mv $(UPSTREAM_BASENAME)/* .
+	rmdir $(UPSTREAM_BASENAME)
+
+upload:
+	cd .. ; dupload -t vanbest $(PACKAGE)_$(DEBIAN_VERSION)_$(DEBIAN_ARCH).changes
+	#cd .. ; dupload -t mentors $(PACKAGE)_$(DEBIAN_VERSION)_$(DEBIAN_ARCH).changes
+
+
 .PHONY: patched build clean binary-indep binary-arch binary install install-indep install-arch configure




More information about the pkg-java-commits mailing list