r45118 - in /packages/libquantum/trunk/debian: changelog control copyright libquantum-dev.install libquantum3.install libquantum7.install rules source/ source/format watch

sylvestre at users.alioth.debian.org sylvestre at users.alioth.debian.org
Mon Jun 25 16:01:23 UTC 2012


Author: sylvestre
Date: Mon Jun 25 16:01:22 2012
New Revision: 45118

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=45118
Log:
* QA upload.
* Deleted Vcs-* fields from 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
* Set maintainer to Debian Science (see #674883).
* 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.

Added:
    packages/libquantum/trunk/debian/libquantum7.install
    packages/libquantum/trunk/debian/source/
    packages/libquantum/trunk/debian/source/format
    packages/libquantum/trunk/debian/watch
Removed:
    packages/libquantum/trunk/debian/libquantum3.install
Modified:
    packages/libquantum/trunk/debian/changelog
    packages/libquantum/trunk/debian/control
    packages/libquantum/trunk/debian/copyright
    packages/libquantum/trunk/debian/libquantum-dev.install
    packages/libquantum/trunk/debian/rules

Modified: packages/libquantum/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/libquantum/trunk/debian/changelog?rev=45118&op=diff
==============================================================================
--- packages/libquantum/trunk/debian/changelog (original)
+++ packages/libquantum/trunk/debian/changelog Mon Jun 25 16:01:22 2012
@@ -1,13 +1,57 @@
-libquantum (1.0.0-1) unstable; urgency=low
+libquantum (1.1.0-2) unstable; urgency=low
 
-  * New upstream version (Closes: #502714, #514271)
-  * Change of maintainer to debian-science
-  * Add myself as uploader
-  * Standard version updated to 3.8.1
-  * Homepage, Vcs-Svn, Vcs-Browser, DM-Upload-Allowed added to control
-  * copyright file converted to UTF-8
+  * QA upload.
+  * Deleted Vcs-* fields from 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 <sylvestre.ledru at inria.fr>  Sat, 11 Apr 2009 14:45:10 +0200
+  [ Sylvestre Ledru ]
+  * Set maintainer to Debian Science (see #674883).
+
+ -- Boris Pek <tehnick-8 at mail.ru>  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 <bradsmith at debian.org>  Sat, 18 Apr 2009 18:51:27 +0100
 
 libquantum (0.2.4-2) unstable; urgency=low
 

Modified: packages/libquantum/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/libquantum/trunk/debian/control?rev=45118&op=diff
==============================================================================
--- packages/libquantum/trunk/debian/control (original)
+++ packages/libquantum/trunk/debian/control Mon Jun 25 16:01:22 2012
@@ -1,19 +1,41 @@
 Source: libquantum
+Section: libs
 Priority: optional
 Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
-Uploaders: Sylvestre Ledru <sylvestre.ledru at inria.fr>
-Build-Depends: debhelper (>= 7), cdbs
-Standards-Version: 3.8.1
-Section: libs
+Standards-Version: 3.9.3
+Build-Depends: debhelper (>= 7.0.50~), autotools-dev
 Homepage: http://www.libquantum.de/
-Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/libquantum/
-Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/libquantum/
-DM-Upload-Allowed: yes
+Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/libquantum/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/libquantum/trunk/
+
 
 Package: libquantum-dev
 Section: libdevel
 Architecture: any
-Depends: libquantum3 (= ${Source-Version})
+Depends: ${misc:Depends}, libquantum7 (= ${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: libquantum7
+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
@@ -28,31 +50,7 @@
   * 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: libquantum3
-Architecture: any
-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
+  * Implementations of Shor's factoring algorithm and Grover's search
+    algorithm are included
  .
  This package contains the shared libraries.
-

Modified: packages/libquantum/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/libquantum/trunk/debian/copyright?rev=45118&op=diff
==============================================================================
--- packages/libquantum/trunk/debian/copyright (original)
+++ packages/libquantum/trunk/debian/copyright Mon Jun 25 16:01:22 2012
@@ -1,24 +1,28 @@
-This package was debianized by Florian Ragwitz <rafl at debian.org> on
-Sun, 13 Nov 2005 15:16:37 +0100 and updated by Sylvestre Ledru 
-<sylvestre.ledru at inria.fr> on the April 11 th.
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libquantum
+Upstream-Contact: Björn Butscher and Hendrik Weimer <libquantum at libquantum.de>
+Source: http://www.libquantum.de/downloads
 
-It was downloaded from http://www.enyo.de/libquantum/downloads.html
+Files: *
+Copyright: 2003-2008 Björn Butscher
+ 2003-2008 Hendrik Weimer
+License: GPL-3+
 
-Copyright Holder:
+Files: debian/*
+Copyright: 2009 Bradley Smith <brad at brad-smith.co.uk>
+ 2012 Boris Pek <tehnick-8 at mail.ru>
+License: GPL-3+
 
-Copyright (C) 2003-2005 Björn Butscher and Hendrik Weimer
-
-License:
-
-   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 2 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.
-
-   On Debian systems, the complete text of the GNU General Public License can
-   be found in /usr/share/common-licenses/GPL file.
+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.

Modified: packages/libquantum/trunk/debian/libquantum-dev.install
URL: http://svn.debian.org/wsvn/debian-science/packages/libquantum/trunk/debian/libquantum-dev.install?rev=45118&op=diff
==============================================================================
--- packages/libquantum/trunk/debian/libquantum-dev.install (original)
+++ packages/libquantum/trunk/debian/libquantum-dev.install Mon Jun 25 16:01:22 2012
@@ -1,4 +1,3 @@
-debian/tmp/usr/include
-debian/tmp/usr/lib/lib*.*a
-debian/tmp/usr/lib/lib*.so
-
+usr/lib/libquantum.so
+usr/lib/libquantum.a
+usr/include/*

Added: packages/libquantum/trunk/debian/libquantum7.install
URL: http://svn.debian.org/wsvn/debian-science/packages/libquantum/trunk/debian/libquantum7.install?rev=45118&op=file
==============================================================================
--- packages/libquantum/trunk/debian/libquantum7.install (added)
+++ packages/libquantum/trunk/debian/libquantum7.install Mon Jun 25 16:01:22 2012
@@ -1,0 +1,1 @@
+usr/lib/libquantum.so.*

Modified: packages/libquantum/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/libquantum/trunk/debian/rules?rev=45118&op=diff
==============================================================================
--- packages/libquantum/trunk/debian/rules (original)
+++ packages/libquantum/trunk/debian/rules Mon Jun 25 16:01:22 2012
@@ -1,9 +1,43 @@
 #!/usr/bin/make -f
-# Copyright 2008 Sylvestre Ledru <sylvestre.ledru at inria.fr>
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
+CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
+export CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
 
-DEB_CONFIGURE_NORMAL_ARGS += CFLAGS="$(CFLAGS) -Wl,-z,defs -fPIC"
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
+%:
+	dh $@ --parallel
+
+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
+
+.PHONY: override_dh_strip
+override_dh_strip:
+	dh_strip
+
+get-orig-source:
+	uscan --noconf --verbose --force-download --rename --download-current-version --destdir=..

Added: packages/libquantum/trunk/debian/source/format
URL: http://svn.debian.org/wsvn/debian-science/packages/libquantum/trunk/debian/source/format?rev=45118&op=file
==============================================================================
--- packages/libquantum/trunk/debian/source/format (added)
+++ packages/libquantum/trunk/debian/source/format Mon Jun 25 16:01:22 2012
@@ -1,0 +1,1 @@
+3.0 (quilt)

Added: packages/libquantum/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/libquantum/trunk/debian/watch?rev=45118&op=file
==============================================================================
--- packages/libquantum/trunk/debian/watch (added)
+++ packages/libquantum/trunk/debian/watch Mon Jun 25 16:01:22 2012
@@ -1,0 +1,2 @@
+version=3
+http://www.libquantum.de/downloads /files/libquantum-([\d\.]+).tar.gz




More information about the debian-science-commits mailing list