[libjcommon-java] 01/31: Initial commit
Markus Koschany
apo at moszumanska.debian.org
Sat Oct 15 17:04:08 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository libjcommon-java.
commit 6dad0a02c7e031b78d29a7fb74d0a9f9f4078784
Author: Christian Bayle <bayle at debian.org>
Date: Tue Jul 15 21:25:59 2003 +0000
Initial commit
---
debian/README.Debian | 18 +++++++++
debian/changelog | 15 ++++++++
debian/control | 22 +++++++++++
debian/copyright | 34 +++++++++++++++++
debian/libjcommon-java.dirs | 1 +
debian/libjcommon-java.docs | 2 +
debian/rules | 91 +++++++++++++++++++++++++++++++++++++++++++++
debian_patch | 2 +
8 files changed, 185 insertions(+)
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..cac489f
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,18 @@
+jcommon-java for Debian
+--------------------------
+Web site is http://www.jfree.org
+
+I took JCommon version as a reference version
+
+About Object Refinery Limited:
+
+Since late 1999, Object Refinery Limited has been actively involved in developing free (also referred to as "open source")
+software and related products. They make use of the web and open, collaborative development techniques to extend the reach
+of one small company to a world-wide audience. At the current time, they are:
+
+ * the principal sponsor of www.jfree.org;
+ * managers of the JFreeChart project;
+ * suppliers of documentation and support services for JFreeChart;
+ * the publisher of a free user guide for GnuCash.
+
+ -- Christian Bayle <bayle at debian.org>, Wed, 2 Jul 2003 22:49:43 +0200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..430dad1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,15 @@
+libjcommon-java (0.8.3-2) unstable; urgency=low
+
+ * Change way of managing external libs
+
+ -- Christian Bayle <bayle at debian.org> Thu, 10 Jul 2003 08:54:54 +0200
+
+libjcommon-java (0.8.3-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Christian Bayle <bayle at debian.org> Sat, 5 Jul 2003 15:27:56 +0200
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..1744339
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: libjcommon-java
+Section: contrib/libs
+Priority: optional
+Maintainer: Christian Bayle <bayle at debian.org>
+Build-Depends-Indep: debhelper (>> 4.0.0), j2sdk1.4, ant, junit
+Standards-Version: 3.5.8
+
+Package: libjcommon-java
+Section: contrib/libs
+Architecture: all
+Depends: j2re1.4
+Description: General Purpose library for Java
+ JCommon is a free general purpose Java class library that is used in
+ several projects at The Object Refinery, including JFreeChart and
+ JFreeReport.
+ The library includes:
+ * user interface classes for displaying information about applications
+ * custom layout managers
+ * a date chooser panel
+ * serialization utilities
+ * XML parser support classes
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..16436c1
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+This package was debianized by Christian Bayle <bayle at debian.org> on
+Wed, 2 Jul 2003 22:49:43 +0200.
+
+It was downloaded from http://sourceforge.net/projects/jfreechart/ and http://www.jfree.org
+
+Upstream Authors: David Gilbert (david.gilbert at object-refinery.com) and others
+
+Thanks to the following developers who have contributed code to this
+class library: Anthony Boulestreau, Jeremy Bowman, J. David
+Eisenberg, Paul English, Hans-Jurgen Greiner, Bill Kelemen, Achilleus
+Mantzios, Thomas Meier, Krzysztof Paz, Andrzej Porebski, Nabuo
+Tamemasa, Mark Watson and Hari.
+
+Copyright:
+
+ (C)opyright, 2000-2003, by Simba Management Limited and Contributors.
+
+ This package is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this package; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
diff --git a/debian/libjcommon-java.dirs b/debian/libjcommon-java.dirs
new file mode 100644
index 0000000..b67bc01
--- /dev/null
+++ b/debian/libjcommon-java.dirs
@@ -0,0 +1 @@
+/usr/share/java
diff --git a/debian/libjcommon-java.docs b/debian/libjcommon-java.docs
new file mode 100644
index 0000000..3a31a95
--- /dev/null
+++ b/debian/libjcommon-java.docs
@@ -0,0 +1,2 @@
+jcommon-0.8.3/javadoc
+jcommon-0.8.3/README
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ea06632
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,91 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# Build
+export JAVA_HOME=/usr/lib/j2se/1.4
+export JAVA=/usr/lib/j2se/1.4/bin/java
+export JAVAC=/usr/lib/j2se/1.4/bin/javac
+export CLASSPATH=/usr/lib/j2se/1.4/jre/lib/rt.jar
+
+export LIBRARY = $(shell head -1 debian/control | sed 's/Source. lib\(.*\)-java/\1/')
+export VERSION = $(shell head -1 debian/changelog | sed 's/.*(\(.*\)-.*).*/\1/' )
+export SRCDIR=$(LIBRARY)-$(VERSION)
+export CURDIR=$(shell pwd)
+
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+ tar xvzf $(LIBRARY)-$(VERSION).tar.gz
+ ./debian_patch $(SRCDIR)/ant/build.xml
+ touch configure-stamp
+
+
+build: configure build-stamp
+build-stamp:
+ dh_testdir
+ # Use debian jar
+ [ ! -f $(SRCDIR)/src/jcommon_overview.html ] && cp jcommon_overview.html $(SRCDIR)/src/ || true
+ # Compile
+ cd $(SRCDIR)/ant; ant compile
+ touch build-stamp
+
+javadoc:
+ # Remove Empty code
+ echo $(SRCDIR)/javadoc > debian/libjcommon-java.docs
+ echo $(SRCDIR)/README >> debian/libjcommon-java.docs
+ -rm -rf $(SRCDIR)/javadoc
+ cd $(SRCDIR)/ant; ant javadoc
+
+clean:
+ dh_testdir
+ dh_testroot
+ -rm -f build-stamp
+ -rm -f configure-stamp
+ -rm -rf $(SRCDIR)
+ dh_clean
+
+install: build javadoc
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ #
+ # Package
+ #
+ install -m 644 $(SRCDIR)/$(LIBRARY)-$(VERSION).jar \
+ debian/tmp/usr/share/java/$(LIBRARY)-$(VERSION).jar
+ ln -s $(LIBRARY)-$(VERSION).jar debian/tmp/usr/share/java/$(LIBRARY).jar
+
+# Build architecture-independent files here.
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+# dh_installdebconf
+ dh_installdocs
+ dh_installexamples
+# dh_installmenu
+# dh_installemacsen
+# dh_installpam
+# dh_installinit
+# dh_installcron
+# dh_installman
+# dh_installinfo
+# dh_undocumented
+ dh_installchangelogs
+ dh_link
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+# dh_perl
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+
+binary: binary-indep
+
+.PHONY: binary binary-indep clean
diff --git a/debian_patch b/debian_patch
new file mode 100755
index 0000000..540feb4
--- /dev/null
+++ b/debian_patch
@@ -0,0 +1,2 @@
+perl -pi -e 's:\${basedir}/lib/gnujaxp.jar:/usr/share/java/gnujaxp.jar:' $1
+perl -pi -e 's:\${basedir}/junit/junit.jar:/usr/share/java/junit.jar:' $1
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libjcommon-java.git
More information about the pkg-java-commits
mailing list