[lucene2] 10/104: Rationalised package a bit
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 ae32ae4f2445242d7ee0c43b4978f646545b6c00
Author: Jan-Pascal van Best <janpascal at vanbest.org>
Date: Wed Aug 1 20:30:10 2007 +0000
Rationalised package a bit
---
debian/TODO.Debian | 6 ++++--
debian/patches/02_full.dpatch | 1 -
debian/patches/03_fix-benchmark-jar-locations.dpatch | 1 -
debian/rules | 6 ++----
4 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/debian/TODO.Debian b/debian/TODO.Debian
index d38f1b8..cf03ae5 100644
--- a/debian/TODO.Debian
+++ b/debian/TODO.Debian
@@ -1,5 +1,7 @@
-TODO list for Debian package of Lucene 2
-----------------------------------------
+TODO
+----
+
+Stuff to do regarding packaging of lucene-2.x.x:
- Split up patches/02_full.dpatch
- Add patch to prevent downloading of external libraries by ant
diff --git a/debian/patches/02_full.dpatch b/debian/patches/02_full.dpatch
index 4da3636..0ee8e08 100755
--- a/debian/patches/02_full.dpatch
+++ b/debian/patches/02_full.dpatch
@@ -1,7 +1,6 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 02_full.dpatch by Jan-Pascal van Best <janpascal at vanbest.org>
##
-## All lines beginning with `## DP:' are a description of the patch.
## DP: This patch file contains various patches to get Lucene to work
## DP: nicely with Debian. Needs to be split up in separate patches.
diff --git a/debian/patches/03_fix-benchmark-jar-locations.dpatch b/debian/patches/03_fix-benchmark-jar-locations.dpatch
index 1a6c152..31d49a5 100755
--- a/debian/patches/03_fix-benchmark-jar-locations.dpatch
+++ b/debian/patches/03_fix-benchmark-jar-locations.dpatch
@@ -1,7 +1,6 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 03_fix-benchmark-jar-locations.dpatch by Jan-Pascal van Best <janpascal at vanbest.org>
##
-## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix build.xml of contrib/benchmark so that it uses the jar files
## DP: in /usr/share/java instead of those in the Lucene source tarball
diff --git a/debian/rules b/debian/rules
index 04bbcf1..30b8425 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,5 @@
#!/usr/bin/make -f
# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
#
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
@@ -113,9 +112,7 @@ install-indep:
dh_clean -k -i
dh_installdirs -i
- # Add here commands to install the indep part of the package into
- # debian/<package>-doc.
- #INSTALLDOC#
+ # Install the libraries into the liblucene2-java package
install -m 0644 build/lucene-core-$(LUCENE_VERSION).jar $(CURDIR)/debian/liblucene2-java/usr/share/java
ln -s lucene-core-$(LUCENE_VERSION).jar $(CURDIR)/debian/liblucene2-java/usr/share/java/lucene-core.jar
@@ -134,6 +131,7 @@ install-indep:
install -d $(CURDIR)/debian/liblucene2-java/usr/share/doc/liblucene2-java
cp -a contrib/javascript $(CURDIR)/debian/liblucene2-java/usr/share/doc/liblucene2-java/
+ # Install the documentation into the liblucene2-java-doc package
mkdir -p $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/
cp -r docs $(CURDIR)/debian/liblucene2-java-doc/usr/share/doc/liblucene2-java-doc/
--
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