[med-svn] r11156 - trunk/packages/quazip/trunk/debian

Eric Maeker ericmaeker-guest at alioth.debian.org
Fri Jun 1 14:12:49 UTC 2012


Author: ericmaeker-guest
Date: 2012-06-01 14:12:49 +0000 (Fri, 01 Jun 2012)
New Revision: 11156

Added:
   trunk/packages/quazip/trunk/debian/quazip0-dev.install
Removed:
   trunk/packages/quazip/trunk/debian/quazip-dev.install
Modified:
   trunk/packages/quazip/trunk/debian/changelog
   trunk/packages/quazip/trunk/debian/control
   trunk/packages/quazip/trunk/debian/rules
Log:
quazip: first functionnal minimalistic package

Modified: trunk/packages/quazip/trunk/debian/changelog
===================================================================
--- trunk/packages/quazip/trunk/debian/changelog	2012-06-01 13:56:32 UTC (rev 11155)
+++ trunk/packages/quazip/trunk/debian/changelog	2012-06-01 14:12:49 UTC (rev 11156)
@@ -2,4 +2,4 @@
 
   * Initial release (Closes: #675276)
 
- -- Eric Maeker <eric.maeker at gmail.com>  Mon, 30 May 2012 00:00:00 +0100
+ -- Eric Maeker <eric.maeker at gmail.com>  Mon, 30 May 2012 12:00:00 +0100

Modified: trunk/packages/quazip/trunk/debian/control
===================================================================
--- trunk/packages/quazip/trunk/debian/control	2012-06-01 13:56:32 UTC (rev 11155)
+++ trunk/packages/quazip/trunk/debian/control	2012-06-01 14:12:49 UTC (rev 11156)
@@ -1,7 +1,7 @@
 Source: quazip
 Section: libs
 Priority: optional
-Maintainer: Eric Maeker <eric.maeker at gmail.com>, Debian Med Project List <debian-med at lists.debian.org>
+Maintainer: Debian Med Project List <debian-med at lists.debian.org>
 Uploaders: Eric Maeker <eric.maeker at gmail.com>,
  Andreas Tille <tille at debian.org>
 DM-Upload-Allowed: yes
@@ -14,7 +14,8 @@
 Package: libquazip0
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, libqt4 (>= 4.7.0), zlib1g
-Description: QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package.
+Conflicts: libquazip0
+Description: QuaZIP is a simple C++ ZIP/UNZIP wrapper.
  QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that
  can be used to access ZIP archives. It uses Trolltech's Qt toolkit.
  .
@@ -25,11 +26,12 @@
  QuaZIP provides complete abstraction of the ZIP/UNZIP API, for both reading
  from and writing to ZIP archives.
 
-Package: libquazip-dev
+Package: libquazip0-dev
 Section: libdevel
 Architecture: any
 Depends: libquazip0 (= ${binary:Version}), ${misc:Depends}
-Description: QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package.
+Conflicts: libquazip0-dev
+Description: QuaZIP is a simple C++ ZIP/UNZIP wrapper.
  QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that
  can be used to access ZIP archives. It uses Trolltech's Qt toolkit.
  .
@@ -40,20 +42,3 @@
  QuaZIP provides complete abstraction of the ZIP/UNZIP API, for both reading
  from and writing to ZIP archives.
 
-Package: libquazip-dbg
-Section: debug
-Architecture: any
-Recommends: libqt4-dbg
-Depends: ${shlibs:Depends}, ${misc:Depends}, libquazip0 (= ${binary:Version})
-Replaces: libquazip0-dbg (<< 0.4.3)
-Breaks: libquazip0-dbg (<< 0.4.3)
-Description:   QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package.
- QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that
- can be used to access ZIP archives. It uses Trolltech's Qt toolkit.
- .
- QuaZIP allows you to access files inside ZIP archives using QIODevice API,
- and that means that you can also use QTextStream, QDataStream or
- whatever you would like to use on your zipped files.
- .
- QuaZIP provides complete abstraction of the ZIP/UNZIP API, for both reading
- from and writing to ZIP archives.

Deleted: trunk/packages/quazip/trunk/debian/quazip-dev.install
===================================================================
--- trunk/packages/quazip/trunk/debian/quazip-dev.install	2012-06-01 13:56:32 UTC (rev 11155)
+++ trunk/packages/quazip/trunk/debian/quazip-dev.install	2012-06-01 14:12:49 UTC (rev 11156)
@@ -1,5 +0,0 @@
-usr/lib/*.so*
-usr/lib/*.a
-usr/include/*
-usr/lib/pkgconfig/*.pc
-usr/share/cmake-*/Modules/FindQuaZip.cmake

Added: trunk/packages/quazip/trunk/debian/quazip0-dev.install
===================================================================
--- trunk/packages/quazip/trunk/debian/quazip0-dev.install	                        (rev 0)
+++ trunk/packages/quazip/trunk/debian/quazip0-dev.install	2012-06-01 14:12:49 UTC (rev 11156)
@@ -0,0 +1,4 @@
+usr/lib/*.so
+usr/lib/*.a
+usr/include/quazip/*
+

Modified: trunk/packages/quazip/trunk/debian/rules
===================================================================
--- trunk/packages/quazip/trunk/debian/rules	2012-06-01 13:56:32 UTC (rev 11155)
+++ trunk/packages/quazip/trunk/debian/rules	2012-06-01 14:12:49 UTC (rev 11156)
@@ -4,11 +4,16 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+# Extract the current version number
+DEBIAN  := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2)
+DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
+VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
+
 %:
 	dh $@
 
 override_dh_auto_configure:
-	qmake quazip/quazip.pro PREFIX=$(CURDIR)/debian/tmp/usr/lib/ LIBS+=-lz
+	qmake quazip/quazip.pro PREFIX=$(CURDIR)/debian/tmp/usr/lib/ LIBS+=-lz VERSION=$(VERSION)
 	
 # Clean build path
 override_dh_auto_clean:




More information about the debian-med-commit mailing list