[gnac/devel: 5/5] Add debian folder, for .deb building



commit c1010d13232a8242a4325ab6efff6ab07516dea9
Author: David Joaquim <djoaquim src gnome org>
Date:   Sun May 9 16:09:11 2010 +0200

    Add debian folder, for .deb building

 debian/changelog |    5 +++
 debian/compat    |    1 +
 debian/control   |   14 +++++++
 debian/copyright |   40 ++++++++++++++++++++
 debian/dirs      |    1 +
 debian/docs      |    3 ++
 debian/rules     |  105 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 169 insertions(+), 0 deletions(-)
---
diff --git a/debian/changelog b/debian/changelog
new file mode 100755
index 0000000..76f013b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+gnac (0.2.1-0~ppa3) lucid; urgency=low
+
+  * Gnac-0.2.1 bump for lucid
+
+ -- David Joaquim <david joaquim gmail com>  Sun, 18 Apr 2010 19:14:17 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100755
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100755
index 0000000..8525281
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,14 @@
+Source: gnac
+Section: sound
+Priority: optional
+Maintainer: David Joaquim <david joaquim gmail com>
+Build-Depends: debhelper (>= 7), autotools-dev, intltool (>= 0.40.5-0ubuntu1), binutils, gettext, libgstreamer0.10-dev (>= 0.10.21),  libgtk2.0-dev (>= 2.16), libglib2.0-dev (>= 2.18), libgconf2-dev, libxml2-dev, libgstreamer-plugins-base0.10-dev (>= 0.10.21)
+Standards-Version: 3.8.3
+Homepage: http://gnac.sf.net
+
+Package: gnac
+Architecture: i386 amd64
+Depends: intltool (>= 0.40.5-0ubuntu1), binutils, gettext, libgstreamer0.10-0 (>= 0.10.21), libgtk2.0-0 (>= 2.16), libglib2.0-0 (>= 2.18), libgconf2-4, libxml2, libgstreamer-plugins-base0.10-0 (>= 0.10.21)
+Description: An audio converter for GNOME
+ Gnac is designed to be powerful but simple! It provides easy audio
+ files conversion between all GStreamer supported audio formats.
diff --git a/debian/copyright b/debian/copyright
new file mode 100755
index 0000000..59265b1
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,40 @@
+This package was debianized by Benoit Dupasquier <bdupasqu users sourceforge net> on
+Mon, 06 Apr 2009 18:50:19 +0200.
+
+It was downloaded from http://gnac.sf.net
+
+Upstream Author(s):
+
+    DUPASQUIER  Benoit    <bdupasqu users sourceforge net>
+    JOAQUIM     David     <daiji users sourceforge net>
+    ROUX        Alexandre <alexandreroux users sourceforge net>
+
+Copyright:
+
+    Copyright (C) 2007-2009 Gnac
+
+License:
+
+    This package 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 2 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 package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2009, Benoit Dupasquier <bdupasqu users sourceforge net> and
+is licensed under the GPL, 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 100755
index 0000000..e772481
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/docs b/debian/docs
new file mode 100755
index 0000000..5502ed8
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+NEWS
+README
+TODO
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..7407ee5
--- /dev/null
+++ b/debian/rules
@@ -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/gnac.sgml > gnac.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_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/gnac.
+	$(MAKE) DESTDIR=$(CURDIR)/debian/gnac install
+
+
+# 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 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 
diff --git a/debian/substvars b/debian/substvars
new file mode 100755
index 0000000..e69de29



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]