[vlfeat] 01/07: initial debianization

Dima Kogan dkogan-guest at alioth.debian.org
Fri Nov 8 02:51:47 UTC 2013


This is an automated email from the git hooks/post-receive script.

dkogan-guest pushed a commit to branch master
in repository vlfeat.

commit 1f9b550baa130fb7aa09efa53d67393f1b569f46
Author: Dima Kogan <dima at secretsauce.net>
Date:   Wed Nov 6 23:33:37 2013 -0800

    initial debianization
---
 debian/changelog             |    5 +++++
 debian/compat                |    1 +
 debian/control               |   46 ++++++++++++++++++++++++++++++++++++++++++
 debian/copyright             |   37 +++++++++++++++++++++++++++++++++
 debian/gbp.conf              |    3 +++
 debian/libvlfeat-dev.install |    4 ++++
 debian/libvlfeat0.install    |    3 +++
 debian/rules                 |   26 ++++++++++++++++++++++++
 debian/source/format         |    1 +
 debian/watch                 |    3 +++
 10 files changed, 129 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..268a478
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+vlfeat (0.9.17+dfsg0-1) unstable; urgency=low
+
+  * Initial Debian release (Closes: #576124)
+
+ -- Dima Kogan <dima at secretsauce.net>  Wed, 06 Nov 2013 22:55:35 -0800
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..4ae7e38
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: vlfeat
+Section: science
+Priority: optional
+Build-Depends: debhelper (>= 9), dh-exec
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Dima Kogan <dima at secretsauce.net>
+Standards-Version: 3.9.4
+Homepage: http://www.vlfeat.org
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/vlfeat.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/vlfeat.git
+
+Package: libvlfeat0
+Section: libs
+Architecture: any
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Computer vision library focussing on visual features and clustering
+ VLFeat implements popular computer vision algorithms including SIFT, MSER,
+ k-means, hierarchical k-means, agglomerative information bottleneck, and quick
+ shift. It is written in C for efficiency and compatibility, with interfaces in
+ GNU octave for ease of use, and detailed documentation throughout
+
+Package: libvlfeat-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}, libvlfeat0 (= ${binary:Version})
+Description: Computer vision library focussing on visual features and clustering
+ VLFeat implements popular computer vision algorithms including SIFT, MSER,
+ k-means, hierarchical k-means, agglomerative information bottleneck, and quick
+ shift. It is written in C for efficiency and compatibility, with interfaces in
+ GNU octave for ease of use, and detailed documentation throughout
+ .
+ Development files
+
+Package: libvlfeat0-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: ${misc:Depends}, libvlfeat0 (= ${binary:Version})
+Description: Computer vision library focussing on visual features and clustering
+ VLFeat implements popular computer vision algorithms including SIFT, MSER,
+ k-means, hierarchical k-means, agglomerative information bottleneck, and quick
+ shift. It is written in C for efficiency and compatibility, with interfaces in
+ GNU octave for ease of use, and detailed documentation throughout
+ .
+ Debug symbols
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a9b2b0d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,37 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: http://www.vlfeat.org
+Upstream-Contact: Andrea Vedaldi, <vedaldi at robots.ox.ac.uk>
+Upstream-Name: VLFeat
+
+Files: *
+Copyright: 2007-2011 Andrea Vedaldi
+           2007-2011 Brian Fulkerson
+           2012-2013 The VLFeat Team
+License: BSD
+
+Files: debian/*
+Copyright: 2013 Dima Kogan <dima at secretsauce.net>
+License: BSD
+
+License: BSD
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the
+    distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..be3abbf
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,3 @@
+[DEFAULT]
+upstream-tag =v%(version)s
+pristine-tar = True
diff --git a/debian/libvlfeat-dev.install b/debian/libvlfeat-dev.install
new file mode 100755
index 0000000..c15bfd9
--- /dev/null
+++ b/debian/libvlfeat-dev.install
@@ -0,0 +1,4 @@
+#!/usr/bin/dh-exec
+
+vl/*.h /usr/include
+libvl*.so usr/lib/${DEB_HOST_MULTIARCH}
diff --git a/debian/libvlfeat0.install b/debian/libvlfeat0.install
new file mode 100755
index 0000000..66134b6
--- /dev/null
+++ b/debian/libvlfeat0.install
@@ -0,0 +1,3 @@
+#!/usr/bin/dh-exec
+
+libvl*.so.* usr/lib/${DEB_HOST_MULTIARCH}
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..86593c7
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# grab the version from the debian changelog
+VERSION := $(shell sed -n 's/.*(\([0-9\.]*[0-9]\).*).*/\1/;; p; q;' debian/changelog)
+
+# grab the API version from the library SONAME
+API_VERSION = $(shell objdump -p bin/*/libvl.so | perl -ne 'if(/^\s+SONAME\s+libvl.so./p) {print $${^POSTMATCH}; exit;}')
+
+%:
+	dh $@
+
+override_dh_auto_build:
+	make MKOCTFILE=`which mkoctfile` VERB=1 CFLAGS+=-g
+
+override_dh_auto_install:
+	cp bin/*/libvl.so libvl.so.$(VERSION)
+	ln -fs libvl.so.$(VERSION) libvl.so
+	ln -fs libvl.so.$(VERSION) libvl.so.$(API_VERSION)
+
+override_dh_strip:
+	dh_strip --dbg-package=libvlfeat0-dbg
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -f libvl.so*
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..e2d2c96
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version = 3
+opts=dversionmangle=s/\+dfsg|\+repack.*$// \
+  https://github.com/vlfeat/vlfeat/tags .*/tcpflow/archive/vlfeat-(\d[\d\.]+).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/vlfeat.git



More information about the debian-science-commits mailing list