--- applix-4.3.orig/debian/changelog +++ applix-4.3/debian/changelog @@ -0,0 +1,9 @@ +applix (4.3-2) unstable; urgency=low + + * Converted from RPM binary format to debian + + -- Joey Hess Thu, 15 May 1997 21:32:19 -0400 + +Local variables: +mode: debian-changelog +End: --- applix-4.3.orig/debian/control +++ applix-4.3/debian/control @@ -0,0 +1,18 @@ +Source: applix +Section: unknown +Priority: extra +Maintainer: Joey Hess +Standards-Version: 2.1.1.0 + +Package: applix +Architecture: i386 +Depends: ${shlibs:Depends} +Description: A Complete X Windows based Office Suite + Redhat's Applixware, a Office Suite for X. + This is a Converted RPM package. + . + Applixware is a complete X-Window-based Office Suite which provides + word processing, spreadsheet, presentation graphics, and more. + Applixware also includes Applix Builder, a graphical application builder + that allows you to build new applications that reuse Applixware + components. --- applix-4.3.orig/debian/copyright +++ applix-4.3/debian/copyright @@ -0,0 +1,20 @@ +This package was debianized by the alien program by converting +a binary RPM Package on Thu, 15 May 1997 21:33:36 -0400 + +Copyright: Commercial software. Do not distribute. + +Information from the binary Package: + +Name : applix Distribution: Applixware for Red Hat Linux +Version : 4.3 Vendor: Red Hat Software +Release : 1 Build Date: Thu Mar 20 15:25:05 1997 +Install date: (none) Build Host: imp.redhat.com +Group : X11/Applications Source RPM: applix-4.3-1.nosrc.rpm +Size : 57787719 +Summary : A Complete X-Window-based Office Suite +Description : +Applixware is a complete X-Window-based Office Suite which provides +word processing, spreadsheet, presentation graphics, and more. +Applixware also includes Applix Builder, a graphical application builder +that allows you to build new applications that reuse Applixware +components. --- applix-4.3.orig/debian/rules +++ applix-4.3/debian/rules @@ -0,0 +1,57 @@ +#!/usr/bin/make -f +# +# This is a special rules files for handling alien or binary packages +# Christoph Lameter, October 30, 1996 + +package=applix + +debian/build: + $(checkdir) + touch debian/build + +clean: + $(checkdir) + -rm -f debian/build + -rm -rf *~ debian/tmp debian/*~ debian/files* + +binary-indep: checkroot debian/build + $(checkdir) +# There are no architecture-independent files to be uploaded +# generated by this package. If there were any they would be +# made here. + +binary-arch: checkroot debian/build + $(checkdir) + -rm -rf debian/tmp +# Install binary package + install -d debian/tmp + install -d debian/tmp/usr/X11R6/bin + cd debian/tmp/usr/X11R6/bin && ln -sf ../lib/X11/applix/bin/applix + install -d debian/tmp/usr/X11R6/lib/X11 + # Moving the files like this is a little nasty, but this way we + # need far less disk space to build the package.. + mv opt/applix debian/tmp/usr/X11R6/lib/X11 + chmod +rx debian/tmp/usr/X11R6/lib/X11/applix debian/tmp/usr/X11R6/lib/X11/applix/axdata/elflib + debstd + dpkg-gencontrol + dpkg --build debian/tmp .. + mv debian/tmp/usr/X11R6/lib/X11/applix opt + +define checkdir + test -f debian/rules +endef + +# Below here is fairly generic really + +binary: binary-indep binary-arch + +build: debian/build + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +checkroot: + $(checkdir) + test root = "`whoami`" + +.PHONY: binary binary-arch binary-indep clean checkroot --- applix-4.3.orig/debian/README.debian +++ applix-4.3/debian/README.debian @@ -0,0 +1,7 @@ +This is a converted RPM package. + +I decided to move the files out of /opt, since debian doesn't have an /opt +yet. If the applix manual talks about files in /opt, look in +/usr/X11R6/lib/X11/applix, instead. + +-- Joey Hess --- applix-4.3.orig/debian/menu +++ applix-4.3/debian/menu @@ -0,0 +1 @@ +?package(applix):needs="x11" section="Apps/Editors" title="Applixware" command="applix" --- applix-4.3.orig/opt/applix/bin/applix +++ applix-4.3/opt/applix/bin/applix @@ -1,11 +1,8 @@ #!/bin/bash # Get the current prefix for the applix package: -if PRE=$(rpm -q --qf '%{INSTALLPREFIX}' applix 2>/dev/null) ; then : ; else - # applix has not been installed with RPM on this system. Assume that - # it is in /opt - PRE=/opt -fi +# Mod for debian: +PRE=/usr/X11R6/lib/X11 # Choose a default language: Set one of these variables before running # this script and you will choose the language you want. Otherwise, @@ -32,11 +29,12 @@ # We'll enforce 5.3.12 for greatest stability ldd $PRE/applix/applix | grep "5\.3\.12" >/dev/null 2>&1 || { [ -d $PRE/applix/lib ] || { - echo "Please install the applix-libs package; applix may not" >&2 + # mod for debian: just warn, don't force them to hit enter. + echo "You should condsider installing the applix-libs package; applix may not" >&2 echo "work with your current C library. " >&2 - echo >&2 - echo "Press enter to continue and try to run Applix anyway," >&2 - echo -n "or press control-c to abort:" >&2 +# echo >&2 +# echo "Press enter to continue and try to run Applix anyway," >&2 +# echo -n "or press control-c to abort:" >&2 } export LD_LIBRARY_PATH=$PRE/applix/lib/:$LD_LIBRARY_PATH }