--- unsort-1.1.2.orig/debian/compat +++ unsort-1.1.2/debian/compat @@ -0,0 +1 @@ +5 --- unsort-1.1.2.orig/debian/rules +++ unsort-1.1.2/debian/rules @@ -0,0 +1,99 @@ +#!/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 + + +# 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) + + +config.status: configure + dh_testdir + # Add here commands to configure the package. +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 + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/unsort.sgml > unsort.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + rm -f config.sub config.guess + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/unsort. + $(MAKE) DESTDIR=$(CURDIR)/debian/unsort install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- unsort-1.1.2.orig/debian/docs +++ unsort-1.1.2/debian/docs @@ -0,0 +1,2 @@ +NEWS +README --- unsort-1.1.2.orig/debian/changelog +++ unsort-1.1.2/debian/changelog @@ -0,0 +1,31 @@ +unsort (1.1.2-1) unstable; urgency=low + + * New upstream release. + + -- Guus Sliepen Wed, 11 Jun 2008 23:49:07 +0200 + +unsort (1.1.1-1) unstable; urgency=low + + * New upstream release. + + -- Guus Sliepen Wed, 11 Jun 2008 11:44:29 +0200 + +unsort (1.1.0-1) unstable; urgency=low + + * New upstream release. + + -- Guus Sliepen Sun, 08 Jun 2008 12:53:54 +0200 + +unsort (1.0.3-1) unstable; urgency=low + + * New upstream release. + - Fixes off-by-one error in randomization code. Closes: #457450 + + -- Guus Sliepen Sun, 23 Dec 2007 14:25:58 +0100 + +unsort (1.0.2-1) unstable; urgency=low + + * Initial release. + + -- Guus Sliepen Thu, 20 Dec 2007 14:29:20 +0100 + --- unsort-1.1.2.orig/debian/dirs +++ unsort-1.1.2/debian/dirs @@ -0,0 +1 @@ +usr/bin --- unsort-1.1.2.orig/debian/copyright +++ unsort-1.1.2/debian/copyright @@ -0,0 +1,47 @@ +This package was debianized by Guus Sliepen on +Thu, 20 Dec 2007 14:29:20 +0100. + +It was downloaded from http://www.fruit.je/download/ + +Upstream Author: + + Wessel Dankers + +Copyright: + + Copyright (C) 2006, 2007 Wessel Dankers + +License: + + Copyright (C) 2007 Wessel Dankers + + 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. + +The complete text of the GPL version 3 can be found in +`/usr/share/common-licenses/GPL-3'. + +License for the mt19937ar random number generator used in unsort: + + Copyright (C) 1997-2002, Makoto Matsumoto and Takuji Nishimura, + All rights reserved. + Copyright (C) 2005-2007, Wessel Dankers. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. The names of its contributors may not be used to endorse or promote + products derived from this software without specific prior written + permission. + +The complete text of the BSD license can be found in `/usr/share/common-licenses/BSD'. --- unsort-1.1.2.orig/debian/control +++ unsort-1.1.2/debian/control @@ -0,0 +1,16 @@ +Source: unsort +Section: text +Priority: extra +Maintainer: Guus Sliepen +Build-Depends: debhelper (>= 5), autotools-dev +Standards-Version: 3.8.0 + +Package: unsort +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: reorders lines in a file in semirandom ways + This program reorders the lines in its input with no regard to the actual + contents. Two permutation algorithms are available: randomization + based on a good PRNG (the Mersenne Twister algorithm) and "shuffling", + which permutes the lines in such a way that they're spread more or less + evenly in the output. This mode is primarily intended for music playlists.