aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bzrignore5
-rw-r--r--debian/control20
-rw-r--r--debian/libqmenumodel-dev.install4
-rw-r--r--debian/libqmenumodel0.install2
-rw-r--r--debian/qmenumodel-qml.install2
5 files changed, 31 insertions, 2 deletions
diff --git a/.bzrignore b/.bzrignore
index b81357f..7722c4c 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -26,7 +26,10 @@ doc/qmenumodel.qdocconf
obj-*
debian/files
-debian/qmenumodel-qml
+debian/tmp
+debian/libqmenumodel0/
+debian/libqmenumodel-dev/
+debian/qmenumodel-qml/
debian/*.debhelper
debian/*.debhelper.log
debian/*.substvars
diff --git a/debian/control b/debian/control
index 211a3c1..9e83194 100644
--- a/debian/control
+++ b/debian/control
@@ -10,10 +10,28 @@ Build-Depends: debhelper (>= 8.0.0),
qtdeclarative (>= 5.0),
Standards-Version: 3.9.2
+Package: libqmenumodel0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+Description: Qt binding for GMenuModel - shared library
+
+Package: libqmenumodel-dev
+Section: libdevel
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ libqmenumodel0 (= ${binary:Version}),
+ qtbase (>= 5.0),
+Description: Qt binding for GMenuModel - development files
+
+
Package: qmenumodel-qml
Section: libs
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
-Description: QML bindings for GMenuModel
+ libqmenumodel0 (= ${binary:Version}),
+Description: Qt binding for GMenuModel - QML module
diff --git a/debian/libqmenumodel-dev.install b/debian/libqmenumodel-dev.install
new file mode 100644
index 0000000..31c0d09
--- /dev/null
+++ b/debian/libqmenumodel-dev.install
@@ -0,0 +1,4 @@
+usr/include/qmenumodel/*.h
+usr/lib/*/pkgconfig/qmenumodel.pc
+usr/lib/*/libqmenumodel.so
+
diff --git a/debian/libqmenumodel0.install b/debian/libqmenumodel0.install
new file mode 100644
index 0000000..bea61ce
--- /dev/null
+++ b/debian/libqmenumodel0.install
@@ -0,0 +1,2 @@
+usr/lib/*/libqmenumodel.so.*
+
diff --git a/debian/qmenumodel-qml.install b/debian/qmenumodel-qml.install
new file mode 100644
index 0000000..58ec19a
--- /dev/null
+++ b/debian/qmenumodel-qml.install
@@ -0,0 +1,2 @@
+opt/qt5/imports/QMenuModel/*
+