libquantum (1.1.0-1) debian-dir only changes

Summary

 debian/changelog              |   30 ++++++++++++++++++++
 debian/compat                 |    1 
 debian/control                |   56 +++++++++++++++++++++++++++++++++++++
 debian/copyright              |   33 ++++++++++++++++++++++
 debian/libquantum-dev.install |    4 ++
 debian/libquantum7.install    |    1 
 debian/rules                  |   62 ++++++++++++++++++++++++++++++++++++++++++
 debian/watch                  |    2 +
 8 files changed, 189 insertions(+)

    
download this patch

Patch contents

--- libquantum-1.1.0.orig/debian/rules
+++ libquantum-1.1.0/debian/rules
@@ -0,0 +1,62 @@
+#!/usr/bin/make -f
+
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \
+		--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \
+		--mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+	touch $@
+
+
+build: build-stamp
+build-stamp: configure-stamp
+	dh_testdir
+	$(MAKE)
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -f build-stamp configure-stamp
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGES
+	dh_installdocs
+	dh_install --fail-missing
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install build configure
--- libquantum-1.1.0.orig/debian/libquantum7.install
+++ libquantum-1.1.0/debian/libquantum7.install
@@ -0,0 +1 @@
+usr/lib/libquantum.so.*
--- libquantum-1.1.0.orig/debian/compat
+++ libquantum-1.1.0/debian/compat
@@ -0,0 +1 @@
+7
--- libquantum-1.1.0.orig/debian/copyright
+++ libquantum-1.1.0/debian/copyright
@@ -0,0 +1,33 @@
+Authors:
+ Björn Butscher
+ Hendrik Weimer
+Download: http://www.libquantum.de/downloads
+
+Files: *
+Copyright: (C) 2003-2008 Björn Butscher and Hendrik Weimer
+License: GPL-3+
+ libquantum 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; either version 3 of the License, or (at your option) any later
+ version.
+ .
+ libquantum 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.
+
+Files: debian/*
+Copyright: (C) 2009 Bradley Smith <brad@brad-smith.co.uk>
+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; either version 3 of the License, or (at your option) any later
+ version.
+ .
+ This program 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.
+
+On Debian systems, the complete text of the GNU General Public License can
+be found in /usr/share/common-licenses/GPL-3 file.
--- libquantum-1.1.0.orig/debian/libquantum-dev.install
+++ libquantum-1.1.0/debian/libquantum-dev.install
@@ -0,0 +1,4 @@
+usr/lib/libquantum.so
+usr/lib/libquantum.la
+usr/lib/libquantum.a
+usr/include/*
--- libquantum-1.1.0.orig/debian/changelog
+++ libquantum-1.1.0/debian/changelog
@@ -0,0 +1,30 @@
+libquantum (1.1.0-1) unstable; urgency=low
+
+  * New maintainer. Closes: #523175.
+  * New upstream release. Closes: #502714, #514271.
+  * debian/control:
+    - Update Standards-Version to 3.8.1.
+    - Upgrade compat version to 7 and upgrade debhelper Build-Depends.
+    - Add Homepage field.
+    - Add Vcs-* fields.
+    - Replace use of ${Source-Version}.
+    - Add ${misc:Depends}.
+    - Rename binary package to reflect soname.
+  * Tidy up debian/rules.
+  * Convert copyright to machine readable format.
+  * Add watch file.
+
+ -- Bradley Smith <bradsmith@debian.org>  Sat, 18 Apr 2009 18:51:27 +0100
+
+libquantum (0.2.4-2) unstable; urgency=low
+
+  * Added spaces before \'es in Makefile.in (Closes: #353132).
+
+ -- Florian Ragwitz <rafl@debian.org>  Sat, 18 Feb 2006 00:10:44 +0100
+
+libquantum (0.2.4-1) unstable; urgency=low
+
+  * Initial release (Closes: #338877).
+
+ -- Florian Ragwitz <rafl@debian.org>  Sun, 13 Nov 2005 15:16:37 +0100
+
--- libquantum-1.1.0.orig/debian/watch
+++ libquantum-1.1.0/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://www.libquantum.de/downloads /files/libquantum-([\d\.]+).tar.gz
--- libquantum-1.1.0.orig/debian/control
+++ libquantum-1.1.0/debian/control
@@ -0,0 +1,56 @@
+Source: libquantum
+Section: libs
+Priority: optional
+Maintainer: Bradley Smith <bradsmith@debian.org>
+Standards-Version: 3.8.1
+Build-Depends: debhelper (>= 7)
+Homepage: http://www.libquantum.de/
+Vcs-Git: http://git.brad-smith.co.uk/git/debian/pkg-libquantum.git
+Vcs-Browser: http://git.brad-smith.co.uk/?p=debian/pkg-libquantum.git
+
+Package: libquantum-dev
+Section: libdevel
+Architecture: any
+Depends: libquantum7 (= ${binary:Version}), ${misc:depends}
+Description: library for the simulation of a quantum computer
+ libquantum is a C library for the simulation of a quantum computer. Based on
+ the principles of quantum mechanics, it provides an implementation of a
+ quantum register. Basic operations for register manipulation such as the
+ Hadamard gate or the Controlled-NOT gate are available through an easy-to-use
+ interface. Measurements can be performed on either single qubits or the whole
+ quantum register.
+ .
+ Features:
+  * Simulation of arbitrary quantum algorithms is possible
+  * High perfomance and low memory consumption
+  * Decoherence support for realistic quantum computation
+  * Interface for quantum error correction (QEC)
+  * Supports the density operator formalism
+  * Implementations of Shor's factoring algorithm and Grover's search
+    algorithm are included
+ .
+ This package contains the header files and static libraries which are needed
+ to develop applications based on libquantum.
+
+Package: libquantum7
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:depends}
+Description: library for the simulation of a quantum computer
+ libquantum is a C library for the simulation of a quantum computer. Based on
+ the principles of quantum mechanics, it provides an implementation of a
+ quantum register. Basic operations for register manipulation such as the
+ Hadamard gate or the Controlled-NOT gate are available through an easy-to-use
+ interface. Measurements can be performed on either single qubits or the whole
+ quantum register.
+ .
+ Features:
+  * Simulation of arbitrary quantum algorithms is possible
+  * High perfomance and low memory consumption
+  * Decoherence support for realistic quantum computation
+  * Interface for quantum error correction (QEC)
+  * Supports the density operator formalism
+  * Implementations of Shor's factoring algorithm and Grover's search
+    algorithm are included
+ .
+ This package contains the shared libraries.