summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@openedhand.com>2008-05-05 12:35:16 +0100
committerEmmanuele Bassi <ebassi@openedhand.com>2008-05-05 12:35:16 +0100
commit26479ec3c342889a2ee822bdf73f2e5fb6e170d7 (patch)
tree46bec0c38b9a1c0309175a5dbeaa3bd8cb155727
parent8b5b5f6a4fdfb219897d75893889014f44ba4bb0 (diff)
parent7ff91344d21b0c26d3a3a2834dbf09286cb1f904 (diff)
downloadjson-glib-26479ec3c342889a2ee822bdf73f2e5fb6e170d7.tar.gz
Add debian packaging to the master branch
Merge branch 'debian-packaging'
-rw-r--r--debian/changelog6
-rw-r--r--debian/compat1
-rw-r--r--debian/control61
-rw-r--r--debian/copyright27
-rw-r--r--debian/libjson-glib-dev.install3
-rw-r--r--debian/libjson-glib-doc.install1
-rw-r--r--debian/libjson-glib-doc.links1
-rw-r--r--debian/libjson-glib0.install1
-rwxr-xr-xdebian/rules12
9 files changed, 113 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..61ad996
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+json-glib (0.6.0-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Emmanuele Bassi <ebassi@openedhand.com> Thu, 01 May 2008 15:22:36 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..29471a3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,61 @@
+Source: json-glib
+Section: libs
+Priority: optional
+Maintainer: Emmanuele Bassi <ebassi@openedhand.com>
+Uploaders: Rob Bradford <robster@debian.org>, Ross Burton <ross@openedhand.com>
+Build-Depends: debhelper (>= 5), cdbs, libglib2.0-dev, gtk-doc-tools
+Standards-Version: 3.7.2
+
+Package: libjson-glib0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: GLib JSON manipulation library
+ JSON-GLib is a library for parsing, generating and manipulating JavaScript
+ Object Notation (JSON) data streams using the GLib type system. It allows
+ manipulating JSON data types with a Document Object Model API. It also
+ allows serializing and deserializing simple or complex GObjects to and
+ from JSON data types.
+
+Package: libjson-glib0-dbg
+Section: libdevel
+Priority: extra
+Architecture: any
+Depends: libjson-glib0 (= ${binary:Version})
+Description: GLib JSON manipulation library (debug symbols)
+ JSON-GLib is a library for parsing, generating and manipulating JavaScript
+ Object Notation (JSON) data streams using the GLib type system. It allows
+ manipulating JSON data types with a Document Object Model API. It also
+ allows serializing and deserializing simple or complex GObjects to and
+ from JSON data types.
+ .
+ This package contains the debug files.
+
+Package: libjson-glib-dev
+Section: libdevel
+Architecture: any
+Depends: libjson-glib0 (= ${binary:Version}), pkg-config, libglib2.0-dev, ${misc:Depends}
+Suggests: libjson-glib-doc
+Description: GLib JSON manipulation library (development files)
+ JSON-GLib is a library for parsing, generating and manipulating JavaScript
+ Object Notation (JSON) data streams using the GLib type system. It allows
+ manipulating JSON data types with a Document Object Model API. It also
+ allows serializing and deserializing simple or complex GObjects to and
+ from JSON data types.
+ .
+ This package contains the development files.
+
+Package: libjson-glib-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: devhelp
+Description: GLib JSON manipulation library (documentation)
+ JSON-GLib is a library for parsing, generating and manipulating JavaScript
+ Object Notation (JSON) data streams using the GLib type system. It allows
+ manipulating JSON data types with a Document Object Model API. It also
+ allows serializing and deserializing simple or complex GObjects to and
+ from JSON data types.
+ .
+ This package contains the documentation.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c701d22
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+This package was debianized by Emmanuele Bassi <ebassi@openedhand.com> on Thu, 01 May 2008 15:31:18 +0100
+
+It was downloaded from:
+ http://folks.o-hand.com/ebassi/source/json-glib-0.6.0.tar.gz
+
+Upstream Authors:
+ Emmanuele Bassi <ebassi@openedhand.com>
+
+Copyright (C) 2008 OpenedHand Ltd.
+
+License:
+
+ This library is free software; you can redistribute it and/or modify it under
+ the terms of the GNU Lesser General Public License as published by the Free
+ Software Foundation; either version 2 of the License, or (at your option) any
+ later version.
+
+ This library 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 Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License along
+ with this library; 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/LGPL-2'.
diff --git a/debian/libjson-glib-dev.install b/debian/libjson-glib-dev.install
new file mode 100644
index 0000000..22c6c3f
--- /dev/null
+++ b/debian/libjson-glib-dev.install
@@ -0,0 +1,3 @@
+debian/tmp/usr/lib/*.so
+debian/tmp/usr/lib/pkgconfig/
+debian/tmp/usr/include/
diff --git a/debian/libjson-glib-doc.install b/debian/libjson-glib-doc.install
new file mode 100644
index 0000000..612e6e9
--- /dev/null
+++ b/debian/libjson-glib-doc.install
@@ -0,0 +1 @@
+debian/tmp/usr/share/gtk-doc/html/json-glib
diff --git a/debian/libjson-glib-doc.links b/debian/libjson-glib-doc.links
new file mode 100644
index 0000000..3c979b3
--- /dev/null
+++ b/debian/libjson-glib-doc.links
@@ -0,0 +1 @@
+usr/share/gtk-doc/html/clutter usr/share/doc/libclutter-doc/html
diff --git a/debian/libjson-glib0.install b/debian/libjson-glib0.install
new file mode 100644
index 0000000..79bbe2f
--- /dev/null
+++ b/debian/libjson-glib0.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/*.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..dd11645
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/utils.mk
+
+DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,-O1 -Wl,--as-needed"
+DEB_COMPRESS_EXCLUDE = .c
+DEB_CONFIGURE_EXTRA_FLAGS := --enable-gtk-doc
+
+common-binary-predeb-arch:: list-missing