[libitext-java] 21/76: Also build libitext-rtf-java and libitext-rups-java packages

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jul 28 22:46:32 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 5147fc7300097919902f633e16dbc8e468aa739c
Author: Adriaan Peeters <apeeters at lashout.net>
Date:   Thu Jun 5 19:44:41 2008 +0000

    Also build libitext-rtf-java and libitext-rups-java packages
---
 debian/control | 28 ++++++++++++++++++++++++++++
 debian/rules   | 11 ++++++++++-
 2 files changed, 38 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index b3fe965..905f16f 100644
--- a/debian/control
+++ b/debian/control
@@ -20,3 +20,31 @@ Description: Java Library to generate PDF on the Fly
  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-rtf-java
+Architecture: all
+Section: libs
+Depends:  java-gcj-compat (>= 1.0.65) | java2-runtime, libitext-java
+Description: Java Library to generate PDF on the Fly (manipulate RTF files)
+ 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-rups-java
+Architecture: all
+Section: libs
+Depends:  java-gcj-compat (>= 1.0.65) | java2-runtime, libitext-java
+Description: Java Library to generate PDF on the Fly (GUI for Reading and Updating PDF Syntax)
+ 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/rules b/debian/rules
index 789dabc..98d7fee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ include /usr/share/cdbs/1/rules/simple-patchsys.mk
 JAVA_HOME            := /usr/lib/jvm/java-gcj
 ANT_HOME             := /usr/share/ant
 DEB_JARS             := servlet-2.3.jar ant-optional ecj $(ANT_HOME)/lib/ant-launcher.jar
-DEB_ANT_BUILD_TARGET := jar
+DEB_ANT_BUILD_TARGET := jar jar.rtf jar.rups
 DEB_ANT_CLEAN_TARGET :=
 DEB_ANT_BUILDFILE    := src/build.xml
 
@@ -18,6 +18,15 @@ install/lib$(LIBRARY_PACKAGE)-java::
 	install -m 644 lib/iText.jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/$(LIBRARY_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar
 	dh_link -plib$(LIBRARY_PACKAGE)-java usr/share/java/$(LIBRARY_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(LIBRARY_PACKAGE).jar
 
+install/lib$(LIBRARY_PACKAGE)-rtf-java::
+	dh_installdirs -plib$(LIBRARY_PACKAGE)-rtf-java usr/share/java
+	install -m 644 lib/iText-rtf.jar debian/lib$(LIBRARY_PACKAGE)-rtf-java/usr/share/java/$(LIBRARY_PACKAGE)-rtf-$(DEB_UPSTREAM_VERSION).jar
+	dh_link -plib$(LIBRARY_PACKAGE)-rtf-java usr/share/java/$(LIBRARY_PACKAGE)-rtf-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(LIBRARY_PACKAGE)-rtf.jar
+
+install/lib$(LIBRARY_PACKAGE)-rups-java::
+	dh_installdirs -plib$(LIBRARY_PACKAGE)-rups-java usr/share/java
+	install -m 644 lib/iText-rups.jar debian/lib$(LIBRARY_PACKAGE)-rups-java/usr/share/java/$(LIBRARY_PACKAGE)-rups-$(DEB_UPSTREAM_VERSION).jar
+	dh_link -plib$(LIBRARY_PACKAGE)-rups-java usr/share/java/$(LIBRARY_PACKAGE)-rups-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(LIBRARY_PACKAGE)-rups.jar
 
 clean::
 	dh_testdir

-- 
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