[med-svn] [igraph] 02/31: add igraph
Andreas Tille
tille at debian.org
Tue Aug 19 10:16:45 UTC 2014
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository igraph.
commit 8b0d3221547f2d95902e41e6400baf8dd28ef2ff
Author: Mathieu Malaterre <malat at debian.org>
Date: Wed Sep 16 12:40:38 2009 +0000
add igraph
---
debian/README.source | 1 +
debian/changelog | 5 ++
debian/compat | 1 +
debian/control | 33 ++++++++++
debian/copyright | 38 ++++++++++++
debian/libigraph-dev.examples | 2 +
debian/libigraph-dev.info | 1 +
debian/libigraph.manpages | 1 +
debian/patches/igraph.debian.patch | 51 +++++++++++++++
debian/patches/series | 1 +
debian/rules | 124 +++++++++++++++++++++++++++++++++++++
debian/watch | 2 +
12 files changed, 260 insertions(+)
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..0308324
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1 @@
+Quilt
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4770bdf
--- /dev/null
+++ b/debian/changelog
@@ -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
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..0d63ca2
--- /dev/null
+++ b/debian/control
@@ -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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..473fed6
--- /dev/null
+++ b/debian/copyright
@@ -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'.
+
diff --git a/debian/libigraph-dev.examples b/debian/libigraph-dev.examples
new file mode 100644
index 0000000..405bf4e
--- /dev/null
+++ b/debian/libigraph-dev.examples
@@ -0,0 +1,2 @@
+examples/simple/
+
diff --git a/debian/libigraph-dev.info b/debian/libigraph-dev.info
new file mode 100644
index 0000000..2da6b8c
--- /dev/null
+++ b/debian/libigraph-dev.info
@@ -0,0 +1 @@
+doc/igraph-docs.info
diff --git a/debian/libigraph.manpages b/debian/libigraph.manpages
new file mode 100644
index 0000000..8d4d4a4
--- /dev/null
+++ b/debian/libigraph.manpages
@@ -0,0 +1 @@
+doc/igraph.3
diff --git a/debian/patches/igraph.debian.patch b/debian/patches/igraph.debian.patch
new file mode 100644
index 0000000..0ffc2c2
--- /dev/null
+++ b/debian/patches/igraph.debian.patch
@@ -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" ;;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..35542b5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+igraph.debian.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ad59338
--- /dev/null
+++ b/debian/rules
@@ -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
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..7f89b68
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/igraph/igraph-([\d\.]+)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/igraph.git
More information about the debian-med-commit
mailing list