diff -Nru madbomber-0.2.5/debian/changelog madbomber-0.2.5/debian/changelog --- madbomber-0.2.5/debian/changelog 2014-10-23 21:03:39.000000000 +0000 +++ madbomber-0.2.5/debian/changelog 2016-02-15 21:16:50.000000000 +0000 @@ -1,3 +1,16 @@ +madbomber (0.2.5-7) unstable; urgency=medium + + * create install-arch and install-indep targets (closes: #806071) + * update watchfile with file from + http://anonscm.debian.org/viewvc/sepwatch/trunk/watchfiles/madbomber_0.2.5-6.watch?view=markup + * add spelling patch + * add Homepage field + * update Desktop file (remove Encoding, update Categories, add Keywords) + * use a machine-readable debian/copyright file + * add Vcs-* entries + + -- Christian T. Steigies Mon, 15 Feb 2016 22:16:28 +0100 + madbomber (0.2.5-6) unstable; urgency=low * updated Standards-Version to 3.9.6 (no changes) diff -Nru madbomber-0.2.5/debian/control madbomber-0.2.5/debian/control --- madbomber-0.2.5/debian/control 2014-10-23 21:04:05.000000000 +0000 +++ madbomber-0.2.5/debian/control 2016-02-15 21:13:04.000000000 +0000 @@ -7,6 +7,9 @@ libsdl-mixer1.2-dev (>=1.2.1-2.2), libsdl1.2-dev (>=1.2.2-3.3) Standards-Version: 3.9.6 +Homepage: http://www.newbreedsoftware.com/madbomber/ +Vcs-Git: https://alioth.debian.org/anonscm/git/collab-maint/madbomber.git +Vcs-Browser: https://anonscm.debian.org/gitweb/?p=collab-maint/madbomber.git Package: madbomber Architecture: any diff -Nru madbomber-0.2.5/debian/copyright madbomber-0.2.5/debian/copyright --- madbomber-0.2.5/debian/copyright 2014-10-23 21:04:05.000000000 +0000 +++ madbomber-0.2.5/debian/copyright 2016-02-14 21:43:11.000000000 +0000 @@ -1,14 +1,17 @@ -This package was debianized by Christian T. Steigies on -Fri, 21 Jan 2000 23:07:57 +0100 +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: madbomber +Source: http://www.newbreedsoftware.com/madbomber/ -It was downloaded from ftp.sonic.net:/pub/users/nbs/unix/x/madbomber -See also http://www.newbreedsoftware.com/ +Files: * +Copyright: Copyright 2000 - 2006 William (Bill) Kendrick +License: GPL-2 + Mad Bomber is distributed under the GNU GENERAL PUBLIC LICENSE. + . + On Debian GNU/Linux systems, the complete text of the GNU General Public + License is found in `/usr/share/common-licenses/GPL-2'. -Upstream Author and Copyright: William (Bill) Kendrick -Copyright (c) 2000 - 2006 Bill Kendrick - - -Mad Bomber is distributed under the GNU GENERAL PUBLIC LICENSE. - -On Debian GNU/Linux systems, the complete text of the GNU General Public -License is found in `/usr/share/common-licenses/GPL'. +Files: debian/* +Copyright: Copyright 2000 Christian T. Steigies +License: GPL + On Debian GNU/Linux systems, the complete text of the GNU General Public + License is found in `/usr/share/common-licenses/GPL'. diff -Nru madbomber-0.2.5/debian/madbomber.desktop madbomber-0.2.5/debian/madbomber.desktop --- madbomber-0.2.5/debian/madbomber.desktop 2011-10-26 19:07:15.000000000 +0000 +++ madbomber-0.2.5/debian/madbomber.desktop 2016-02-14 20:56:32.000000000 +0000 @@ -1,11 +1,10 @@ [Desktop Entry] -Encoding=UTF-8 Name=Mad Bomber Comment=Catch the Bombs Type=Application -Categories=Application;ArcadeGame;Game; +Categories=ArcadeGame;Game; TryExec=madbomber Exec=madbomber @@ -13,3 +12,4 @@ Icon=madbomber-icon Terminal=false +Keywords=game; \ No newline at end of file diff -Nru madbomber-0.2.5/debian/patches/install-targets madbomber-0.2.5/debian/patches/install-targets --- madbomber-0.2.5/debian/patches/install-targets 1970-01-01 00:00:00.000000000 +0000 +++ madbomber-0.2.5/debian/patches/install-targets 2016-02-14 20:46:57.000000000 +0000 @@ -0,0 +1,28 @@ +Index: madbomber-0.2.5/Makefile +=================================================================== +--- madbomber-0.2.5.orig/Makefile ++++ madbomber-0.2.5/Makefile +@@ -39,15 +39,18 @@ SDL_LIB=$(MIXER) $(IMAGE) $(SDL_LDFLAGS) + + all: $(TARGET) + +-install: +- mkdir -p $(DATA_PREFIX) +- cp -r data/* $(DATA_PREFIX) +- chown -R root.root $(DATA_PREFIX) +- chmod -R a+rX,g-w,o-w $(DATA_PREFIX) ++install: install-arch install-indep ++ ++install-arch: + cp madbomber $(BIN_PREFIX) + chown root.root $(BIN_PREFIX)/madbomber + chmod a+rx,g-w,o-w $(BIN_PREFIX)/madbomber + ++install-indep: ++ mkdir -p $(DATA_PREFIX) ++ cp -r data/images data/music data/sounds $(DATA_PREFIX) ++ chown -R root.root $(DATA_PREFIX) ++ chmod -R a+rX,g-w,o-w $(DATA_PREFIX) + + nosound: + make $(TARGET) MIXER= NOSOUNDFLAG=NOSOUND diff -Nru madbomber-0.2.5/debian/patches/series madbomber-0.2.5/debian/patches/series --- madbomber-0.2.5/debian/patches/series 2014-10-23 21:06:09.000000000 +0000 +++ madbomber-0.2.5/debian/patches/series 2016-02-14 20:47:05.000000000 +0000 @@ -1,2 +1,4 @@ 0001_mouse_cursor makefile_ldflags +install-targets +spelling diff -Nru madbomber-0.2.5/debian/patches/spelling madbomber-0.2.5/debian/patches/spelling --- madbomber-0.2.5/debian/patches/spelling 1970-01-01 00:00:00.000000000 +0000 +++ madbomber-0.2.5/debian/patches/spelling 2016-02-15 21:18:45.000000000 +0000 @@ -0,0 +1,161 @@ +Description: spelling fixes + use the correct spelling of occurred +Author: Christian T. Steigies +Last-Update: 2016-02-15 +Index: madbomber-0.2.5/madbomber.c +=================================================================== +--- madbomber-0.2.5.orig/madbomber.c ++++ madbomber-0.2.5/madbomber.c +@@ -2674,7 +2674,7 @@ void setup(void) + { + fprintf(stderr, + "\nError: I could not initialize video!\n" +- "The Simple DirectMedia error that occured was:\n" ++ "The Simple DirectMedia error that occurred was:\n" + "%s\n\n", SDL_GetError()); + exit(1); + } +@@ -2688,7 +2688,7 @@ void setup(void) + { + fprintf(stderr, + "\nWarning: I could not initialize audio!\n" +- "The Simple DirectMedia error that occured was:\n" ++ "The Simple DirectMedia error that occurred was:\n" + "%s\n\n", SDL_GetError()); + use_sound = 0; + } +@@ -2705,7 +2705,7 @@ void setup(void) + fprintf(stderr, + "\nWarning: I could not set up audio for 22050 Hz " + "16-bit stereo.\n" +- "The Simple DirectMedia error that occured was:\n" ++ "The Simple DirectMedia error that occurred was:\n" + "%s\n\n", SDL_GetError()); + use_sound = 0; + } +@@ -2723,7 +2723,7 @@ void setup(void) + fprintf(stderr, + "\nWarning: I could not set up fullscreen video for " + "640x480 mode.\n" +- "The Simple DirectMedia error that occured was:\n" ++ "The Simple DirectMedia error that occurred was:\n" + "%s\n\n", SDL_GetError()); + use_fullscreen = 0; + } +@@ -2738,7 +2738,7 @@ void setup(void) + { + fprintf(stderr, + "\nError: I could not set up video for 640x480 mode.\n" +- "The Simple DirectMedia error that occured was:\n" ++ "The Simple DirectMedia error that occurred was:\n" + "%s\n\n", SDL_GetError()); + exit(1); + } +@@ -2749,7 +2749,7 @@ void setup(void) + { + fprintf(stderr, + "\nError: I could not set up video for 240x320 mode.\n" +- "The Simple DirectMedia error that occured was:\n" ++ "The Simple DirectMedia error that occurred was:\n" + "%s\n\n", SDL_GetError()); + exit(1); + } +@@ -2779,7 +2779,7 @@ void setup(void) + fprintf(stderr, + "\nError: I couldn't load a graphics file:\n" + "%s\n" +- "The Simple DirectMedia error that occured was:\n" ++ "The Simple DirectMedia error that occurred was:\n" + "%s\n\n", image_names[i], SDL_GetError()); + exit(1); + } +@@ -2791,7 +2791,7 @@ void setup(void) + fprintf(stderr, + "\nError: I couldn't load a graphics file:\n" + "%s\n" +- "The Simple DirectMedia error that occured was:\n" ++ "The Simple DirectMedia error that occurred was:\n" + "%s\n\n", image_names[i], SDL_GetError()); + exit(1); + } +@@ -2807,7 +2807,7 @@ void setup(void) + fprintf(stderr, + "\nError: I couldn't convert a file to the display format:\n" + "%s\n" +- "The Simple DirectMedia error that occured was:\n" ++ "The Simple DirectMedia error that occurred was:\n" + "%s\n\n", image_names[i], SDL_GetError()); + exit(1); + } +@@ -2820,7 +2820,7 @@ void setup(void) + fprintf(stderr, + "\nError: I could not set the color key for the file:\n" + "%s\n" +- "The Simple DirectMedia error that occured was:\n" ++ "The Simple DirectMedia error that occurred was:\n" + "%s\n\n", image_names[i], SDL_GetError()); + exit(1); + } +@@ -2957,7 +2957,7 @@ void setup(void) + fprintf(stderr, + "\nError: I could not load the sound file:\n" + "%s\n" +- "The Simple DirectMedia error that occured was:\n" ++ "The Simple DirectMedia error that occurred was:\n" + "%s\n\n", sound_names[i], SDL_GetError()); + exit(1); + } +@@ -2997,7 +2997,7 @@ void setup(void) + fprintf(stderr, + "\nError: I could not load the music file:\n" + "%s\n" +- "The Simple DirectMedia error that occured was:\n" ++ "The Simple DirectMedia error that occurred was:\n" + "%s\n\n", MUS_TITLE, SDL_GetError()); + exit(1); + } +@@ -3010,7 +3010,7 @@ void setup(void) + fprintf(stderr, + "\nError: I could not load the music file:\n" + "%s\n" +- "The Simple DirectMedia error that occured was:\n" ++ "The Simple DirectMedia error that occurred was:\n" + "%s\n\n", MUS_TITLE, SDL_GetError()); + exit(1); + } +@@ -3025,7 +3025,7 @@ void setup(void) + fprintf(stderr, + "\nError: I could not load the music file:\n" + "%s\n" +- "The Simple DirectMedia error that occured was:\n" ++ "The Simple DirectMedia error that occurred was:\n" + "%s\n\n", game_music_names[i], SDL_GetError()); + exit(1); + } +@@ -4188,7 +4188,7 @@ FILE * open_option_file(char * mode) + fprintf(stderr, "for write:"); + + fprintf(stderr, "\n%s\n" +- "The error that occured was:\n" ++ "The error that occurred was:\n" + "%s\n\n", filename, strerror(errno)); + } + +@@ -4237,7 +4237,7 @@ FILE * open_state_file(char * mode) + fprintf(stderr, "for write:"); + + fprintf(stderr, "\n%s\n" +- "The error that occured was:\n" ++ "The error that occurred was:\n" + "%s\n\n", filename, strerror(errno)); + } + +@@ -5154,7 +5154,7 @@ void seticon(void) + { + fprintf(stderr, + "\nError: I could not load the icon image: %s\n" +- "The Simple DirectMedia error that occured was:\n" ++ "The Simple DirectMedia error that occurred was:\n" + "%s\n\n", DATA_PREFIX "images/icon.png", SDL_GetError()); + exit(1); + } diff -Nru madbomber-0.2.5/debian/rules madbomber-0.2.5/debian/rules --- madbomber-0.2.5/debian/rules 2011-10-26 19:07:15.000000000 +0000 +++ madbomber-0.2.5/debian/rules 2016-02-14 21:10:08.000000000 +0000 @@ -2,7 +2,7 @@ # -*- makefile -*- # Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +#export DH_VERBOSE = 1 %: dh $@ @@ -16,17 +16,20 @@ override_dh_auto_build: make -j1 DATA_PREFIX=/usr/share/games/madbomber/ -override_dh_auto_install: - make install \ - DESTDIR=/debian/madbomber \ - BIN_PREFIX=debian/madbomber/usr/games \ - MAN_PREFIX=debian/madbomber/usr/share \ +override_dh_auto_install-indep: + make install-indep \ DATA_PREFIX=debian/madbomber/usr/share/games/madbomber + dh_movefiles --sourcedir=debian/madbomber + rm -rf debian/madbomber/usr/share/games + +override_dh_auto_install-arch: + make install-arch \ + DESTDIR=/debian/madbomber \ + BIN_PREFIX=debian/madbomber/usr/games + install -D -m 644 debian/madbomber.6 debian/madbomber/usr/share/man/man6 install -D -m 644 debian/madbomber-icon.xpm debian/madbomber/usr/share/pixmaps/ install -D -m 644 debian/madbomber.desktop debian/madbomber/usr/share/applications/ dh_movefiles --sourcedir=debian/madbomber - rm -rf debian/madbomber/usr/share/games - rm -rf debian/madbomber-data/usr/share/games/madbomber/embedded diff -Nru madbomber-0.2.5/debian/watch madbomber-0.2.5/debian/watch --- madbomber-0.2.5/debian/watch 2011-10-26 19:07:15.000000000 +0000 +++ madbomber-0.2.5/debian/watch 2016-02-14 20:18:23.000000000 +0000 @@ -1,8 +1,4 @@ -# format version number, currently 2; this line is compulsory! -version=2 - -# Site Directory Pattern Version Script -#http://nbswebfx.com/downloads/madbomber-([\d\.]+)\.tar\.gz debian uupdate -#ftp://ftp.sonic.net/pub/users/nbs/unix/x/madbomber/src/madbomber-([\d\.]+)\.tar\.gz debian uupdate - -ftp://ftp.billsgames.com/unix/x/madbomber/src/madbomber-([\d\.]+)\.tar\.gz debian uupdate \ No newline at end of file +version=3 +opts=uversionmangle=s/^(\S+-i[36]86)/0.0.$1/ \ +http://www.newbreedsoftware.com/madbomber/download/ \ +(?:|.*/)madbomber(?:[_\-]v?|)(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)