Author: apeeters-guest
Date: 2008-06-05 19:44:41 +0000 (Thu, 05 Jun 2008)
New Revision: 6535

Modified:
   trunk/libitext-java/debian/control
   trunk/libitext-java/debian/rules
Log:
Also build libitext-rtf-java and libitext-rups-java packages

Modified: trunk/libitext-java/debian/control
===================================================================
--- trunk/libitext-java/debian/control  2008-06-05 19:25:53 UTC (rev 6534)
+++ trunk/libitext-java/debian/control  2008-06-05 19:44:41 UTC (rev 6535)
@@ -20,3 +20,31 @@
  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.

Modified: trunk/libitext-java/debian/rules
===================================================================
--- trunk/libitext-java/debian/rules    2008-06-05 19:25:53 UTC (rev 6534)
+++ trunk/libitext-java/debian/rules    2008-06-05 19:44:41 UTC (rev 6535)
@@ -7,7 +7,7 @@
 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,7 +18,16 @@
        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
        dh_testroot


_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

Reply via email to