From 5b4d87d2451376bd223e24c7eb797c7ec6ff22b2 Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Fri, 9 Feb 2018 22:30:06 +1000 Subject: [PATCH] + debian packaging --- debian/.rules.swp | Bin 0 -> 12288 bytes debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 22 ++++++++++++++++++++++ debian/copyright | 28 ++++++++++++++++++++++++++++ debian/docs | 2 ++ debian/libsimdb-dev.dirs | 1 + debian/libsimdb-dev.install | 1 + debian/libsimdb1.dirs | 1 + debian/libsimdb1.install | 1 + debian/rules | 32 ++++++++++++++++++++++++++++++++ debian/source/format | 1 + debian/watch | 3 +++ 13 files changed, 98 insertions(+) create mode 100644 debian/.rules.swp create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/libsimdb-dev.dirs create mode 100644 debian/libsimdb-dev.install create mode 100644 debian/libsimdb1.dirs create mode 100644 debian/libsimdb1.install create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/.rules.swp b/debian/.rules.swp new file mode 100644 index 0000000000000000000000000000000000000000..85b7d40ab026d35ade5df1efed6f962042dd308f GIT binary patch literal 12288 zcmeI2%Wl&^6o#jCRf%#(u$+=2rGT53Rw_a&!fD(lG&ea;Ti96R%p|em8=f(07r>?) z9s!;LgaqZXWW`hP0;n6$dY-^IL&)f} z#}Ceq&Xe7XgfLHRrXL?RT1-YPK5P~tPtw2~7mtLO^IS)|K6l{OaaoXy6Hmy)BX9;9 zKm$iHkf^qHYrHvkb9N?Op1CqX&!1}^B?;G{0W^RH&;S}h184vZpaC>+Obw`Lggk}b zPYn9MFu0EVb{*W}1r4A9G=K)s02)98XaEhM0W^RH&;S}Zh6WfX#26>!6_Eb_zyJIH z>uEwh0o#BABrpeD2ELyn7(OTaEt( z#l^{N!N}XiTEns{&GLUuvP!zSRGcE2G2XRVqC&eB25q;K#De}aVCci44-WRWUlyv; z$-Ct0ZIYora|0T&R*!YuphIOVb|Xa{CIzQqK>66u$s{8-qcB!9%`6v|%lb;guIQzz zW$X32Q7zC#s;zrBG>u6u5P}O11@^KHzltqyUI32|N620`7O>|-JsM>cxu}3 zkwSfS#WptTHPf>D<@*w#>g@gwHuOrpYz(PE8OV$U Fri, 17 Feb 2017 11:41:54 +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e0abbae --- /dev/null +++ b/debian/control @@ -0,0 +1,22 @@ +Source: libsimdb +Priority: optional +Maintainer: Alex 'AdUser' Z +Build-Depends: debhelper (>= 9), cmake, libgraphicsmagick1-dev, + graphicsmagick-libmagick-dev-compat +Standards-Version: 3.9.5 +Section: libs +Homepage: https://github.com/AdUser/libsimdb +Vcs-Git: https://github.com/AdUser/libsimdb.git +Vcs-Browser: https://github.com/AdUser/libsimdb + +Package: libsimdb-dev +Section: libdevel +Architecture: all +Depends: libsimdb1 (= ${binary:Version}), ${misc:Depends} +Description: library for searching visually similar images + Headers and development files + +Package: libsimdb1 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: library for searching visually similar images diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..1a897de --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: libsimdb +Source: https://github.com/AdUser/libsimdb + +Files: * +Copyright: 2015-2017 Alex 'AdUser' Z +License: LGPL-2.0+ + +Files: debian/* +Copyright: 2018 Alex 'AdUser' Z +License: LGPL-2.0+ + +License: LGPL-2.0+ + 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; either + version 2 of the License, or (at your option) any later version. + . + 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 + Lesser General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-2". diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..44a76fc --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +README.md +docs/*.md diff --git a/debian/libsimdb-dev.dirs b/debian/libsimdb-dev.dirs new file mode 100644 index 0000000..e43b95c --- /dev/null +++ b/debian/libsimdb-dev.dirs @@ -0,0 +1 @@ +usr/include diff --git a/debian/libsimdb-dev.install b/debian/libsimdb-dev.install new file mode 100644 index 0000000..41a1414 --- /dev/null +++ b/debian/libsimdb-dev.install @@ -0,0 +1 @@ +usr/include/* diff --git a/debian/libsimdb1.dirs b/debian/libsimdb1.dirs new file mode 100644 index 0000000..6845771 --- /dev/null +++ b/debian/libsimdb1.dirs @@ -0,0 +1 @@ +usr/lib diff --git a/debian/libsimdb1.install b/debian/libsimdb1.install new file mode 100644 index 0000000..d0dbfd1 --- /dev/null +++ b/debian/libsimdb1.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ce15cce --- /dev/null +++ b/debian/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#DH_VERBOSE = 1 + +# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk + +# see FEATURE AREAS in dpkg-buildflags(1) +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# see ENVIRONMENT in dpkg-buildflags(1) +# package maintainers to append CFLAGS +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +# package maintainers to append LDFLAGS +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + + +# main packaging script based on dh7 syntax +%: + dh $@ + +# debmake generated override targets +# This is example for Cmake (See http://bugs.debian.org/641051 ) +#override_dh_auto_configure: +# dh_auto_configure -- \ +# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) + + + + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..fdced5c --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/libsimdb-$1\.tar\.gz/ \ + https://github.com/AdUser/libsimdb/releases .*/v?(\d\S*)\.tar\.gz