First attempt at debianization
authorToni Nikkanen <toni@tuug.fi>
Sat, 7 Mar 2009 18:58:16 +0000 (20:58 +0200)
committerToni Nikkanen <toni@tuug.fi>
Sat, 7 Mar 2009 18:58:16 +0000 (20:58 +0200)
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/dirs [new file with mode: 0644]
debian/rules [new file with mode: 0755]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..5574368
--- /dev/null
@@ -0,0 +1,6 @@
+erwise (0.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- Toni Nikkanen <toni@tuug.fi>  Sat,  7 Mar 2009 20:49:16 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..045cfb8
--- /dev/null
@@ -0,0 +1,16 @@
+Source: erwise
+Section: user/other
+Priority: extra
+Maintainer: Toni Nikkanen <toni@tuug.fi>
+Build-Depends: debhelper (>= 5)
+Standards-Version: 3.7.2
+
+Package: erwise
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: The first graphical WWW browser from year 1992
+From http://en.wikipedia.org/wiki/Erwise
+Erwise was a pioneering web browser, and the first with a graphical user interface.[1]
+
+Released in April 1992, the browser was written for Unix computers running X and used the W3 common access library.[2], and was the combined master's project of four Finnish students at the Helsinki University of Technology; Kim Nyberg, Teemu Rantanen, Kati Suominen and Kari Sydänmaanlakka.[3][4] The group decided to create a web browser at the suggestion of Robert Cailliau, who was visiting the university,[5] and were supervised by Ari Lemmke.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..0032291
--- /dev/null
@@ -0,0 +1,22 @@
+This package was debianized by Toni Nikkanen <toni@tuug.fi> on
+Sat,  7 Mar 2009 20:49:16 +0200.
+
+It was downloaded from <fill in http/ftp site>
+
+Upstream Author: <put author(s) name and email here>
+
+Copyright: <put the year(s) of the copyright, and the names of the
+            copyright holder(s) here>
+
+License:
+
+<Put the license of the package here>
+
+
+The Debian packaging is (C) 2009, Toni Nikkanen <toni@tuug.fi> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
+
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..527b78f
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin
+usr/lib
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..79a42ed
--- /dev/null
@@ -0,0 +1,101 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -O0
+else
+       CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+       dh_testdir
+       # Add here commands to configure the package.
+
+       touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+       dh_testdir
+
+       # Add here commands to compile the package.
+       $(MAKE)
+       #docbook-to-man debian/erwise.sgml > erwise.1
+
+       touch $@
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp configure-stamp
+
+       # Add here commands to clean up after the build process.
+       -$(MAKE) clean
+       find . -name *.a|xargs rm -vf
+       find . -name *.o|xargs rm -vf
+
+       dh_clean 
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k 
+       dh_installdirs
+
+       # Add here commands to install the package into debian/erwise.
+       install erwise/erwise debian/erwise/usr/bin/
+       install lesstif-libs/* debian/erwise/usr/lib/
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs 
+       dh_installdocs
+       dh_installexamples
+#      dh_install
+#      dh_installmenu
+#      dh_installdebconf       
+#      dh_installlogrotate
+#      dh_installemacsen
+#      dh_installpam
+#      dh_installmime
+#      dh_python
+#      dh_installinit
+#      dh_installcron
+#      dh_installinfo
+       dh_installman
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+#      dh_perl
+#      dh_makeshlibs
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure