Add initial debian package support
authorBrian McGillion <brian.mcgillion@intel.com>
Wed, 25 Apr 2012 09:06:57 +0000 (12:06 +0300)
committerBrian McGillion <brian.mcgillion@intel.com>
Wed, 25 Apr 2012 09:06:57 +0000 (12:06 +0300)
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/libsmack-dev.install [new file with mode: 0644]
debian/libsmack.install [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/smack-utils.install [new file with mode: 0644]
debian/source/format [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..affadf9
--- /dev/null
@@ -0,0 +1,5 @@
+smack (1.0) unstable; urgency=low
+
+  * Initial package release for debian
+
+ -- Brian McGillion <brian.mcgillion@intel.com>  Wed, 25 Apr 2012 11:00:09 +0900
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..14803bb
--- /dev/null
@@ -0,0 +1,37 @@
+Source: smack
+Section: Administration
+Priority: Optional
+Maintainer: Brian McGillion <brian.mcgillion@intel.com>
+Build-Depends: debhelper (>= 7.0.50), autoconf, libtool, dh-autoreconf
+Standards-Version: 3.9.1
+Vcs-Git: git://github.com/organizations/smack-team/smack.git
+Vcs-Browser: https://github.com/organizations/smack-team/smack
+
+Package: libsmack
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Package to interact with Smack
+ Library allows applications to work with Smack.
+
+Package: libsmack-dev
+Section: devel
+Architecture: any
+Depends: ${misc:Depends}, libsmack (= ${binary:Version})
+Description: Developmnent headers and libs for libsmack
+
+Package: libsmack-dbg
+Section: debug
+Architecture: any
+Depends: ${misc:Depends}, libsmack (= ${binary:Version})
+Description: Debug symbols for libsmack
+
+Package: smack-utils
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libsmack (= ${binary:Version})
+Description: A selection of tools for developers working with Smack.
+
+Package: smack-utils-dbg
+Section: debug
+Architecture: any
+Depends: ${misc:Depends}, smack-utils (= ${binary:Version})
+Description: Debug symbols for smack-utils
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..87d0945
--- /dev/null
@@ -0,0 +1,21 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: smack
+Source: https://github.com/organizations/smack-team/smack
+
+Files: debian/../*
+Copyright: 2012 Intel Corperation
+License: LGPL-V2
+ This package 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; version 2 of the License.
+ .
+ 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 Lesser General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License version 2 can be found in "/usr/share/common-licenses/LGPL-2".
diff --git a/debian/libsmack-dev.install b/debian/libsmack-dev.install
new file mode 100644 (file)
index 0000000..66a83f4
--- /dev/null
@@ -0,0 +1,3 @@
+usr/include/sys/*.h
+usr/lib/libsmack.so
+usr/lib/pkgconfig/*
diff --git a/debian/libsmack.install b/debian/libsmack.install
new file mode 100644 (file)
index 0000000..1bc7ae1
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/libsmack.so.1
+usr/lib/libsmack.so.1.0.0
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..b60ff97
--- /dev/null
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+       dh --with autoreconf $@
+
+.PHONY: override_dh_strip
+override_dh_strip:
+       dh_strip -plibsmack --dbg-package=libsmack-dbg
+       dh_strip -psmack-utils --dbg-package=smack-utils-dbg
diff --git a/debian/smack-utils.install b/debian/smack-utils.install
new file mode 100644 (file)
index 0000000..1df36c6
--- /dev/null
@@ -0,0 +1 @@
+usr/bin/*
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..89ae9db
--- /dev/null
@@ -0,0 +1 @@
+3.0 (native)