Author: vincentc-guest Date: 2012-12-28 07:56:15 +0000 (Fri, 28 Dec 2012) New Revision: 13923
Added: packages/trunk/warsow-data/debian/install packages/trunk/warsow-data/debian/source/ packages/trunk/warsow-data/debian/source/format Modified: packages/trunk/warsow-data/debian/changelog packages/trunk/warsow-data/debian/compat packages/trunk/warsow-data/debian/control packages/trunk/warsow-data/debian/rules packages/trunk/warsow-data/debian/warsow-data-get-orig-source packages/trunk/warsow-data/debian/watch Log: Update warsow-data packaging from 0.5 -> 1.0 Modified: packages/trunk/warsow-data/debian/changelog =================================================================== --- packages/trunk/warsow-data/debian/changelog 2012-12-26 20:52:05 UTC (rev 13922) +++ packages/trunk/warsow-data/debian/changelog 2012-12-28 07:56:15 UTC (rev 13923) @@ -1,3 +1,17 @@ +warsow-data (1.0+dfsg1-1) unstable; urgency=low + + * Add myself to Uploaders. + * New upstream release. + * Update to source format '3.0 (quilt)'. + * Update dh compat level to 9. + * Update to dh 7 "rules.tiny" style debian/rules. + * Fix broken debian/watch file. + * Fix broken debian/warsow-get-orig-source file. + * Run wrap-and-sort on files in debian/. + * Update Standards version to 3.9.3, no changes required. + + -- Vincent Cheng <[email protected]> Fri, 03 Aug 2012 01:03:16 -0700 + warsow-data (0.50+dfsg1-1) unstable; urgency=low [ Barry deFreese ] Modified: packages/trunk/warsow-data/debian/compat =================================================================== --- packages/trunk/warsow-data/debian/compat 2012-12-26 20:52:05 UTC (rev 13922) +++ packages/trunk/warsow-data/debian/compat 2012-12-28 07:56:15 UTC (rev 13923) @@ -1 +1 @@ -5 +9 Modified: packages/trunk/warsow-data/debian/control =================================================================== --- packages/trunk/warsow-data/debian/control 2012-12-26 20:52:05 UTC (rev 13922) +++ packages/trunk/warsow-data/debian/control 2012-12-28 07:56:15 UTC (rev 13923) @@ -2,12 +2,16 @@ Section: non-free/games Priority: optional Maintainer: Debian Games Team <[email protected]> -Uploaders: Bruno "Fuddl" Kleinert <[email protected]>, Barry deFreese <[email protected]> -Build-Depends: debhelper (>= 5) -Standards-Version: 3.8.3 +Uploaders: + Gonéri Le Bouder <[email protected]>, + Bruno "Fuddl" Kleinert <[email protected]>, + Barry deFreese <[email protected]>, + Vincent Cheng <[email protected]> +Build-Depends: debhelper (>= 9) +Standards-Version: 3.9.3 Homepage: http://www.warsow.net/ Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/warsow-data -Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/warsow-data/?op=log +Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/warsow-data/ Package: warsow-data Architecture: all Added: packages/trunk/warsow-data/debian/install =================================================================== --- packages/trunk/warsow-data/debian/install (rev 0) +++ packages/trunk/warsow-data/debian/install 2012-12-28 07:56:15 UTC (rev 13923) @@ -0,0 +1 @@ +basewsw usr/share/games/warsow Modified: packages/trunk/warsow-data/debian/rules =================================================================== --- packages/trunk/warsow-data/debian/rules 2012-12-26 20:52:05 UTC (rev 13922) +++ packages/trunk/warsow-data/debian/rules 2012-12-28 07:56:15 UTC (rev 13923) @@ -1,38 +1,13 @@ #!/usr/bin/make -f -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 -build: build-stamp -build-stamp: - dh_testdir - touch build-stamp +%: + dh $@ -clean: - dh_testdir - dh_testroot - dh_clean - [ ! -f build-stamp ] || rm build-stamp +override_dh_installdocs: + dh_installdocs -Xlicense.txt -Xgnu.txt -Xchangelog.txt -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_install basewsw usr/share/games/warsow - -binary-arch: -#Nothing to do for binary-arch - -binary-indep: build install - dh_testdir - dh_testroot +override_dh_installchangelogs: dh_installchangelogs docs/changelog.txt - dh_installdocs -Xlicense.txt -Xgnu.txt - dh_compress - dh_fixperms - dh_installdeb - dh_gencontrol - dh_md5sums - dh_builddeb -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install +get-orig-source: + sh debian/warsow-data-get-orig-source Added: packages/trunk/warsow-data/debian/source/format =================================================================== --- packages/trunk/warsow-data/debian/source/format (rev 0) +++ packages/trunk/warsow-data/debian/source/format 2012-12-28 07:56:15 UTC (rev 13923) @@ -0,0 +1 @@ +3.0 (quilt) Modified: packages/trunk/warsow-data/debian/warsow-data-get-orig-source =================================================================== --- packages/trunk/warsow-data/debian/warsow-data-get-orig-source 2012-12-26 20:52:05 UTC (rev 13922) +++ packages/trunk/warsow-data/debian/warsow-data-get-orig-source 2012-12-28 07:56:15 UTC (rev 13923) @@ -1,11 +1,13 @@ -#! /bin/sh +#!/bin/sh +set -e # This script will download the upstream tarball that contains the content of # the warsow-data package and create an orig tarball of it. -WARSOW_DATA_TARBALL="warsow_0.5_unified.zip" -WARSOW_DATA_VERSION="0.50+dfsg1" -CORRECT_CHECKSUM="d0cb961256bbc1b93bf240b8bcf8eff5" +# Some variables to ease maintanence of this script +WARSOW_DATA_TARBALL="warsow_1.0_unified.tar.gz" +WARSOW_DATA_VERSION="1.0+dfsg1" +CORRECT_CHECKSUM="92fd62c4bbd1324605bd004da9472b9f" USAGE="\ warsow-data orig tarball download script\n\ @@ -35,13 +37,12 @@ done # List of mirrors to use -MIRROR1=http://data.rodix.free.fr/warsow/files -MIRROR2=http://www.derchris.net/warsow +MIRROR1=http://prdownloads.sourceforge.net/warsow.mirror/warsow_1.0_unified.tar.gz +MIRROR2=http://www.warsow.net:1337/~warsow/1.0 if [ ! -f $WARSOW_DATA_TARBALL ] ; then # Try each mirror until sucessful, else exit with an error - wget -c $MIRROR1/$WARSOW_DATA_TARBALL || \ - wget -c $MIRROR2/$WARSOW_DATA_TARBALL || \ + wget -c $MIRROR/$WARSOW_DATA_TARBALL || \ { echo "Could not download upstream source" ; exit 1 ; } fi @@ -59,22 +60,15 @@ fi # Prepare the warsow-data orig tarball -if [ ! -d warsow_0.5_unified ]; then - echo "Extracting $WARSOW_DATA_TARBALL." - unzip -qq $WARSOW_DATA_TARBALL -d warsow_0.5_unified -else - echo "Already found extracted warsow_0.5_unified directory. Please remove -or move warsow_0.5_unified and warsow-data-$WARSOW_DATA_VERSION directories and -also warsow-data_$WARSOW_DATA_VERSION.orig.tar.gz." - exit 1 -fi if [ ! -d warsow-data-$WARSOW_DATA_VERSION ]; then + echo "Extracting $WARSOW_DATA_TARBALL." + tar -xzf $WARSOW_DATA_TARBALL echo "Renaming extracted directory to warsow-data-$WARSOW_DATA_VERSION." - mv warsow_0.5_unified warsow-data-$WARSOW_DATA_VERSION + mv warsow_1.0 warsow-data-$WARSOW_DATA_VERSION else - echo "Already found extracted warsow-data-$WARSOW_DATA_VERSION directory. Please remove -or move warsow_0.5_unified and warsow-data-$WARSOW_DATA_VERSION directories and -also warsow-data_$WARSOW_DATA_VERSION.orig.tar.gz." + echo "Already found extracted warsow-data-$WARSOW_DATA_VERSION directory. +Please remove or move warsow_1.0_unified and warsow-data-$WARSOW_DATA_VERSION +directories and also warsow-data_$WARSOW_DATA_VERSION.orig.tar.gz." exit 1 fi Modified: packages/trunk/warsow-data/debian/watch =================================================================== --- packages/trunk/warsow-data/debian/watch 2012-12-26 20:52:05 UTC (rev 13922) +++ packages/trunk/warsow-data/debian/watch 2012-12-28 07:56:15 UTC (rev 13923) @@ -1,9 +1,3 @@ version=3 - -# A list of mirrors used by the warsow-data-get-orig-source script. - -opts=dversionmangle=s/\+dfsg1// \ -http://data.rodix.free.fr/warsow/files/warsow_([\d.]+)_unified.zip - -opts=dversionmangle=s/\+dfsg1// \ -http://www.derchris.net/warsow/warsow_([\d.]+)_unified.zip +opts=dversionmangle=s/\+dfsg\d+$// \ +http://sf.net/warsow.mirror/warsow_(.*)_unified\.(?:tar\.(?:gz|bz2|xz)|zip) _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

