debian/0000775000000000000000000000000012272761310007171 5ustar debian/rules0000775000000000000000000000247212272760606010265 0ustar #!/usr/bin/make -f CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS) LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed export CPPFLAGS CFLAGS LDFLAGS DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) export AUTOHEADER = true %: dh $@ --parallel --with autoreconf override_dh_auto_configure: [ -f config.guess.orig ] || mv -f config.guess config.guess.orig [ -f config.sub.orig ] || mv -f config.sub config.sub.orig ln -sf /usr/share/misc/config.guess config.guess ln -sf /usr/share/misc/config.sub config.sub CFLAGS="$(CFLAGS)" ./configure \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \ --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info override_dh_auto_clean: dh_testroot [ ! -f Makefile ] || $(MAKE) distclean [ ! -f config.guess.orig ] || mv -f config.guess.orig config.guess [ ! -f config.sub.orig ] || mv -f config.sub.orig config.sub rm -f build-stamp configure-stamp override_dh_auto_install: $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/ override_dh_installchangelogs: dh_installchangelogs CHANGES get-orig-source: uscan --noconf --verbose --force-download --rename --download-current-version debian/watch0000664000000000000000000000012012143750037010214 0ustar version=3 http://www.libquantum.de/downloads /files/libquantum-([\d\.]+).tar.gz debian/changelog0000664000000000000000000001021012272761156011045 0ustar libquantum (1.1.1-3ubuntu1) trusty; urgency=medium * Use dh-autoreconf to get new libtool macros for ppc64el. * Disable autoheader to fix FTBFS during autoreconf. * Use system libtool to fix another error after autoreconf. -- Logan Rosen Fri, 31 Jan 2014 12:43:21 -0500 libquantum (1.1.1-3) unstable; urgency=low * Move package to unstable: no changes required. -- Boris Pek Sun, 12 May 2013 20:23:08 +0300 libquantum (1.1.1-2) experimental; urgency=low * Update debian/control: package libquantum8 does not need to replace and conflict with libquantum7. -- Boris Pek Thu, 07 Mar 2013 19:12:51 +0200 libquantum (1.1.1-1) experimental; urgency=low * Update to stable release 1.1.1. * Bump Standards-Version to 3.9.4 (was 3.9.3): no changes required. * Bump debhelper version to 8 (was 7.0.50~); update debian/compat. * Simplify debian/rules. * Update debian/control: - rename package libquantum7 to libquantum8 - package libquantum8 replaces and conflicts with libquantum7 - libquantum-dev depends from libquantum8 * Rename debian/libquantum7.install to debian/libquantum8.install. * Update debian/patches/add-hardening-flags-to-compiler-options. * Update years in debian/copyright. * Delete debian/list. -- Boris Pek Wed, 06 Mar 2013 22:32:59 +0200 libquantum (1.1.0-3) unstable; urgency=low * New maintainer. (Closes: #674883) * Update Vcs-* fields in debian/control. * Small fix in debian/changelog. * Add patch: debian/patches/add-hardening-flags-to-compiler-options -- Boris Pek Fri, 31 Aug 2012 01:07:44 +0300 libquantum (1.1.0-2) unstable; urgency=low [ Boris Pek ] * QA upload. * Updated Vcs-* fields in debian/control. * Package was switched to source format 3.0 (quilt). * Added build dependency from autotools-dev. * Bumped Standards-Version to 3.9.3. * debian/copyright was updated: file was updated in according to Copyright format 1.0 * debian/rules was updated: - now dh is used instead of direct dh_* commands - used hardening flags in compiler options - added section get-orig-source (uscan is used) - fixed FTBFS because of outdated config.{sub,guess} (Closes: #572527) * Fixed such lintian errors, warnings and wishes: + libquantum source: - binary-control-field-duplicates-source field "section" in package libquantum7 - duplicate-short-description libquantum-dev libquantum7 - outdated-autotools-helper-file config.sub 2004-11-30 - outdated-autotools-helper-file config.guess 2004-11-12 - debhelper-but-no-misc-depends libquantum-dev - debhelper-but-no-misc-depends libquantum7 - missing-debian-source-format - debian-rules-missing-recommended-target build-arch - debian-rules-missing-recommended-target build-indep - ancient-standards-version 3.8.1 (current is 3.9.3) + libquantum7: - hardening-no-fortify-functions usr/lib/libquantum.so.7.0.0 + libquantum-dev: - non-empty-dependency_libs-in-la-file usr/lib/libquantum.la [ Sylvestre Ledru ] * Set maintainer to Debian Science (see #674883). -- Boris Pek Tue, 19 Jun 2012 01:05:07 +0300 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 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 Sat, 18 Feb 2006 00:10:44 +0100 libquantum (0.2.4-1) unstable; urgency=low * Initial release (Closes: #338877). -- Florian Ragwitz Sun, 13 Nov 2005 15:16:37 +0100 debian/compat0000664000000000000000000000000212143750037010370 0ustar 8 debian/copyright0000664000000000000000000000206012143750037011123 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libquantum Upstream-Contact: Björn Butscher and Hendrik Weimer Source: http://www.libquantum.de/downloads Files: * Copyright: 2003-2013 Björn Butscher 2003-2013 Hendrik Weimer License: GPL-3+ Files: debian/* Copyright: 2009 Bradley Smith 2012-2013 Boris Pek License: GPL-3+ 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. debian/source/0000775000000000000000000000000012143750037010472 5ustar debian/source/format0000664000000000000000000000001412143750037011700 0ustar 3.0 (quilt) debian/control0000664000000000000000000000504712272760322010604 0ustar Source: libquantum Section: libs Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Science Team Uploaders: Boris Pek Standards-Version: 3.9.4 Build-Depends: debhelper (>= 8), autotools-dev, dh-autoreconf Homepage: http://www.libquantum.de/ Vcs-Git: git://anonscm.debian.org/debian-science/packages/libquantum.git Vcs-Browser: http://git.debian.org/?p=debian-science/packages/libquantum.git Package: libquantum-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, libquantum8 (= ${binary:Version}) Description: library for the simulation of a quantum computer (development files) 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: libquantum8 Architecture: any Depends: ${misc:Depends}, ${shlibs: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. debian/libquantum-dev.install0000664000000000000000000000007112143750037013515 0ustar usr/lib/libquantum.so usr/lib/libquantum.a usr/include/* debian/patches/0000775000000000000000000000000012272761305010624 5ustar debian/patches/add-hardening-flags-to-compiler-options0000664000000000000000000000054512143750037020250 0ustar Description: Add hardening flags to compiler options Author: Boris Pek Last-Update: 2013-03-06 --- a/Makefile.in +++ b/Makefile.in @@ -49,7 +49,7 @@ # Flags passed to C compiler CFLAGS=@CFLAGS@ @OPENMP_CFLAGS@ -LDFLAGS=-rpath $(LIBDIR) -version-info 8:0:0 +LDFLAGS=@LDFLAGS@ -rpath $(LIBDIR) -version-info 8:0:0 # Dependencies debian/patches/series0000664000000000000000000000007312272761070012040 0ustar add-hardening-flags-to-compiler-options use-system-libtool debian/patches/use-system-libtool0000664000000000000000000000024312272761305014326 0ustar --- a/Makefile.in +++ b/Makefile.in @@ -44,7 +44,7 @@ CC=@CC@ INSTALL=@INSTALL@ -LIBTOOL=@LIBTOOL@ +LIBTOOL=libtool --tag=CC # Flags passed to C compiler debian/libquantum8.install0000664000000000000000000000003012143750037013024 0ustar usr/lib/libquantum.so.*