[med-svn] r10370 - in trunk/packages/igraph/trunk/debian: . source

Mathieu Malaterre malat at alioth.debian.org
Wed Apr 11 11:05:52 UTC 2012


Author: malat
Date: 2012-04-11 11:05:51 +0000 (Wed, 11 Apr 2012)
New Revision: 10370

Added:
   trunk/packages/igraph/trunk/debian/libigraph0-dev.install
   trunk/packages/igraph/trunk/debian/libigraph0.install
   trunk/packages/igraph/trunk/debian/source/
   trunk/packages/igraph/trunk/debian/source/format
Removed:
   trunk/packages/igraph/trunk/debian/patches/
Modified:
   trunk/packages/igraph/trunk/debian/changelog
   trunk/packages/igraph/trunk/debian/compat
   trunk/packages/igraph/trunk/debian/control
   trunk/packages/igraph/trunk/debian/rules
Log:
Update igraph package

Modified: trunk/packages/igraph/trunk/debian/changelog
===================================================================
--- trunk/packages/igraph/trunk/debian/changelog	2012-04-11 10:30:43 UTC (rev 10369)
+++ trunk/packages/igraph/trunk/debian/changelog	2012-04-11 11:05:51 UTC (rev 10370)
@@ -1,3 +1,13 @@
+igraph (0.5.4-2) UNRELEASED; urgency=low
+
+  * Use my @d.o alias
+  * Remove DMUA flag
+  * Bump Std-Vers to 3.9.3, no changes needed
+  * Switch to dpkg-source 3.0 (quilt) format
+  * Use dh(9), get hardening for free
+
+ -- Mathieu Malaterre <malat at debian.org>  Wed, 11 Apr 2012 12:43:45 +0200
+
 igraph (0.5.4-1) unstable; urgency=low
 
   * New upstream.

Modified: trunk/packages/igraph/trunk/debian/compat
===================================================================
--- trunk/packages/igraph/trunk/debian/compat	2012-04-11 10:30:43 UTC (rev 10369)
+++ trunk/packages/igraph/trunk/debian/compat	2012-04-11 11:05:51 UTC (rev 10370)
@@ -1 +1 @@
-7
+9

Modified: trunk/packages/igraph/trunk/debian/control
===================================================================
--- trunk/packages/igraph/trunk/debian/control	2012-04-11 10:30:43 UTC (rev 10369)
+++ trunk/packages/igraph/trunk/debian/control	2012-04-11 11:05:51 UTC (rev 10370)
@@ -2,19 +2,18 @@
 Section: libs
 Priority: optional
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-DM-Upload-Allowed: yes
-Uploaders: Mathieu Malaterre <mathieu.malaterre at gmail.com>,
-Build-Depends: debhelper (>= 7), libtool, libxml2-dev, libgmp-dev, libarpack2-dev,
+Uploaders: Mathieu Malaterre <malat at debian.org>,
+Build-Depends: debhelper (>= 9), libtool, libxml2-dev, libgmp-dev, libarpack2-dev,
  libblas-dev, liblapack-dev, automake
-Standards-Version: 3.9.1
-Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/igraph/trunk/?rev=0&sc=0
-Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/igraph/trunk/
+Standards-Version: 3.9.3
+Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/igraph/trunk/
+Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/igraph/trunk/
 Homepage: http://igraph.sourceforge.net/
 
 Package: libigraph0
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: A library for creating and manipulating graphs
+Description: library for creating and manipulating graphs
  igraph is a library for creating and manipulating graphs.
  It is intended to be as powerful (ie. fast) as possible to enable the
  analysis of large graphs.
@@ -26,7 +25,7 @@
 Section: libdevel
 Depends: libigraph0 (= ${binary:Version}), ${misc:Depends}
 Provides: libigraph-dev
-Description: A library for creating and manipulating graphs - development files
+Description: library for creating and manipulating graphs - development files
  igraph is a library for creating and manipulating graphs.
  It is intended to be as powerful (ie. fast) as possible to enable the
  analysis of large graphs.

Added: trunk/packages/igraph/trunk/debian/libigraph0-dev.install
===================================================================
--- trunk/packages/igraph/trunk/debian/libigraph0-dev.install	                        (rev 0)
+++ trunk/packages/igraph/trunk/debian/libigraph0-dev.install	2012-04-11 11:05:51 UTC (rev 10370)
@@ -0,0 +1,3 @@
+usr/lib/*/libigraph.so
+usr/include/igraph/*.h
+usr/lib/*/pkgconfig/*.pc

Added: trunk/packages/igraph/trunk/debian/libigraph0.install
===================================================================
--- trunk/packages/igraph/trunk/debian/libigraph0.install	                        (rev 0)
+++ trunk/packages/igraph/trunk/debian/libigraph0.install	2012-04-11 11:05:51 UTC (rev 10370)
@@ -0,0 +1 @@
+usr/lib/*/libigraph.so.*

Modified: trunk/packages/igraph/trunk/debian/rules
===================================================================
--- trunk/packages/igraph/trunk/debian/rules	2012-04-11 10:30:43 UTC (rev 10369)
+++ trunk/packages/igraph/trunk/debian/rules	2012-04-11 11:05:51 UTC (rev 10370)
@@ -1,125 +1,14 @@
 #!/usr/bin/make -f
-
-#include /usr/share/quilt/quilt.make
-
-# Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-VER_MAJOR = 0
-VER_MINOR = 5
-VER_PATCH = 4
+DPKG_EXPORT_BUILDFLAGS = 1
+-include /usr/share/dpkg/buildflags.mk
 
-VER_FULL = $(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)
+%:
+	dh $@ --parallel --with autotools_dev
 
-UPSTREAM_SRC = igraph-$(VER_FULL)
-DEBIAN_SRC_DIR = igraph-$(VER_FULL)
-DEBIAN_SRC_TAR = igraph_$(VER_FULL).orig.tar.gz
+override_dh_auto_configure:
+	dh_auto_configure -- --with-external-blas --with-external-lapack --with-external-arpack
 
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-	INSTALL_PROGRAM += -s
-endif
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	libtoolize -f -c
-	#mv -f ltmain.sh utils
-	aclocal
-	autoheader
-	automake -a -c
-	autoconf
-	./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --sysconfdir=/etc --with-external-blas --with-external-lapack --with-external-arpack
-	touch configure-stamp
-
-build: configure-stamp build-stamp
-build-stamp:
-	dh_testdir
-	$(MAKE)
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-	[ ! -f Makefile ] || $(MAKE) distclean
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-	$(MAKE) install prefix=$(CURDIR)/debian/tmp/usr
-	sed -i "s,^dependency_libs=.*,dependency_libs=''," debian/tmp/usr/lib/libigraph.la
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-
-	dh_movefiles -plibigraph0        \
-	    usr/lib/libigraph.so.0      \
-	    usr/lib/libigraph.so.0.0.0
-
-	dh_movefiles -plibigraph0-dev    \
-	    usr/include/igraph/igraph.h \
-	    usr/include/igraph/types.h  \
-		usr/include/igraph/arpack.h \
-		usr/include/igraph/array.h  \
-	    usr/include/igraph/attributes.h  \
-	    usr/include/igraph/dqueue.h  \
-	    usr/include/igraph/error.h  \
-	    usr/include/igraph/heap.h  \
-	    usr/include/igraph/interrupt.h  \
-	    usr/include/igraph/igraph_pmt.h \
-	    usr/include/igraph/igraph_pmt_off.h \
-	    usr/include/igraph/matrix.h  \
-	    usr/include/igraph/stack.h  \
-	    usr/include/igraph/vector.h \
-	    usr/lib/libigraph.so        \
-	    usr/lib/libigraph.a         \
-	    usr/lib/libigraph.la        \
-	    usr/lib/pkgconfig/igraph.pc
-
-	dh_installdocs
-	dh_installexamples
-	dh_installman
-	dh_installinfo
-	dh_installchangelogs ChangeLog
-	dh_strip
-	dh_link
-	dh_compress
-	dh_fixperms
-	dh_makeshlibs
-	dh_shlibdeps -L libigraph -l debian/libigraph/usr/lib
-	dh_gencontrol
-	dh_installdeb
-	dh_md5sums
-	dh_builddeb
-
-$(UPSTREAM_SRC).tar.gz:
-	#wget http://voxel.dl.sourceforge.net/sourceforge/igraph/$@
-	wget http://igraph.googlecode.com/files/igraph-nightly-0.5.3-1537-20091111.tar.gz
-	mv igraph-nightly-0.5.3-1537-20091111.tar.gz $(UPSTREAM_SRC).tar.gz
-
-get-orig-source: $(UPSTREAM_SRC).tar.gz
-	tar xzf $(UPSTREAM_SRC).tar.gz
-	GZIP="--best --no-name" tar czf $(DEBIAN_SRC_TAR) $(DEBIAN_SRC_DIR)
-	rm -rf $(DEBIAN_SRC_DIR)
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+get-orig-source:
+	uscan --verbose --force-download

Added: trunk/packages/igraph/trunk/debian/source/format
===================================================================
--- trunk/packages/igraph/trunk/debian/source/format	                        (rev 0)
+++ trunk/packages/igraph/trunk/debian/source/format	2012-04-11 11:05:51 UTC (rev 10370)
@@ -0,0 +1 @@
+3.0 (quilt)




More information about the debian-med-commit mailing list