[Forensics-changes] [SCM] debian-forensics/libphash branch, debian, updated. upstream/0.7-1-g76cf3af

Tiago Bortoletto Vaz tiago at debian.org
Tue Dec 15 01:26:12 UTC 2009


The following commit has been merged in the debian branch:
commit 76cf3af7b9926a62f3a05a0fc49c55fa9538c879
Author: Tiago Bortoletto Vaz <tiago at debian.org>
Date:   Mon Dec 14 23:27:11 2009 -0200

    Adding ./debian

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ef4fc17
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libphash (0.7-1) unstable; urgency=low
+
+  * Initial Release. (Closes: #519290)
+
+ -- Tiago Bortoletto Vaz <tiago at debian.org>  Mon, 14 Dec 2009 00:05:34 -0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..3bc397d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,51 @@
+Source: libphash
+Section: libs
+Priority: optional
+Maintainer: Debian Forensics <forensics-devel at lists.alioth.debian.org>
+Uploaders: Tiago Bortoletto Vaz <tiago at debian.org>
+Build-Depends: debhelper (>= 7), libavformat-dev, libavcodec-dev, libswscale-dev, libfftw3-dev, libjpeg-dev, libpng-dev, cimg-dev
+Standards-Version: 3.8.3
+Homepage: http://phash.org
+Vcs-Browser: http://git.debian.org/?p=forensics/libphash.git
+Vcs-Git: git://git.debian.org/forensics/libphash.git
+
+Package: libphash0
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Perceptual hashing library
+ Unlike cryptographic hash functions which rely on an avalanche effect of
+ changes in input leading to drastic changes in the output, perceptual
+ hashes are "close" to one another if the inputs are visually or
+ auditorily similar.
+ .
+ Perceptual hashes have applications in searching, identifying potential
+ copyright infringement, locating duplicates etc. - since a fingerprint
+ of a file is usually less than 1% of the original media file's size,
+ the fingerprint can be stored in a database and used for semantic
+ searching, such as finding all images that look like another.
+ .
+ pHash implements several perceptual hashing algorithms and provides a
+ C++ API to use those functions in your own programs.
+
+Package: libphash0-dev
+Architecture: any
+Section: libdevel
+Depends: ${misc:Depends}, ${shlibs:Depends}, libphash0 (= ${binary:Version})
+Provides: libphash-dev
+Description: Perceptual hashing library development package
+ Unlike cryptographic hash functions which rely on an avalanche effect of
+ changes in input leading to drastic changes in the output, perceptual
+ hashes are "close" to one another if the inputs are visually or
+ auditorily similar.
+ .
+ Perceptual hashes have applications in searching, identifying potential
+ copyright infringement, locating duplicates etc. - since a fingerprint
+ of a file is usually less than 1% of the original media file's size,
+ the fingerprint can be stored in a database and used for semantic
+ searching, such as finding all images that look like another.
+ .
+ pHash implements several perceptual hashing algorithms and provides a
+ C++ API to use those functions in your own programs.
+ .
+ This package provides the files necessary to compile programs which
+ use pHash library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3105373
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,22 @@
+Format-Specification:
+       http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=112
+Name: pHash
+Naintainer: Evan Klinger <eklinger at phash.org>,
+            David Starkweather <dstarkweather at phash.org>
+Source: http://phash.org/releases/
+
+Files: *
+Copyright: 2009, Evan Klinger <eklinger at phash.org>,
+           2009, David Starkweather <dstarkweather at phash.org>
+License: GPL-3
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 3 dated June, 2007.
+ On Debian GNU/Linux systems, the complete text of version 3 of the GNU
+ General Public License can be found in `/usr/share/common-licenses/GPL-3'
+
+Files: debian/*
+Copyright: 2009, Tiago Bortoletto Vaz <tiago at debian.org>
+License: GPL-2+
+ On Debian systems, the complete text of the GNU General Public License
+ can be found in /usr/share/common-licenses/GPL-2 file.
diff --git a/debian/libphash0-dev.examples b/debian/libphash0-dev.examples
new file mode 100644
index 0000000..7c8b6ef
--- /dev/null
+++ b/debian/libphash0-dev.examples
@@ -0,0 +1 @@
+examples/*.cpp
diff --git a/debian/libphash0-dev.install b/debian/libphash0-dev.install
new file mode 100644
index 0000000..bc46d08
--- /dev/null
+++ b/debian/libphash0-dev.install
@@ -0,0 +1,5 @@
+debian/tmp/usr/lib/*.so usr/lib
+debian/tmp/usr/lib/*.la usr/lib
+debian/tmp/usr/lib/*.a usr/lib
+debian/tmp/usr/include/* usr/include
+debian/tmp/usr/lib/pkgconfig/* usr/lib/pkgconfig
diff --git a/debian/libphash0.install b/debian/libphash0.install
new file mode 100644
index 0000000..1dd7c70
--- /dev/null
+++ b/debian/libphash0.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/*.so.* usr/lib
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2a40804
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,39 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+clean:
+	dh $@
+	rm -f build-stamp
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	dh_auto_configure
+	touch $@
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh $@
+
+binary-arch: install
+	dh_installdocs TODO
+	dh_installexamples
+	dh_lintian
+	dh_strip
+	dh_compress -X.cpp
+	dh_fixperms
+	dh_makeshlibs -V
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-indep:
+
+binary: binary-arch
+
+.PHONY: clean build install binary binary-arch binary-indep
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..916d09d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://phash.org/releases/pHash-(.+)\.tar\.gz

-- 
debian-forensics/libphash



More information about the forensics-changes mailing list