--- socnetv-0.44.orig/debian/control +++ socnetv-0.44/debian/control @@ -0,0 +1,23 @@ +Source: socnetv +Section: math +Priority: optional +Maintainer: Serafeim Zanikolas +Build-Depends: debhelper (>= 7), dpatch, libqt3-headers, qt3-dev-tools, libqt4-dev, libstdc++-dev +Standards-Version: 3.8.0 +Homepage: http://socnetv.sf.net + +Package: socnetv +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: social network analysis and visualisation application + SocNetV is a graphical application designed to be an easy tool for Social + Networks Analysis and Visualisation (not to be confused with social + networking, as in online communities). With it, one can load and visualise + networks of various formats (GraphViz, Adjacency, Pajek, etc), and/or visually + create and modify a network in a point and click fashion. + . + The program can also compute network statistics and properties (such as + distances, centralities, diameter) and apply some layout algorithms for more + meaningful visualisation of your networks. Furthermore, socnetv can create + simple random networks (lattice, same degree, etc). + --- socnetv-0.44.orig/debian/watch +++ socnetv-0.44/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/socnetv/SocNetV-(.*)\.tar\.gz --- socnetv-0.44.orig/debian/compat +++ socnetv-0.44/debian/compat @@ -0,0 +1 @@ +7 --- socnetv-0.44.orig/debian/docs +++ socnetv-0.44/debian/docs @@ -0,0 +1,2 @@ +README +TODO --- socnetv-0.44.orig/debian/copyright +++ socnetv-0.44/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Serafeim Zanikolas on +Fri, 11 Jul 2008 22:55:25 +0100. + +It was downloaded from + +Upstream Author: + + Dimitris Kalamaras + +Copyright: + + Copyright (C) 2004-2008 Dimitris Kalamaras + +License: + + This package 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. + + This package 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 + along with this package; 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 can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2008, Serafeim Zanikolas and +is licensed under the GPL, see above. --- socnetv-0.44.orig/debian/dirs +++ socnetv-0.44/debian/dirs @@ -0,0 +1 @@ +/usr/share/socnetv/nets/ --- socnetv-0.44.orig/debian/manpage +++ socnetv-0.44/debian/manpage @@ -0,0 +1 @@ +man/socnetv.1 --- socnetv-0.44.orig/debian/install +++ socnetv-0.44/debian/install @@ -0,0 +1,2 @@ +bin/socnetv usr/bin/ +nets/* usr/share/socnetv/nets/ --- socnetv-0.44.orig/debian/menu +++ socnetv-0.44/debian/menu @@ -0,0 +1,2 @@ +?package(socnetv):needs="X11" section="Applications/Science/Mathematics"\ + title="socnetv" command="/usr/bin/socnetv" --- socnetv-0.44.orig/debian/changelog +++ socnetv-0.44/debian/changelog @@ -0,0 +1,6 @@ +socnetv (0.44-1) experimental; urgency=low + + * Initial release (Closes: #490707) + + -- Serafeim Zanikolas Sun, 03 Aug 2008 21:11:12 +0100 + --- socnetv-0.44.orig/debian/rules +++ socnetv-0.44/debian/rules @@ -0,0 +1,63 @@ +#!/usr/bin/make -f + +include /usr/share/dpatch/dpatch.make + +build: build-stamp +build-stamp: patch-stamp + dh_testdir + mv Makefile debian/Makefile + mv src/Makefile debian/src-Makefile + cd src + qmake-qt4 + $(MAKE) + cd .. + mv debian/src-Makefile src/Makefile + mv debian/Makefile Makefile + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f bin/socnetv + cp Makefile debian/Makefile + cp src/Makefile debian/src-Makefile + dh_auto_clean + mv debian/src-Makefile src/Makefile + mv debian/Makefile Makefile + +install: build + dh_testdir + dh_testroot + dh_prep + chmod 644 nets/* + dh_installdirs + +binary-indep: build install +# We have nothing to do by default. + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + mv readme README + mv todo TODO + dh_installdocs + mv README readme + mv TODO todo + dh_install + dh_installmenu + mv man/socnetv.9.1 man/socnetv.1 + dh_installman man/socnetv.1 + mv man/socnetv.1 man/socnetv.9.1 + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- socnetv-0.44.orig/debian/socnetv.debhelper.log +++ socnetv-0.44/debian/socnetv.debhelper.log @@ -0,0 +1,3 @@ +dh_auto_clean +dh_auto_clean +dh_auto_clean --- socnetv-0.44.orig/debian/patches/add-missing-include.dpatch +++ socnetv-0.44/debian/patches/add-missing-include.dpatch @@ -0,0 +1,15 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix-manpage-section.dpatch by +## +## DP: Adds a missing include. + +--- socnetv-orig/src/matrix.cpp 2008-08-03 01:00:37.000000000 +0100 ++++ socnetv/src/matrix.cpp 2008-08-03 01:01:40.000000000 +0100 +@@ -27,6 +27,7 @@ + #include "matrix.h" + + #include //used for cout ++#include //for RAND_MAX + + + Matrix::Matrix(const Matrix &b) { --- socnetv-0.44.orig/debian/patches/fix-manpage-section.dpatch +++ socnetv-0.44/debian/patches/fix-manpage-section.dpatch @@ -0,0 +1,14 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix-manpage-section.dpatch by +## +## DP: Change the section of manpage from 9 to 1. + +diff -up man/socnetv.9.1 tmp/man/socnetv.9.1 +--- man/socnetv.9.1 2008-07-11 22:53:39.000000000 +0100 ++++ tmp/man/socnetv.9.1 2008-07-20 11:48:12.000000000 +0100 +@@ -1,4 +1,4 @@ +-.TH socnetv 9 "December 2006" "SocNetV-0.43.1" "Social Networks Visualiser" ++.TH socnetv 1 "December 2006" "SocNetV-0.43.1" "Social Networks Visualiser" + .SH NAME + socnetv - Visualize and analyze social networks + .SH SYNOPSIS --- socnetv-0.44.orig/debian/patches/00list +++ socnetv-0.44/debian/patches/00list @@ -0,0 +1,2 @@ +fix-manpage-section.dpatch +add-missing-include.dpatch