[ufo-core] 08/08: add the gir package and the -doc package
Frédéric-Emmanuel Picca
picca at moszumanska.debian.org
Sat Nov 30 20:54:13 UTC 2013
This is an automated email from the git hooks/post-receive script.
picca pushed a commit to branch master
in repository ufo-core.
commit deeb2391518e5f0e535db8b37a7c8049a87c9844
Author: Picca Frédéric-Emmanuel <picca at debian.org>
Date: Sat Nov 30 20:41:13 2013 +0100
add the gir package and the -doc package
---
debian/changelog | 2 +-
debian/control | 51 +++++++++++++++++++++++++++++++++------
debian/gir1.2-ufo-0.0.install | 1 +
debian/libufo-dev.install | 5 ++--
debian/libufo-doc.install | 1 +
debian/libufo3.install | 2 +-
debian/manpage.1.ex | 56 -------------------------------------------
debian/rules | 5 +++-
debian/ufo-core.doc-base.EX | 20 ----------------
9 files changed, 55 insertions(+), 88 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 22e4c3e..65061c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-ufo-core (0.3-1) unstable; urgency=low
+ufo-core (0.6.0.931-1) unstable; urgency=low
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
diff --git a/debian/control b/debian/control
index 00a52ca..fceeaa0 100644
--- a/debian/control
+++ b/debian/control
@@ -2,13 +2,15 @@ Source: ufo-core
Priority: extra
Maintainer: Picca Frédéric-Emmanuel <picca at debian.org>
Build-Depends: debhelper (>= 9),
- cmake,
+ gobject-introspection,
gtk-doc-tools,
libglib2.0-dev,
+ libgirepository1.0-dev,
libjson-glib-dev,
libzmq3-dev,
- ocl-icd-opencl-dev
-Standards-Version: 3.9.4
+ ocl-icd-opencl-dev,
+ python-dev
+Standards-Version: 3.9.5
Section: libs
Homepage: <insert the upstream URL, if relevant>
#Vcs-Git: git://git.debian.org/debian-science/packages/ufo-core.git
@@ -17,16 +19,27 @@ Homepage: <insert the upstream URL, if relevant>
Package: libufo-dev
Section: libdevel
Architecture: any
-Depends: libufo3 (= ${binary:Version})
+Depends: gir1.2-ufo-0.0 (= ${binary:Version}),
+ libglib2.0-dev,
+ libjson-glib-dev,
+ libufo3 (= ${binary:Version}),
+ libzmq3-dev,
+ ocl-icd-opencl-dev,
+ libpython-dev
Description: <insert up to 60 chars description>
<insert long description, indented with spaces>
+ .
+ This package contain the developpement files for libufo.
Package: libufo3
Section: libs
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${misc:Depends},
+ ${shlibs:Depends}
Description: <insert up to 60 chars description>
<insert long description, indented with spaces>
+ .
+ This package provides the runtime for libufo.
Package: libufo3-dbg
Section: debug
@@ -34,5 +47,29 @@ Architecture: any
Priority: extra
Depends: ${misc:Depends},
${shlibs:Depends}
-Description: toto
- roro
\ No newline at end of file
+Description: <insert up to 60 chars description>
+ <insert long description, indented with spaces>
+ .
+ This package provides the debug files for libufo.
+
+Package: libufo-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends},
+ libufo3 (= ${binary:Version})
+Description: <insert up to 60 chars description>
+ <insert long description, indented with spaces>
+ .
+ This package provides the documentation for libufo.
+
+Package: gir1.2-ufo-0.0
+Architecture: any
+Section: introspection
+Depends: ${gir:Depends},
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: <insert up to 60 chars description> - gir binding
+ <insert long description, indented with spaces>
+ .
+ This package can be used by other packages using the GIRepository format to
+ generate dynamic bindings.
\ No newline at end of file
diff --git a/debian/gir1.2-ufo-0.0.install b/debian/gir1.2-ufo-0.0.install
new file mode 100644
index 0000000..49d71c9
--- /dev/null
+++ b/debian/gir1.2-ufo-0.0.install
@@ -0,0 +1 @@
+usr/lib/*/girepository-1.0
diff --git a/debian/libufo-dev.install b/debian/libufo-dev.install
index 5774e64..b95899e 100644
--- a/debian/libufo-dev.install
+++ b/debian/libufo-dev.install
@@ -1,3 +1,4 @@
usr/include/*
-usr/lib/lib*.so
-usr/lib/pkgconfig/*
+usr/lib/*/lib*.so
+usr/lib/*/pkgconfig
+usr/share/gir-1.0/
\ No newline at end of file
diff --git a/debian/libufo-doc.install b/debian/libufo-doc.install
new file mode 100644
index 0000000..24dd06b
--- /dev/null
+++ b/debian/libufo-doc.install
@@ -0,0 +1 @@
+usr/share/gtk-doc
\ No newline at end of file
diff --git a/debian/libufo3.install b/debian/libufo3.install
index d0dbfd1..3ddde58 100644
--- a/debian/libufo3.install
+++ b/debian/libufo3.install
@@ -1 +1 @@
-usr/lib/lib*.so.*
+usr/lib/*/lib*.so.*
diff --git a/debian/manpage.1.ex b/debian/manpage.1.ex
deleted file mode 100644
index c76230c..0000000
--- a/debian/manpage.1.ex
+++ /dev/null
@@ -1,56 +0,0 @@
-.\" Hey, EMACS: -*- nroff -*-
-.\" (C) Copyright 2013 Picca Frédéric-Emmanuel <picca at debian.org>,
-.\"
-.\" First parameter, NAME, should be all caps
-.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
-.\" other parameters are allowed: see man(7), man(1)
-.TH UFO-CORE SECTION "July 27, 2013"
-.\" Please adjust this date whenever revising the manpage.
-.\"
-.\" Some roff macros, for reference:
-.\" .nh disable hyphenation
-.\" .hy enable hyphenation
-.\" .ad l left justify
-.\" .ad b justify to both left and right margins
-.\" .nf disable filling
-.\" .fi enable filling
-.\" .br insert line break
-.\" .sp <n> insert n+1 empty lines
-.\" for manpage-specific macros, see man(7)
-.SH NAME
-ufo-core \- program to do something
-.SH SYNOPSIS
-.B ufo-core
-.RI [ options ] " files" ...
-.br
-.B bar
-.RI [ options ] " files" ...
-.SH DESCRIPTION
-This manual page documents briefly the
-.B ufo-core
-and
-.B bar
-commands.
-.PP
-.\" TeX users may be more comfortable with the \fB<whatever>\fP and
-.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
-.\" respectively.
-\fBufo-core\fP is a program that...
-.SH OPTIONS
-These programs follow the usual GNU command line syntax, with long
-options starting with two dashes (`-').
-A summary of options is included below.
-For a complete description, see the Info files.
-.TP
-.B \-h, \-\-help
-Show summary of options.
-.TP
-.B \-v, \-\-version
-Show version of program.
-.SH SEE ALSO
-.BR bar (1),
-.BR baz (1).
-.br
-The programs are documented fully by
-.IR "The Rise and Fall of a Fooish Bar" ,
-available via the Info system.
diff --git a/debian/rules b/debian/rules
index 67131bf..0612f0a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,5 +3,8 @@
#export DH_VERBOSE=1
+override_dh_auto_configure:
+ dh_auto_configure -- --enable-gtk-doc
+
%:
- dh $@ --dbg-package=libufo3-dbg
+ dh $@ --with gir --dbg-package=libufo3-dbg
diff --git a/debian/ufo-core.doc-base.EX b/debian/ufo-core.doc-base.EX
deleted file mode 100644
index 060e160..0000000
--- a/debian/ufo-core.doc-base.EX
+++ /dev/null
@@ -1,20 +0,0 @@
-Document: ufo-core
-Title: Debian ufo-core Manual
-Author: <insert document author here>
-Abstract: This manual describes what ufo-core is
- and how it can be used to
- manage online manuals on Debian systems.
-Section: unknown
-
-Format: debiandoc-sgml
-Files: /usr/share/doc/ufo-core/ufo-core.sgml.gz
-
-Format: postscript
-Files: /usr/share/doc/ufo-core/ufo-core.ps.gz
-
-Format: text
-Files: /usr/share/doc/ufo-core/ufo-core.text.gz
-
-Format: HTML
-Index: /usr/share/doc/ufo-core/html/index.html
-Files: /usr/share/doc/ufo-core/html/*.html
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ufo-core.git
More information about the debian-science-commits
mailing list