Permalink
Browse files

Packaging files.

  • Loading branch information...
1 parent 8aff6ac commit 6cd20fb67137b9e0ba3c5de8c467d5b4502c69a1 Gav Wood committed Sep 7, 2012
Showing with 153 additions and 0 deletions.
  1. +6 −0 debian/README
  2. +4 −0 debian/README.Debian
  3. +5 −0 debian/changelog
  4. +1 −0 debian/compat
  5. +13 −0 debian/control
  6. +48 −0 debian/copyright
  7. +2 −0 debian/dirs
  8. +2 −0 debian/docs
  9. +18 −0 debian/rules
  10. +8 −0 package.sh
  11. +46 −0 release.sh
View
@@ -0,0 +1,6 @@
+The Debian Package martta
+----------------------------
+
+Comments regarding the Package
+
+ -- Gav Wood <gavin@quidprocode.co.uk> Mon, 12 Oct 2009 19:23:43 +0200
@@ -0,0 +1,4 @@
+martta for Debian
+---------------------
+
+ -- Gav Wood <gavin@quidprocode.co.uk> Mon, 12 Oct 2009 19:23:43 +0200
View
@@ -0,0 +1,5 @@
+ripinpeace (1.0.0~rc1) precise; urgency=medium
+
+ * Initial Release.
+
+ -- Gav Wood <i@gavwood.com> Fri Sep 7 08:50:19 BST 2012
View
@@ -0,0 +1 @@
+7
View
@@ -0,0 +1,13 @@
+Source: ripinpeace
+Section: devel
+Priority: optional
+Maintainer: Gav Wood <i@gavwood.com>
+Build-Depends: debhelper (>= 7), cdbs, mawk, grep (>= 2.0.0), sed (>= 4.0.0), libqt4-dev (>= 4.8.0), g++ (>= 4.6.0), libcdio-paranoia-dev libcdio-dev libcdio-cdda-dev libcddb2-dev libflac++-dev libdiscid0-dev libmusicbrainz4-dev
+Standards-Version: 3.8.3
+Homepage: https://github.com/gavofyork/RipInPeace
+
+Package: martta
+Architecture: any
+Depends: libqt4 libcdio-paranoia1 libcdio13 libcdio-cdda1 libcddb2 libflac++6 libdiscid0 libmusicbrainz4
+Description: CD Ripper
+ Rip in Peace is a CD ripper that doesn't get in your way.
View
@@ -0,0 +1,48 @@
+This package was debianized by:
+
+ Gav Wood <gavin@quidprocode.co.uk> on Mon, 12 Oct 2009 19:23:43 +0200
+
+It was downloaded from:
+
+ <http://martta.net>
+
+Upstream Author(s):
+
+ Gav Wood <gavin@quidprocode.co.uk>
+
+Copyright:
+
+ <Copyright (C) 2010 quid pro code Limited (UK)>
+
+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 3 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
+
+ Though all of Martta is available under the GPL, parts of Martta have
+ certain exception clauses; see COPYING.Martta and COPYING.MarttaSupport
+ for more details.
+
+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:
+
+ Copyright C) 2010, Gav Wood <gavin@quidprocode.co.uk>
+
+and is licensed under the GPL, see above.
+
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
View
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
View
@@ -0,0 +1,2 @@
+README
+TODO
View
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/qmake.mk
+
+# Add here any variable or target overrides you need.
+QMAKE=qmake-qt4 -r PREFIX=${PREFIX}
+BUILD_CONFIG=release
+
View
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+set -e
+rm -f ../ripinpeace_*
+debuild -S -sa
+cd ..
+dput -f ppa:r-launchpad-gavofyork-fastmail-fm/ripinpeace ripinpeace_*_source.changes
+
View
@@ -0,0 +1,46 @@
+#!/bin/bash
+
+if [[ ! "$2" = "" ]]; then
+ debchange -v $1 "$2"
+ git commit -a -m "$2"
+fi
+
+opwd=`pwd`
+cd /tmp
+
+echo Checking out...
+git clone $opwd
+cd RipInPeace
+
+if [ "$1" = "" ]; then
+ archdir="ripinpeace-$(date +%Y%m%d)"
+else
+ archdir="ripinpeace-$1"
+fi
+archfile="$archdir.tar.bz2"
+
+echo Cleaning backup files...
+find . | grep \~ | xargs rm -f
+
+echo Cleaning others...
+rm release.sh link.sh
+
+echo Cleaning versioning...
+rm -rf .git .gitignore
+
+echo Renaming directory...
+cd ..
+mv RipInPeace $archdir
+
+echo Creating archive...
+tar c $archdir | bzip2 -- > $archfile
+
+echo Packaging...
+cd "$archdir"
+./package.sh
+
+echo Cleaning up...
+rm -rf /tmp/$archdir
+mv /tmp/$archfile ~
+
+echo Done.

0 comments on commit 6cd20fb

Please sign in to comment.