--- gtorrent-viewer-0.2b.orig/configure.in +++ gtorrent-viewer-0.2b/configure.in @@ -5,7 +5,7 @@ # AC_PREREQ(2.5) -AC_INIT(GTorrentViewer, [0.2b], [ap0lly0n@users.sourceforge.net]) +AC_INIT(gtorrent-viewer, [0.2b], [ap0lly0n@users.sourceforge.net]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([src/utilities.c]) AM_CONFIG_HEADER(config.h) --- gtorrent-viewer-0.2b.orig/debian/control +++ gtorrent-viewer-0.2b/debian/control @@ -1,14 +1,16 @@ -Source: gtorrentviewer +Source: gtorrent-viewer Section: x11 -Priority: optional -Maintainer: Alejandro Claro -Build-Depends: debhelper (>= 4.0.0), autoconf (>= 2.5), automake1.4, gcc-3.3, libcurl2-dev, libglib2.0-dev (>= 2.4), libgtk2.0-dev (>= 2.4) -Standards-Version: 3.6.1 +Priority: extra +Maintainer: Andrea Veri +Build-Depends: debhelper (>= 5), libcurl3-dev, libgtk2.0-dev, libxml-parser-perl, automake1.4, intltool +Standards-Version: 3.7.2 -Package: gtorrentviewer +Package: gtorrent-viewer Architecture: any Depends: ${shlibs:Depends} Description: BitTorrent MetaInfo viewer/editor - GTorrentViewer is a GTK2-based viewer and editor for BitTorrent meta files. - It is able to retrieve information from trackers, check files, show detailed - information, and modify torrent files without having to start downloading. + GTorrentViewer is a GTK2-based viewer and editor for BitTorrent + meta files. It is able to retrieve informations from trackers, + check files and modify torrent files without having to start downloading. + . + Homepage: http://sourceforge.net/projects/gtorrentviewer --- gtorrent-viewer-0.2b.orig/debian/rules +++ gtorrent-viewer-0.2b/debian/rules @@ -12,11 +12,9 @@ # 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) -CFLAGS = -Wall +CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 @@ -27,7 +25,7 @@ config.status: configure dh_testdir # Add here commands to configure the package. - CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --datadir=\$${prefix}/share CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" build: build-stamp @@ -37,7 +35,7 @@ # Add here commands to compile the package. $(MAKE) - #docbook-to-man debian/gtorrentviewer.sgml > gtorrentviewer.1 + #docbook-to-man debian/gtorrent-viewer.sgml > gtorrent-viewer.1 touch build-stamp @@ -47,15 +45,8 @@ rm -f build-stamp # Add here commands to clean up after the build process. - -$(MAKE) distclean -ifneq "$(wildcard /usr/share/misc/config.sub)" "" - cp -f /usr/share/misc/config.sub config.sub -endif -ifneq "$(wildcard /usr/share/misc/config.guess)" "" - cp -f /usr/share/misc/config.guess config.guess -endif - + $(MAKE) distclean || true dh_clean install: build @@ -64,9 +55,8 @@ dh_clean -k dh_installdirs - # Add here commands to install the package into debian/gtorrentviewer. - $(MAKE) install DESTDIR=$(CURDIR)/debian/gtorrentviewer - + # Add here commands to install the package into debian/gtorrent-viewer. + $(MAKE) install DESTDIR=$(CURDIR)/debian/gtorrent-viewer # Build architecture-independent files here. binary-indep: build install @@ -77,26 +67,15 @@ dh_testdir dh_testroot dh_installchangelogs ChangeLog - dh_installdocs README AUTHORS + dh_installdocs + rm $(CURDIR)/debian/gtorrent-viewer/usr/share/gtorrent-viewer/README dh_installexamples -# dh_install - dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_installinit -# dh_installcron -# dh_installinfo -# dh_installman + dh_installman + dh_desktop dh_link dh_strip dh_compress dh_fixperms -# dh_perl -# dh_python -# dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol --- gtorrent-viewer-0.2b.orig/debian/changelog +++ gtorrent-viewer-0.2b/debian/changelog @@ -1,8 +1,18 @@ -gtorrentviewer (0.2b-1) unstable; urgency=low +gtorrent-viewer (0.2b-2) unstable; urgency=low - * new GTorrentViewer version. + * Added a clean rule to debian/rules to prevent a FTBFS + if the package get built two times in a row. (reported by + Lucas Nussbaum's reports). (Closes: #442592) + + -- Andrea Veri Mon, 17 Sep 2007 18:15:47 +0200 + +gtorrent-viewer (0.2b-1) unstable; urgency=low + + * New upstream release (Closes: #369717) + * name changed from GTorrentViewer to gtorrent-viewer + * rebuilt with autotools support - -- Alejandro Claro Mon, 25 Oct 2004 21:31:27 -0400 + -- Andrea Veri Sat, 21 Apr 2007 23:41:00 +0200 gtorrentviewer (0.2a-1) unstable; urgency=low --- gtorrent-viewer-0.2b.orig/debian/compat +++ gtorrent-viewer-0.2b/debian/compat @@ -1 +1 @@ -4 +5 --- gtorrent-viewer-0.2b.orig/debian/copyright +++ gtorrent-viewer-0.2b/debian/copyright @@ -1,13 +1,27 @@ -This package was debianized by Alejandro Claro on -Wed, 29 Sep 2004 17:53:40 -0400. +This package was debianized by Andrea Veri on +Sat, 21 Apr 2007 23:41:00 +0200. -It was downloaded from http://sourceforge.net/projects/gtorrentviewer/ +It was downloaded from http://sourceforge.net/projects/gtorrentviewer -This software is copyright (c) 2004 by Alejandro Claro. +Copyright Holder: (c) 2004 Alejandro Claro + (c) 2001-2003 Christophe Devine (Original Code) +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, or + (at your option) any later version. + + 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 + 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 GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL'. -Upstream Author: Alejandro Claro -You are free to distribute this software under the terms of the -GNU General Public License. On Debian systems, the complete text -of the GNU General Public License can be found in the file -`/usr/share/common-licenses/GPL'. --- gtorrent-viewer-0.2b.orig/debian/docs +++ gtorrent-viewer-0.2b/debian/docs @@ -0,0 +1,3 @@ +README +AUTHORS +