--- mrename-1.2.orig/Makefile +++ mrename-1.2/Makefile @@ -0,0 +1,9 @@ +# Makefile adapted from saytime and added for Debian by Dr. Guenter Bechly + +DESTDIR = +BINDIR = $(DESTDIR)/usr/bin + +install: + install mcpmv $(BINDIR) + install mrename $(BINDIR) + --- mrename-1.2.orig/debian/compat +++ mrename-1.2/debian/compat @@ -0,0 +1 @@ +4 --- mrename-1.2.orig/debian/dirs +++ mrename-1.2/debian/dirs @@ -0,0 +1 @@ +usr/bin --- mrename-1.2.orig/debian/docs +++ mrename-1.2/debian/docs @@ -0,0 +1 @@ +README --- mrename-1.2.orig/debian/control +++ mrename-1.2/debian/control @@ -0,0 +1,17 @@ +Source: mrename +Section: utils +Priority: optional +Maintainer: Tommaso Moroni +Build-Depends-Indep: debhelper (>= 4.0.0) +Standards-Version: 3.6.1.0 + +Package: mrename +Architecture: all +Depends: ${shlibs:Depends} ${misc:Depends} +Description: A tool for easy and automatic renaming of many files + Mass Rename is a simple pair of shell scripts which make it easier to + move, rename, or copy multiple files at once. It is intended mainly as an + automatic and simple way to rename multiple files with a customizable + prefix and a progressive number. It is also possible to modify the rename + format simply by editing one of the scripts. It is easy, complete, and + efficient, and was written only in sh code. --- mrename-1.2.orig/debian/rules +++ mrename-1.2/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. +# $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. +# -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp. + $(MAKE) install DESTDIR=`pwd`/debian/mrename + + +# 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_installdocs + dh_installman debian/mcpmv.1 debian/mrename.1 + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- mrename-1.2.orig/debian/watch +++ mrename-1.2/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://alfalinux.sourceforge.net/mrename-(.*)\.tar\.gz debian uupdate --- mrename-1.2.orig/debian/changelog +++ mrename-1.2/debian/changelog @@ -0,0 +1,63 @@ +mrename (1.2-8) unstable; urgency=low + + * debian/watch now uses format version 2. + + -- Tommaso Moroni Thu, 29 Jul 2004 13:44:16 +0200 + +mrename (1.2-7) unstable; urgency=low + + * Package adopted. (Closes: #206856) + * DH_COMPAT set to 4 using debian/compat; ${misc:Depends} used in debian/control. + * Standard-Version updated to 3.6.1.0 (no changes needed) + * Build-Depends changed into Build-Depends-Indep. + * Fixed minor error in debian/copyright. + * Using dh_installman instead of dh_installmanpages. + + -- Tommaso Moroni Wed, 27 Aug 2003 19:46:04 +0200 + +mrename (1.2-6) unstable; urgency=low + + * Changed maintainer to Harry Henry Gebel (closes: #100244) + * Updated rules file to debhelper version 3 + * Changed Architecture from 'any' to 'all' + + -- Harry Henry Gebel Mon, 11 Jun 2001 02:30:38 -0400 + +mrename (1.2-5) unstable; urgency=low + + * Added Build-Depends in control. + * Corrected typo in copyright file. + + -- Dr. Guenter Bechly Thu, 29 Mar 2001 12:55:39 +0200 + +mrename (1.2-4) unstable; urgency=low + + * Changed section from admin to utils to satisfy override. + + -- Dr. Guenter Bechly Wed, 14 Feb 2001 21:51:13 +0100 + +mrename (1.2-3) unstable; urgency=low + + * Deleted the useless menu entry; closes: #85880 + + -- Dr. Guenter Bechly Wed, 14 Feb 2001 19:03:20 +0100 + +mrename (1.2-2) unstable; urgency=low + + * Deleted the duplicate package description in control-file + (closes: #75453) + + -- Dr. Guenter Bechly Sat, 28 Oct 2000 12:43:42 +0200 + +mrename (1.2-1) unstable; urgency=low + + * Initial Release. + * Beware! This is one of my first Debian packages ;-) + * Added a Makefile. + * Added a manpage for Debian. + + -- Dr. Guenter Bechly Sun, 22 Oct 2000 16:38:35 +0200 + +Local variables: +add-log-mailing-address "gbechly@debian.org" +End: --- mrename-1.2.orig/debian/mcpmv.1 +++ mrename-1.2/debian/mcpmv.1 @@ -0,0 +1,57 @@ +.TH MRENAME 1 "October 22, 2000" +.SH NAME +mrename \- program to rename files +.SH SYNOPSIS +.B mrename +.RI 'pattern' +.RI prefix +.RI [option] +.SH DESCRIPTION +This manual page documents briefly the +.B mrename +command. +This manual page was written for the Debian GNU/Linux distribution +because the original program does not have a manual page. +.PP +\fBmrename\fP is a tool for easy and automatic renaming of many files. +The \fB'pattern'\fP is the pattern to search files to rename (quoted to avoid +that bash resolve it), and \fBprefix\fP is the prefix that will be added +to the name of each file. The two alternative \fBoptions\fP for copying or +moving files in the new name are explained below. +All parameters are needed, and you have to stay and launch the script +in the same directory of the files to be renamed. The program should be able +to write in this directory. +.SH OPTIONS +There are only the following three options. +.TP +.B \-c +The option -c will copy each file with the new filename. +.TP +.B \-m +The option -m will move each file in the new filename. +.TP +.B \-h +Display help. +.SH EXAMPLE +If you have a directory with two jpeg images prof.jpg and forp.jpg +and you want to add them a prefix like item0, item1 etc.. +(that is item0prof.jpg, item1forp.jpg etc..) do this: + + cd /path/to/the/images + mrename '*.jpg' item -c + +to copy each matching file into another with the new name + + mrename '*.jpg' item -m + +to rename each file without keeping a copy with the previous name +.SH Word-Wide-Web: +http://alfalinux.sourceforge.net/mrename.php3 +.SH AUTHOR: +.I Giancarlo -rofus- Erra +.br +e-mail: rofus@mindless.com +.PP +This manual page was written by Dr. Guenter Bechly , +for the Debian GNU/Linux system (but may be used by others). It is +distributed under the GPL just like mrename itself. --- mrename-1.2.orig/debian/mrename.1 +++ mrename-1.2/debian/mrename.1 @@ -0,0 +1,57 @@ +.TH MRENAME 1 "October 22, 2000" +.SH NAME +mrename \- program to rename files +.SH SYNOPSIS +.B mrename +.RI 'pattern' +.RI prefix +.RI [option] +.SH DESCRIPTION +This manual page documents briefly the +.B mrename +command. +This manual page was written for the Debian GNU/Linux distribution +because the original program does not have a manual page. +.PP +\fBmrename\fP is a tool for easy and automatic renaming of many files. +The \fB'pattern'\fP is the pattern to search files to rename (quoted to avoid +that bash resolve it), and \fBprefix\fP is the prefix that will be added +to the name of each file. The two alternative \fBoptions\fP for copying or +moving files in the new name are explained below. +All parameters are needed, and you have to stay and launch the script +in the same directory of the files to be renamed. The program should be able +to write in this directory. +.SH OPTIONS +There are only the following three options. +.TP +.B \-c +The option -c will copy each file with the new filename. +.TP +.B \-m +The option -m will move each file in the new filename. +.TP +.B \-h +Display help. +.SH EXAMPLE +If you have a directory with two jpeg images prof.jpg and forp.jpg +and you want to add them a prefix like item0, item1 etc.. +(that is item0prof.jpg, item1forp.jpg etc..) do this: + + cd /path/to/the/images + mrename '*.jpg' item -c + +to copy each matching file into another with the new name + + mrename '*.jpg' item -m + +to rename each file without keeping a copy with the previous name +.SH Word-Wide-Web: +http://alfalinux.sourceforge.net/mrename.php3 +.SH AUTHOR: +.I Giancarlo -rofus- Erra +.br +e-mail: rofus@mindless.com +.PP +This manual page was written by Dr. Guenter Bechly , +for the Debian GNU/Linux system (but may be used by others). It is +distributed under the GPL just like mrename itself. --- mrename-1.2.orig/debian/README.Debian +++ mrename-1.2/debian/README.Debian @@ -0,0 +1,6 @@ +mrename for Debian +---------------------- + +I added a Makefile (adapted from saytime) and a manpage for debianization. + + -- Dr. Guenter Bechly , Sun, 22 Oct 2000 16:38:35 +0200 --- mrename-1.2.orig/debian/copyright +++ mrename-1.2/debian/copyright @@ -0,0 +1,15 @@ +This package was debianized by Dr. Guenter Bechly on +Sun, 22 Oct 2000 16:38:35 +0200. + +It was downloaded from ftp://alfalinux.sourceforge.net/pub/alfalinux/mrename-1.2.tar.gz + +Upstream Author: Giancarlo -rofus- Erra + +Copyright: GPL + +This software is copyright (c) by Giancarlo Erra + +You are free to distribute this software under the terms of +the GNU General Public Licence. +On Debian systems, the complete text of the GNU General Public +Licence can be found in /usr/share/common-licenses/GPL file.