[libitext-java] 01/76: Initial commit

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jul 28 22:46:29 UTC 2016


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

ebourg-guest pushed a commit to branch master
in repository libitext-java.

commit d3d577aa2ffb7b1d7097f1ce7707bf55342b6861
Author: Christian Bayle <bayle at debian.org>
Date:   Tue Jul 15 21:03:39 2003 +0000

    Initial commit
---
 debian/README.Debian          |   4 ++
 debian/changelog              |   9 ++++
 debian/control                |  34 ++++++++++++
 debian/copyright              |  26 +++++++++
 debian/libitext-java-doc.docs |   2 +
 debian/libitext-java.dirs     |   1 +
 debian/rules                  | 119 ++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 195 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..67e9059
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,4 @@
+libitext-java for Debian
+------------------------
+
+ -- Christian Bayle <bayle at debian.org>, Mon,  7 Jul 2003 00:47:01 +0200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..8c8639a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,9 @@
+libitext-java (1.00-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Christian Bayle <bayle at debian.org>  Mon,  7 Jul 2003 00:47:01 +0200
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2fb4858
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: libitext-java
+Section: contrib/libs
+Priority: optional
+Maintainer: Christian Bayle <bayle at debian.org>
+Build-Depends-Indep: debhelper (>> 4.0.0), j2sdk1.4, ant, libservlet2.3-java
+Standards-Version: 3.5.8
+
+Package: libitext-java
+Section: contrib/libs
+Architecture: all
+Depends: gij-3.2 | j2re1.4 | java1-runtime | java2-runtime
+Description: Java Library to generate PDF on the Fly
+ iText is a library that allows you to generate PDF files on the fly.
+ The iText classes are very useful for people who need to generate read-only,
+ platform independent documents containing text, lists, tables and images.
+ The library is especially useful in combination with Java(TM)
+ technology-based Servlets: The look and feel of HTML is browser dependent;
+ with iText and PDF you can control exactly how your servlet's output will look.
+ iText requires JDK 1.2. It's available for free under a multiple license:
+ MPL and LGPL.
+
+Package: libitext-java-doc
+Section: contrib/doc
+Architecture: all
+Description: Java Library to generate PDF on the Fly Documentation
+ iText is a library that allows you to generate PDF files on the fly.
+ The iText classes are very useful for people who need to generate read-only,
+ platform independent documents containing text, lists, tables and images.
+ The library is especially useful in combination with Java(TM)
+ technology-based Servlets: The look and feel of HTML is browser dependent;
+ with iText and PDF you can control exactly how your servlet's output will look.
+ iText requires JDK 1.2. It's available for free under a multiple license:
+ MPL and LGPL.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f9b50d1
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+This package was debianized by Christian Bayle <bayle at debian.org>, Mon,  7 Jul 2003 00:47:01 +0200
+
+It was downloaded from http://www.lowagie.com/iText/download.html
+using ant download.site command on downloaded build.xml
+
+Upstream Authors: Bruno Lowagie and the co-developer Paulo Soares
+
+Copyright:
+
+    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/libitext-java-doc.docs b/debian/libitext-java-doc.docs
new file mode 100644
index 0000000..343ab92
--- /dev/null
+++ b/debian/libitext-java-doc.docs
@@ -0,0 +1,2 @@
+www
+docs
diff --git a/debian/libitext-java.dirs b/debian/libitext-java.dirs
new file mode 100644
index 0000000..b67bc01
--- /dev/null
+++ b/debian/libitext-java.dirs
@@ -0,0 +1 @@
+/usr/share/java
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a2be9b6
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,119 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# Build 
+# Choose the VM
+# Kaffe
+#export JAVA_HOME=/usr/lib/kaffe
+#export JAVA=/usr/lib/kaffe/bin/java
+#export JAVAC=/usr/bin/jikes-kaffe
+#export CLASSPATH=/usr/share/kaffe
+# Sablevm
+#export JAVA_HOME=/usr/lib/sablevm
+#export JAVA=/usr/bin/sablevm
+#export JAVAC=/usr/bin/jikes-sablevm
+#export CLASSPATH=/usr/share/sablevm/classes
+# Blackdown
+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
+# GCJ
+#export CLASSPATH=/usr/share/java/libgcj.jar
+#export JAVAC=/usr/bin/jikes-gij
+#export JAVAC=/usr/bin/gcj-wrapper-3.2
+
+# Javadoc stuffs
+#export JAVADOC=javadoc-gjdoc
+#export JAVADOC=javadoc
+# Jar
+#export JAR=fastjar
+
+export LIBRARY = $(shell head -1 debian/control | sed 's/Source. lib\(.*\)-java/\1/')
+export VERSION = $(shell head -1 debian/changelog | sed 's/.*(\(.*\)-.*).*/\1/' )
+
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+	mkdir src 
+	(cd src; tar xvzf ../dist/src.tar.gz ; tar xvzf ../dist/srcXML.tar.gz)
+	mkdir lib
+	(cd lib; ln -s /usr/share/java/servlet-2.3.jar j2ee.jar)
+	touch configure-stamp
+
+
+build: configure build-stamp
+build-stamp:
+	dh_testdir
+	# Use debian jar to use debian jars
+	# Ant compile
+	#J2EE_HOME=. ant compileWithXML
+	J2EE_HOME=. ant jarWithXML
+	touch build-stamp
+
+javadoc: 
+	rm -f debian/libitext-java-doc.docs
+	echo www > debian/libitext-java-doc.docs
+	echo docs >> debian/libitext-java-doc.docs
+	mkdir www
+	(cd www; tar xvzf ../dist/www.tar.gz)
+	(cd www/examples; tar xvzf ../../dist/examples.tar.gz)
+	(cd www/tutorial;tar xvzf ../../dist/tutorial.tar.gz)
+	# Use Helper 
+	J2EE_HOME=.  ant javadoc #examples
+
+clean:
+	dh_testdir
+	dh_testroot
+	-rm -f build-stamp
+	-rm -f configure-stamp
+	-rm -rf lib src bin classes www docs dist/*.jar
+	dh_clean
+
+install: build javadoc
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	#
+	# Package 
+	#
+	install -m 644 bin/*.jar \
+	debian/tmp/usr/share/java/
+	mv debian/tmp/usr/share/java/iText.jar debian/tmp/usr/share/java/iText-$(VERSION).jar
+	ln -s iText-$(VERSION).jar debian/tmp/usr/share/java/$(LIBRARY).jar
+	ln -s iText-$(VERSION).jar debian/tmp/usr/share/java/iText.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

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



More information about the pkg-java-commits mailing list