[med-svn] r3977 - in trunk/packages/igraph/trunk: . debian debian/patches

Mathieu Malaterre malat-guest at alioth.debian.org
Wed Sep 16 12:40:39 UTC 2009


Author: malat-guest
Date: 2009-09-16 12:40:38 +0000 (Wed, 16 Sep 2009)
New Revision: 3977

Added:
   trunk/packages/igraph/trunk/debian/
   trunk/packages/igraph/trunk/debian/README.source
   trunk/packages/igraph/trunk/debian/changelog
   trunk/packages/igraph/trunk/debian/compat
   trunk/packages/igraph/trunk/debian/control
   trunk/packages/igraph/trunk/debian/copyright
   trunk/packages/igraph/trunk/debian/libigraph-dev.examples
   trunk/packages/igraph/trunk/debian/libigraph-dev.info
   trunk/packages/igraph/trunk/debian/libigraph.manpages
   trunk/packages/igraph/trunk/debian/patches/
   trunk/packages/igraph/trunk/debian/patches/igraph.debian.patch
   trunk/packages/igraph/trunk/debian/patches/series
   trunk/packages/igraph/trunk/debian/rules
   trunk/packages/igraph/trunk/debian/watch
Log:
add igraph

Added: trunk/packages/igraph/trunk/debian/README.source
===================================================================
--- trunk/packages/igraph/trunk/debian/README.source	                        (rev 0)
+++ trunk/packages/igraph/trunk/debian/README.source	2009-09-16 12:40:38 UTC (rev 3977)
@@ -0,0 +1 @@
+Quilt

Added: trunk/packages/igraph/trunk/debian/changelog
===================================================================
--- trunk/packages/igraph/trunk/debian/changelog	                        (rev 0)
+++ trunk/packages/igraph/trunk/debian/changelog	2009-09-16 12:40:38 UTC (rev 3977)
@@ -0,0 +1,5 @@
+igraph (0.5.2) unstable; urgency=low
+
+  * Initial upload to Debian. Closes: #546752.
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Tue, 15 Sep 2009 15:39:14 +0200


Property changes on: trunk/packages/igraph/trunk/debian/changelog
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:eol-style
   + native

Added: trunk/packages/igraph/trunk/debian/compat
===================================================================
--- trunk/packages/igraph/trunk/debian/compat	                        (rev 0)
+++ trunk/packages/igraph/trunk/debian/compat	2009-09-16 12:40:38 UTC (rev 3977)
@@ -0,0 +1 @@
+7


Property changes on: trunk/packages/igraph/trunk/debian/compat
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:eol-style
   + native

Added: trunk/packages/igraph/trunk/debian/control
===================================================================
--- trunk/packages/igraph/trunk/debian/control	                        (rev 0)
+++ trunk/packages/igraph/trunk/debian/control	2009-09-16 12:40:38 UTC (rev 3977)
@@ -0,0 +1,33 @@
+Source: igraph
+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), quilt, libtool, libxml2-dev, libgmp3-dev, libarpack2-dev, libblas-dev, liblapack-dev
+Standards-Version: 3.8.3
+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/
+Homepage: http://igraph.sourceforge.net/
+
+Package: libigraph0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: A 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.
+ .
+ This is the runtime library package.
+
+Package: libigraph0-dev
+Architecture: any
+Section: libdevel
+Depends: libigraph0 (= ${binary:Version}), ${misc:Depends}
+Description: A 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.
+ .
+ This package contains the include files and static library for igraph.


Property changes on: trunk/packages/igraph/trunk/debian/control
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:eol-style
   + native

Added: trunk/packages/igraph/trunk/debian/copyright
===================================================================
--- trunk/packages/igraph/trunk/debian/copyright	                        (rev 0)
+++ trunk/packages/igraph/trunk/debian/copyright	2009-09-16 12:40:38 UTC (rev 3977)
@@ -0,0 +1,38 @@
+This package was first debianized by Tamas Nepusz <ntamas at rmki.kfki.hu> on 
+Tue, 10 Oct 2005 23:13:01 +0100.
+
+Current maintainer: Mathieu Malaterre <mathieu.malaterre at gmail.com>
+
+It was downloaded from http://igraph.sf.net
+
+Upstream Authors:
+
+    Gabor Csardi
+    Tamas Nepusz
+
+Copyright:
+
+    Copyright © 2005-2008 Gabor Csardi, Tamas Nepusz
+
+License:
+
+    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 2 of the License.
+    
+    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.
+    
+    You should have received a copy of the GNU General Public License with
+    the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL-2;
+    if not, write to the Free Software Foundation, Inc., 51 Franklin St, 
+    Fifth Floor, Boston, MA 02110-1301, USA.
+
+On Debian systems, the complete text of the GNU General Public
+License, version 2, can be found in /usr/share/common-licenses/GPL-2.
+
+The Debian packaging is © 2009, Mathieu Malaterre <mathieu.malaterre at gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+


Property changes on: trunk/packages/igraph/trunk/debian/copyright
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:eol-style
   + native

Added: trunk/packages/igraph/trunk/debian/libigraph-dev.examples
===================================================================
--- trunk/packages/igraph/trunk/debian/libigraph-dev.examples	                        (rev 0)
+++ trunk/packages/igraph/trunk/debian/libigraph-dev.examples	2009-09-16 12:40:38 UTC (rev 3977)
@@ -0,0 +1,2 @@
+examples/simple/
+

Added: trunk/packages/igraph/trunk/debian/libigraph-dev.info
===================================================================
--- trunk/packages/igraph/trunk/debian/libigraph-dev.info	                        (rev 0)
+++ trunk/packages/igraph/trunk/debian/libigraph-dev.info	2009-09-16 12:40:38 UTC (rev 3977)
@@ -0,0 +1 @@
+doc/igraph-docs.info

Added: trunk/packages/igraph/trunk/debian/libigraph.manpages
===================================================================
--- trunk/packages/igraph/trunk/debian/libigraph.manpages	                        (rev 0)
+++ trunk/packages/igraph/trunk/debian/libigraph.manpages	2009-09-16 12:40:38 UTC (rev 3977)
@@ -0,0 +1 @@
+doc/igraph.3

Added: trunk/packages/igraph/trunk/debian/patches/igraph.debian.patch
===================================================================
--- trunk/packages/igraph/trunk/debian/patches/igraph.debian.patch	                        (rev 0)
+++ trunk/packages/igraph/trunk/debian/patches/igraph.debian.patch	2009-09-16 12:40:38 UTC (rev 3977)
@@ -0,0 +1,51 @@
+--- igraph-0.5.2/Makefile.in.orig	2009-09-15 16:22:41.000000000 +0200
++++ igraph-0.5.2/Makefile.in	2009-09-15 16:23:22.000000000 +0200
+@@ -212,7 +212,7 @@
+ target_alias = @target_alias@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = src debian tests interfaces
++SUBDIRS = src tests interfaces
+ DOC_FILES = $(top_builddir)/doc/book/Makefile.in \
+ 	$(top_builddir)/doc/igraph-docs.info \
+ 	$(top_srcdir)/doc/Makefile.in \
+--- igraph-0.5.2/Makefile.am.orig	2009-09-15 16:19:19.000000000 +0200
++++ igraph-0.5.2/Makefile.am	2009-09-15 16:19:24.000000000 +0200
+@@ -1,6 +1,6 @@
+ 
+ 
+-SUBDIRS=src debian tests interfaces
++SUBDIRS=src tests interfaces
+ DOC_FILES = 	$(top_builddir)/doc/book/Makefile.in \
+ 	$(top_builddir)/doc/igraph-docs.info \
+ 	$(top_srcdir)/doc/Makefile.in \
+--- igraph-0.5.2/configure.in.orig	2009-09-15 16:22:58.000000000 +0200
++++ igraph-0.5.2/configure.in	2009-09-15 16:23:28.000000000 +0200
+@@ -213,7 +213,7 @@
+   AC_PROG_LN_S
+ fi
+ 
+-AC_CONFIG_FILES([Makefile src/Makefile igraph.pc igraph_Info.plist debian/Makefile doc/Makefile doc/book/Makefile interfaces/R/configure.in interfaces/R/Makefile interfaces/R/src/Makevars.win interfaces/R/DESCRIPTION interfaces/Makefile interfaces/shell/Makefile])
++AC_CONFIG_FILES([Makefile src/Makefile igraph.pc igraph_Info.plist doc/Makefile doc/book/Makefile interfaces/R/configure.in interfaces/R/Makefile interfaces/R/src/Makevars.win interfaces/R/DESCRIPTION interfaces/Makefile interfaces/shell/Makefile])
+ AC_OUTPUT
+ 
+ AC_MSG_RESULT([igraph successfully configured.])
+--- igraph-0.5.2/configure.orig	2009-09-15 16:23:05.000000000 +0200
++++ igraph-0.5.2/configure	2009-09-15 16:23:39.000000000 +0200
+@@ -18374,7 +18374,7 @@
+ 
+ fi
+ 
+-ac_config_files="$ac_config_files Makefile src/Makefile igraph.pc igraph_Info.plist debian/Makefile doc/Makefile doc/book/Makefile interfaces/R/configure.in interfaces/R/Makefile interfaces/R/src/Makevars.win interfaces/R/DESCRIPTION interfaces/Makefile interfaces/shell/Makefile"
++ac_config_files="$ac_config_files Makefile src/Makefile igraph.pc igraph_Info.plist doc/Makefile doc/book/Makefile interfaces/R/configure.in interfaces/R/Makefile interfaces/R/src/Makevars.win interfaces/R/DESCRIPTION interfaces/Makefile interfaces/shell/Makefile"
+ 
+ cat >confcache <<\_ACEOF
+ # This file is a shell script that caches the results of configure
+@@ -19357,7 +19357,6 @@
+     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
+     "igraph.pc") CONFIG_FILES="$CONFIG_FILES igraph.pc" ;;
+     "igraph_Info.plist") CONFIG_FILES="$CONFIG_FILES igraph_Info.plist" ;;
+-    "debian/Makefile") CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;;
+     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
+     "doc/book/Makefile") CONFIG_FILES="$CONFIG_FILES doc/book/Makefile" ;;
+     "interfaces/R/configure.in") CONFIG_FILES="$CONFIG_FILES interfaces/R/configure.in" ;;


Property changes on: trunk/packages/igraph/trunk/debian/patches/igraph.debian.patch
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:eol-style
   + native

Added: trunk/packages/igraph/trunk/debian/patches/series
===================================================================
--- trunk/packages/igraph/trunk/debian/patches/series	                        (rev 0)
+++ trunk/packages/igraph/trunk/debian/patches/series	2009-09-16 12:40:38 UTC (rev 3977)
@@ -0,0 +1 @@
+igraph.debian.patch


Property changes on: trunk/packages/igraph/trunk/debian/patches/series
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:eol-style
   + native

Added: trunk/packages/igraph/trunk/debian/rules
===================================================================
--- trunk/packages/igraph/trunk/debian/rules	                        (rev 0)
+++ trunk/packages/igraph/trunk/debian/rules	2009-09-16 12:40:38 UTC (rev 3977)
@@ -0,0 +1,124 @@
+#!/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 = 2
+
+VER_FULL = $(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)
+
+UPSTREAM_SRC = igraph-$(VER_FULL)
+DEBIAN_SRC_DIR = igraph-$(VER_FULL)
+DEBIAN_SRC_TAR = igraph_$(VER_FULL).orig.tar.gz
+
+# 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: $(QUILT_STAMPFN)
+	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
+
+# 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 -plibigraph        \
+	    usr/lib/libigraph.so.0      \
+	    usr/lib/libigraph.so.0.0.0
+			
+	dh_movefiles -plibigraph-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_install
+	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/$@
+
+get-orig-source: $(UPSTREAM_SRC).tar.gz
+	tar xzf $(UPSTREAM_SRC).tar.gz
+	rm -rf $(UPSTREAM_SRC)/debian
+	GZIP=-9 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


Property changes on: trunk/packages/igraph/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *
Added: svn:mime-type
   + text/plain
Added: svn:eol-style
   + native

Added: trunk/packages/igraph/trunk/debian/watch
===================================================================
--- trunk/packages/igraph/trunk/debian/watch	                        (rev 0)
+++ trunk/packages/igraph/trunk/debian/watch	2009-09-16 12:40:38 UTC (rev 3977)
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/igraph/igraph-([\d\.]+)\.tar\.gz


Property changes on: trunk/packages/igraph/trunk/debian/watch
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:eol-style
   + native




More information about the debian-med-commit mailing list