--- drobo-utils-0.6.1+repack.orig/debian/README.Debian +++ drobo-utils-0.6.1+repack/debian/README.Debian @@ -0,0 +1,3 @@ +To use droboview, the graphical interface for managing drobos, make sure that +you have installed python-qt4 and gparted. These are part of the "Suggested" +dependencies, but some users may not have installed them intially. --- drobo-utils-0.6.1+repack.orig/debian/drobo-utils.manpages +++ drobo-utils-0.6.1+repack/debian/drobo-utils.manpages @@ -0,0 +1,2 @@ +drobom.8 +droboview.8 --- drobo-utils-0.6.1+repack.orig/debian/README.source +++ drobo-utils-0.6.1+repack/debian/README.source @@ -0,0 +1,4 @@ +This package needs to repack the upstream tarball in order to remove the +debian/ directory from it; to obtain the tarball used from this package, run: + + debian/rules get-orig-source --- drobo-utils-0.6.1+repack.orig/debian/rules +++ drobo-utils-0.6.1+repack/debian/rules @@ -0,0 +1,60 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PKGNAME := drobo-utils + +build: build-stamp + +build-stamp: + dh_testdir + python setup.py build + touch $@ + +clean: + dh_testdir + dh_testroot + python setup.py clean --all + [ ! -d build ] || rm -rf build + find . -name "*\.pyc" -delete + dh_clean *-stamp + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + make doc + python setup.py install_lib -d $(CURDIR)/debian/$(PKGNAME)/usr/share/python-support/$(PKGNAME) + find $(CURDIR)/debian/$(PKGNAME) -name "*\.pyc" -delete + #python setup.py install_data -d $(CURDIR)/debian/$(PKGNAME)/usr/share/$(PKGNAME) + cp Drobo-Front-0000.gif $(CURDIR)/debian/$(PKGNAME)/usr/share/pixmaps/ + python setup.py install_scripts -d $(CURDIR)/debian/$(PKGNAME)/usr/sbin + for s in $(CURDIR)/debian/$(PKGNAME)/usr/sbin/*; do \ + sed -i '1s,#!.*python.*,#!/usr/bin/python,' $$s; \ + done + +binary-arch: + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGES.txt + dh_installdocs + dh_pysupport + dh_installman + dh_compress -X.py + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch binary-indep + +get-orig-source: + uscan --verbose --rename --repack --force-download + +.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure --- drobo-utils-0.6.1+repack.orig/debian/docs +++ drobo-utils-0.6.1+repack/debian/docs @@ -0,0 +1,10 @@ +README.txt +README.html +Dunno.txt +DroboFirmwareWishes.txt +DEVELOPERS.txt +DEVELOPERS.html +CHANGES.html +QA.txt +drobom.html +droboview.html --- drobo-utils-0.6.1+repack.orig/debian/copyright +++ drobo-utils-0.6.1+repack/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Chris AtLee on +Mon, 02 Feb 2009 14:22:39 -0500 + +It was downloaded from http://drobo-utils.sourceforge.net + +Upstream Author: + + Peter A Silva + +Copyright: + + Copyright (C) 2008,2009 Peter A Silva + +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 3 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 program. If not, see . + +The Debian packaging is Copyright 2009, Chris AtLee and +is licensed under the GPLv3, see `/usr/share/common-licenses/GPL-3'. --- drobo-utils-0.6.1+repack.orig/debian/changelog +++ drobo-utils-0.6.1+repack/debian/changelog @@ -0,0 +1,17 @@ +drobo-utils (0.6.1+repack-1) unstable; urgency=low + + [ Chris AtLee ] + * New upstream release + * Improve long description (Closes: #524031) + + [ Jakub Wilk ] + * Drop dependency on python-ctypes. Require Python >= 2.5 instead. + (Closes: #562471) + + -- Python Applications Packaging Team Sat, 16 Jan 2010 00:47:19 +0100 + +drobo-utils (0.5.0-1+repack-1) unstable; urgency=low + + * Initial release. (Closes: #498720) + + -- Chris AtLee Sat, 17 Jan 2009 16:28:13 -0500 --- drobo-utils-0.6.1+repack.orig/debian/watch +++ drobo-utils-0.6.1+repack/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/\+repack// \ + http://sf.net/drobo-utils/drobo-utils_(.+)\.tar\.gz debian debian/uscan-repack.sh --- drobo-utils-0.6.1+repack.orig/debian/uscan-repack.sh +++ drobo-utils-0.6.1+repack/debian/uscan-repack.sh @@ -0,0 +1,28 @@ +#!/bin/sh +## Taken from ipython package, kudos to maintainer :) + +set -e + +#command --upstream-version version filename + +[ $# -eq 3 ] || exit 255 + +echo + +version="$2" +filename="$3" +dfsgfilename=`echo $3 | sed 's,\.orig\.,+repack.orig.,'` + +tar xfz ${filename} + +dir=`tar tfz ${filename} | head -1 | sed 's,/.*,,g'` +rm -f ${filename} + +rm -rf ${dir}/debian ${dir}/notdebian +mv ${dir} ${dir}+repack.orig + +tar cf - ${dir}+repack.orig | gzip -9 > ${dfsgfilename} + +rm -rf ${dir}+repack.orig + +echo "${dfsgfilename} created." --- drobo-utils-0.6.1+repack.orig/debian/drobo-utils.dirs +++ drobo-utils-0.6.1+repack/debian/drobo-utils.dirs @@ -0,0 +1 @@ +/usr/share/pixmaps --- drobo-utils-0.6.1+repack.orig/debian/compat +++ drobo-utils-0.6.1+repack/debian/compat @@ -0,0 +1 @@ +5 --- drobo-utils-0.6.1+repack.orig/debian/control +++ drobo-utils-0.6.1+repack/debian/control @@ -0,0 +1,32 @@ +Source: drobo-utils +Section: python +Priority: extra +Maintainer: Chris AtLee +Uploaders: Python Applications Packaging Team +Build-Depends: debhelper (>= 5), python (>= 2.5) +Build-Depends-Indep: python-support (>= 0.6), groff, python-docutils +Standards-Version: 3.8.3 +Homepage: http://drobo-utils.sourceforge.net +Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/drobo-utils/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/drobo-utils/trunk/ +XS-Python-Version: >= 2.5 + +Package: drobo-utils +Architecture: all +Recommends: parted, sudo +Suggests: gparted, python-qt4 +Depends: ${misc:Depends}, ${python:Depends} +XB-Python-Version: ${python:Versions} +Description: manage data robotics storage units (drobos) + This package provides a command line interface for managing a Drobo, as well + as a graphical dashboard interface. These tools allow you to setup a new + Drobo, and monitor the status of connected Drobos. + . + To enable the graphical interface, please be sure to install the suggested + python-qt4 package, as well as gparted. + . + Data Robotics storage units ("Drobos") are external hard drive enclosures that + connect to your PC via USB or Firewire and provide RAID-like features. Drobos + provide automatic data redundancy, hotswappable drive bays, and the size of + the RAID can be easily expanded. Different sized hard drives can be mixed on + the same Drobo. See http://drobo.com for more information.