[lucene2] 13/104: Preparing for lucene 2.2...

Kai-Chung Yan seamlik-guest at moszumanska.debian.org
Wed Mar 23 16:27:25 UTC 2016


This is an automated email from the git hooks/post-receive script.

seamlik-guest pushed a commit to branch master
in repository lucene2.

commit 462da9cd8ea1af976856406fc413795887fc485f
Author: Jan-Pascal van Best <janpascal at vanbest.org>
Date:   Wed Aug 1 20:30:28 2007 +0000

    Preparing for lucene 2.2...
---
 debian/changelog |  7 +++++++
 debian/rules     | 26 +++++++++++++++++++++++++-
 2 files changed, 32 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 7b94170..99d7ad2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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)
diff --git a/debian/rules b/debian/rules
index 30b8425..1bb3788 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,8 +15,14 @@
 # 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:
@@ -193,4 +199,22 @@ binary: binary-indep
 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/lucene2.git



More information about the pkg-java-commits mailing list