Debian package
authorDaniel Garcia <dgarcia@yaco.es>
Tue, 27 Apr 2010 05:41:26 +0000 (05:41 +0000)
committerdanigm <danigm@aa302d1f-72b1-406a-902b-8593ca2b2744>
Tue, 27 Apr 2010 05:41:26 +0000 (05:41 +0000)
From: Daniel Garcia <dgarcia@yaco.es>

git-svn-id: https://forja.rediris.es/svn/cusl4-tbo@125 aa302d1f-72b1-406a-902b-8593ca2b2744

data/doodle/Makefile.am
debian/README [new file with mode: 0644]
debian/README.Debian [new file with mode: 0644]
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/docs [new file with mode: 0644]
debian/rules [new file with mode: 0755]

index 93a39f3..5f7cd8e 100644 (file)
@@ -71,19 +71,19 @@ guadalinexdir = $(datadir)/tbo/doodle/guadalinex/andatuz
 guadalinex_DATA = guadalinex/andatuz/*.svg
 
 EXTRA_DIST = \
-       doodle1/body/*.svg
-       doodle1/mouth/*.svg
-       doodle1/eyes/*.svg
-       bar/body/*.svg
-       foo/body/*.svg
-       foo/mouth/*.svg
-       foo/eyes/*.svg
-       accesories/pcs/*.svg
-       accesories/devices/*.svg
-       accesories/emotes/*.svg
-       accesories/actions/*.svg
-       bubble/ellipse/*.svg
-       bubble/square/*.svg
-       guadalinex/andatuz/*.svg
-       dgm/body/*.svg
+       doodle1/body/*.svg \
+       doodle1/mouth/*.svg \
+       doodle1/eyes/*.svg \
+       bar/body/*.svg \
+       foo/body/*.svg \
+       foo/mouth/*.svg \
+       foo/eyes/*.svg \
+       accesories/pcs/*.svg \
+       accesories/devices/*.svg \
+       accesories/emotes/*.svg \
+       accesories/actions/*.svg \
+       bubble/ellipse/*.svg \
+       bubble/square/*.svg \
+       guadalinex/andatuz/*.svg \
+       dgm/body/*.svg \
        tbo/logo/*.svg
diff --git a/debian/README b/debian/README
new file mode 100644 (file)
index 0000000..f93b6e0
--- /dev/null
@@ -0,0 +1,6 @@
+The Debian Package tbo
+----------------------------
+
+Comments regarding the Package
+
+ -- Daniel Garcia <dani@danigm.net>  Mon, 26 Apr 2010 09:51:33 +0200
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..1d8c9d9
--- /dev/null
@@ -0,0 +1,6 @@
+tbo for Debian
+--------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Daniel Garcia <dani@danigm.net>  Mon, 26 Apr 2010 09:51:33 +0200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..1b5a1cb
--- /dev/null
@@ -0,0 +1,5 @@
+tbo (0.93.001.git.e250) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Daniel Garcia <dani@danigm.net>  Mon, 26 Apr 2010 09:51:33 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..80deaab
--- /dev/null
@@ -0,0 +1,21 @@
+Source: tbo
+Section: gnome
+Priority: optional
+Maintainer: Daniel Garcia <dani@danigm.net>
+Build-Depends: debhelper (>= 5),
+               pkg-config,
+               libglib2.0-dev (>= 2.18.0),
+               libgtk2.0-dev (>= 2.16.0),
+               libgnome2-dev (>= 2.14.0),
+               gnome-pkg-tools (>= 0.10),
+               intltool (>= 0.40.0)
+Standards-Version: 3.8.1
+Homepage: http://danigm.net/TBO
+
+Package: tbo
+Architecture: any
+Depends: ${shlibs:Depends},
+         libgtk2.0-0,
+         ${misc:Depends}
+Description: Intuitive GNOME comic creator
+ TBO is a simple and easy drag and drop comic creator.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..3a1738a
--- /dev/null
@@ -0,0 +1,42 @@
+This package was debianized by:
+
+    Daniel Garcia <dani@danigm.net> on Mon, 26 Apr 2010 09:51:33 +0200
+
+It was downloaded from:
+
+    <http://github.com/danigm/TBO>
+
+Upstream Author(s):
+
+    Daniel Garcia <dani@danigm.net>
+
+Copyright:
+
+    Copyright (C) 2010 Daniel Garcia
+
+License:
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 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 General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+On Debian systems, the complete text of the GNU General
+Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'.
+
+The Debian packaging is:
+
+    Copyright (C) 2010 Daniel Garcia <dani@danigm.net>
+
+and is licensed under the GPL version 3, see above.
+
+# 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..ca882bb
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..5502ed8
--- /dev/null
@@ -0,0 +1,3 @@
+NEWS
+README
+TODO
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..19f45d9
--- /dev/null
@@ -0,0 +1,105 @@
+#!/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
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+else
+CROSS= --build $(DEB_BUILD_GNU_TYPE)
+endif
+
+
+
+config.status: configure
+       dh_testdir
+       # Add here commands to configure the package.
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+       cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+       cp -f /usr/share/misc/config.guess config.guess
+endif
+       ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+
+build: build-stamp
+
+build-stamp:  config.status 
+       dh_testdir
+
+       # Add here commands to compile the package.
+       $(MAKE)
+       #docbook-to-man debian/tbo.sgml > tbo.1
+
+       touch $@
+
+clean: 
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp 
+
+       # Add here commands to clean up after the build process.
+       [ ! -f Makefile ] || $(MAKE) distclean
+       rm -f config.sub config.guess
+
+       dh_clean 
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_prep  
+       dh_installdirs
+
+       # Add here commands to install the package into debian/tbo.
+       $(MAKE) DESTDIR=$(CURDIR)/debian/tbo install
+
+
+# Build architecture-independent files here.
+binary-indep: install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs ChangeLog
+       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