# HG changeset patch
# User melunko
# Date 1165368763 0
# Node ID cc92e11a0c7177c68684ad3bdf484e2931ea5ddb
# Parent  4bed4ce6b681eadbde678957436572241ca010c0
[svn r201] Changed debian/control to enable two different packages gmyth and gmyth-dev

diff -r 4bed4ce6b681 -r cc92e11a0c71 gmyth/debian/control
--- a/gmyth/debian/control	Wed Dec 06 00:10:35 2006 +0000
+++ b/gmyth/debian/control	Wed Dec 06 01:32:43 2006 +0000
@@ -1,16 +1,19 @@
-Source: gmyth 
-Section: user/accessories
+Source: gmyth
 Priority: optional
-Maintainer: Hallyson Melo <hallyson.melo@indt.org.br> 
-Build-Depends: debhelper, libgtk2.0-dev (>= 2.4.0),
+Maintainer: Hallyson Melo <hallyson.melo@indt.org.br>
+Build-Depends: debhelper (>= 4.0.0)
 Standards-Version: 3.6.2
+Section: libs
 
 Package: gmyth
+Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Provides: MythTV
-Description: MythTV frontend
- NONONONONONONONONONONONONONONONONO
- NONONONONONONONONONONo
- .
- NONNONONONON
+Description: The gmyth library binary files. GMyth is a library intended to access mythtv backend functionalities from a glib/gobject perspective. It includes access to the program guide, recorded programs, scheduling, etc.
+
+Package: gmyth-dev
+Section: libdevel
+Architecture: any
+Depends: gmyth (= ${Source-Version})
+Description: The gmyth library development files. GMyth is a library intended to access mythtv backend functionalities from a glib/gobject perspective. It includes access to the program guide, recorded programs, scheduling, etc.
+
diff -r 4bed4ce6b681 -r cc92e11a0c71 gmyth/debian/control.in
--- a/gmyth/debian/control.in	Wed Dec 06 00:10:35 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-Source: gmyth 
-Section: user/accessories
-Priority: optional
-Maintainer: Hallyson Melo <hallyson.melo@indt.org.br> 
-Build-Depends: debhelper, libgtk2.0-dev (>= 2.4.0),
-Standards-Version: 3.6.2
-
-Package: gmyth
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Provides: MythTV
-Description: MythTV frontend
- NONONONONONONONONONONONONONONONONO
- NONONONONONONONONONONo
- .
- NONNONONONON
diff -r 4bed4ce6b681 -r cc92e11a0c71 gmyth/debian/gmyth-dev.install
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gmyth/debian/gmyth-dev.install	Wed Dec 06 01:32:43 2006 +0000
@@ -0,0 +1,6 @@
+debian/tmp/usr/include/*
+debian/tmp/usr/lib/lib*.a
+debian/tmp/usr/lib/lib*.so
+debian/tmp/usr/lib/pkgconfig/*
+debian/tmp/usr/lib/*.la
+debian/tmp/usr/share/pkgconfig/*
diff -r 4bed4ce6b681 -r cc92e11a0c71 gmyth/debian/gmyth.install
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gmyth/debian/gmyth.install	Wed Dec 06 01:32:43 2006 +0000
@@ -0,0 +1,1 @@
+debian/tmp/usr/lib/lib*.so.*
diff -r 4bed4ce6b681 -r cc92e11a0c71 gmyth/debian/rules
--- a/gmyth/debian/rules	Wed Dec 06 00:10:35 2006 +0000
+++ b/gmyth/debian/rules	Wed Dec 06 01:32:43 2006 +0000
@@ -1,15 +1,20 @@
 #!/usr/bin/make -f
-# -*- mode: makefile; coding: utf-8 -*-
 
 include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/gnome.mk
+include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
-include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
+include /usr/share/cdbs/1/rules/utils.mk
 
-DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr
+# debian package version
+version=$(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2)
 
-#binary-install/gmyth::
-#	/usr/bin/install -p -m 644 debian/gmyth.png `pwd`/debian/gmyth/usr/share/pixmaps
-#	/usr/bin/install -p -m 644 debian/mmyth.desktop `pwd`/debian/mmyth/usr/share/applications/hildon
-#	/usr/bin/install -p -m 644 debian/mmyth.service `pwd`/debian/mmyth/usr/share/dbus-1/services
+maint: debian/control
 
+common_conf_flags = \
+	--disable-debug
+
+# FIXME: should disable docs for arch only builds
+DEB_CONFIGURE_EXTRA_FLAGS := $(common_conf_flags)
+
+
+.PHONY: maint