wmusic: Remove debian directory, spec file, and generated autotools files.
This commit is contained in:
parent
7054a65b90
commit
08e87d5780
1708
wmusic/configure
vendored
1708
wmusic/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -1,115 +0,0 @@
|
||||||
wmusic (1.4.10-2) unstable; urgency=low
|
|
||||||
|
|
||||||
* Use xlibs-dev as Build-Dep instead of xlibs6-dev (Closes: #170164).
|
|
||||||
|
|
||||||
-- Alain Schroeder <alain@debian.org> Fri, 7 Mar 2003 20:45:14 +0100
|
|
||||||
|
|
||||||
wmusic (1.4.10-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* New Upstream (Fixes Segfaults with gcc-3.0; New Upstream Address)
|
|
||||||
* Changed all addresses in debian/copyright and debian/wmusic.1
|
|
||||||
* Fix hiding of xmms on startup (Closes: #166529).
|
|
||||||
|
|
||||||
-- Alain Schroeder <alain@debian.org> Wed, 30 Oct 2002 01:30:27 +0100
|
|
||||||
|
|
||||||
wmusic (1.4.9-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* New Upstream (It now includes the arrow-patch from 1.4.7-1 and adds the
|
|
||||||
possibility, to choose if the time left or time elapsed is displayed).
|
|
||||||
* Upped Standart Version.
|
|
||||||
|
|
||||||
-- Alain Schroeder <alain@debian.org> Fri, 22 Feb 2002 12:34:49 +0100
|
|
||||||
|
|
||||||
wmusic (1.4.7-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* New Upstream (Only changes to included libdockapp, which we don't use
|
|
||||||
since there is an debian package)
|
|
||||||
* Modified patch from (1.2.6-3 / #86939 / Spinning arrow when stopped)
|
|
||||||
to work only, if command line argument -a or --rotate-arrow is given.
|
|
||||||
Upstream is unresponsive at the moment, so I'm releasing this now.
|
|
||||||
* Changed Manpage to reflect the new patch.
|
|
||||||
* Changed debian menu entry to start with --rotate-arrow by default, too
|
|
||||||
|
|
||||||
-- Alain Schroeder <alain@debian.org> Thu, 2 Aug 2001 20:22:39 +0200
|
|
||||||
|
|
||||||
wmusic (1.4.6-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* New Upstream (No real change - only a few changes to README and
|
|
||||||
Makefile for *BSD)
|
|
||||||
* Linked against libdockapp again - the maintainer included my fixes
|
|
||||||
and fixed my fixes again ;)
|
|
||||||
|
|
||||||
-- Alain Schroeder <alain@debian.org> Tue, 24 Apr 2001 19:21:37 +0200
|
|
||||||
|
|
||||||
wmusic (1.4.5-2) unstable; urgency=low
|
|
||||||
|
|
||||||
* Patched included libdockapp, to work correctly with KDE. (closes: #89516)
|
|
||||||
|
|
||||||
-- Alain Schroeder <alain@debian.org> Sun, 15 Apr 2001 01:59:11 +0200
|
|
||||||
|
|
||||||
wmusic (1.4.5-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* New Upstream.
|
|
||||||
|
|
||||||
-- Alain Schroeder <alain@debian.org> Mon, 11 Apr 2001 13:50:32 +0200
|
|
||||||
|
|
||||||
wmusic (1.4.4-2) unstable; urgency=low
|
|
||||||
|
|
||||||
* Fixed menu entry and added a long description.
|
|
||||||
|
|
||||||
-- Alain Schroeder <alain@debian.org> Mon, 9 Apr 2001 15:52:48 +0200
|
|
||||||
|
|
||||||
wmusic (1.4.4-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* New Upstream, fixes Memory Leak and closes #91826
|
|
||||||
|
|
||||||
-- Alain Schroeder <alain@debian.org> Mon, 2 Apr 2001 00:30:38 +0200
|
|
||||||
|
|
||||||
wmusic (1.4.3-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* New Upstream
|
|
||||||
* Changed back to libdockapp delivered with wmusic, since it
|
|
||||||
seem to handle some stuff right, this might close 89516, maybe
|
|
||||||
not...
|
|
||||||
|
|
||||||
-- Alain Schroeder <alain@debian.org> Wed, 16 Mar 2001 11:29:58 +0100
|
|
||||||
|
|
||||||
wmusic (1.4.2-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* New Upstream
|
|
||||||
|
|
||||||
-- Alain Schroeder <alain@debian.org> Mon, 12 Mar 2001 10:46:57 +0100
|
|
||||||
|
|
||||||
wmusic (1.4.1-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* New Upstream
|
|
||||||
* Upgraded Standarts Version
|
|
||||||
|
|
||||||
-- Alain Schroeder <alain@debian.org> Sun, 11 Mar 2001 16:47:29 +0100
|
|
||||||
|
|
||||||
wmusic (1.2.6-4) unstable; urgency=low
|
|
||||||
|
|
||||||
* Wrote a manpage, closes #87140
|
|
||||||
|
|
||||||
-- Alain Schroeder <alain@debian.org> Tue, 27 Feb 2001 11:29:12 +0100
|
|
||||||
|
|
||||||
wmusic (1.2.6-3) unstable; urgency=low
|
|
||||||
|
|
||||||
* Now wmusic´s arrow doesn´t spin, if xmms is paused, closes #86939
|
|
||||||
|
|
||||||
-- Alain Schroeder <alain@debian.org> Thu, 22 Feb 2001 05:17:45 +0100
|
|
||||||
|
|
||||||
wmusic (1.2.6-2) unstable; urgency=low
|
|
||||||
|
|
||||||
* Changed section to sound
|
|
||||||
* Fixed dependencies and compiled wmusic against libdockapp
|
|
||||||
instead of just linking it (changed src/Makefile.in too to this),
|
|
||||||
closes Bug#86101
|
|
||||||
|
|
||||||
-- Alain Schroeder <alain@debian.org> Fri, 16 Feb 2001 17:09:44 +0100
|
|
||||||
|
|
||||||
wmusic (1.2.6-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Initial Release, closes Bug#85266.
|
|
||||||
|
|
||||||
-- Alain Schroeder <alain@debian.org> Sun, 14 Jan 2001 16:23:10 +0000
|
|
|
@ -1,14 +0,0 @@
|
||||||
Source: wmusic
|
|
||||||
Section: sound
|
|
||||||
Priority: optional
|
|
||||||
Maintainer: Alain Schroeder <alain@debian.org>
|
|
||||||
Build-Depends: xmms-dev, xlibs-dev, libgtk1.2-dev, debhelper, libdockapp-dev
|
|
||||||
Standards-Version: 3.5.6.0
|
|
||||||
|
|
||||||
Package: wmusic
|
|
||||||
Architecture: any
|
|
||||||
Depends: ${shlibs:Depends}
|
|
||||||
Description: a remote-control DockApp for xmms
|
|
||||||
wmusic is a dockapp that remote-controls xmms. Features include VCR-style
|
|
||||||
controls, Time and Playlist display, supa stylee rotating arrow, hiding of
|
|
||||||
the xmms windows and reactive interface.
|
|
|
@ -1,14 +0,0 @@
|
||||||
This package was debianized by Bastien Nocera <hadess@hadess.net> on
|
|
||||||
Sun, 14 Jan 2001 16:23:10 +0000 and is now maintained by Alain Schröder
|
|
||||||
<alain@debian.org>.
|
|
||||||
|
|
||||||
It was downloaded from http://home.jtan.com/~john/wmusic/
|
|
||||||
|
|
||||||
Upstream Author(s): John Chapin <john+wmusic@jtan.com>
|
|
||||||
|
|
||||||
Copyright:
|
|
||||||
You are free to distribute this software under the terms of
|
|
||||||
the GNU General Public License.
|
|
||||||
|
|
||||||
On Debian systems, the complete text of the GNU General Public
|
|
||||||
License can be found in /usr/share/common-licenses/GPL file.
|
|
|
@ -1 +0,0 @@
|
||||||
README
|
|
|
@ -1,3 +0,0 @@
|
||||||
?package(wmusic):needs=X11 section=Apps/Sound\
|
|
||||||
title="wmusic" command="/usr/bin/wmusic --rotate-arrow" \
|
|
||||||
description="A remote-control DockApp for XMMS"
|
|
|
@ -1,78 +0,0 @@
|
||||||
#!/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
|
|
||||||
|
|
||||||
# This is the debhelper compatability version to use.
|
|
||||||
export DH_COMPAT=1
|
|
||||||
|
|
||||||
build: build-stamp
|
|
||||||
build-stamp:
|
|
||||||
dh_testdir
|
|
||||||
|
|
||||||
./configure --prefix=/usr/X11R6 --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
|
|
||||||
# Add here commands to compile the package.
|
|
||||||
$(MAKE)
|
|
||||||
|
|
||||||
touch build-stamp
|
|
||||||
|
|
||||||
clean:
|
|
||||||
dh_testdir
|
|
||||||
dh_testroot
|
|
||||||
rm -f build-stamp
|
|
||||||
|
|
||||||
# Add here commands to clean up after the build process.
|
|
||||||
-$(MAKE) distclean
|
|
||||||
|
|
||||||
-rm config.log config.status config.cache Makefile
|
|
||||||
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 PREFIX=`pwd`/debian/tmp/usr
|
|
||||||
|
|
||||||
|
|
||||||
# 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_testversion
|
|
||||||
dh_testdir
|
|
||||||
dh_testroot
|
|
||||||
# dh_installdebconf
|
|
||||||
dh_installdocs
|
|
||||||
dh_installexamples
|
|
||||||
dh_installmenu
|
|
||||||
# dh_installemacsen
|
|
||||||
# dh_installpam
|
|
||||||
# dh_installinit
|
|
||||||
dh_installcron
|
|
||||||
dh_installmanpages
|
|
||||||
dh_installinfo
|
|
||||||
# dh_undocumented wmusic.1
|
|
||||||
dh_installchangelogs
|
|
||||||
dh_link
|
|
||||||
dh_strip
|
|
||||||
dh_compress
|
|
||||||
dh_fixperms
|
|
||||||
# You may want to make some executables suid here.
|
|
||||||
# dh_suidregister
|
|
||||||
# dh_makeshlibs
|
|
||||||
dh_installdeb
|
|
||||||
# dh_perl
|
|
||||||
dh_shlibdeps
|
|
||||||
dh_gencontrol
|
|
||||||
dh_md5sums
|
|
||||||
dh_builddeb
|
|
||||||
|
|
||||||
binary: binary-indep binary-arch
|
|
||||||
.PHONY: build clean binary-indep binary-arch binary install
|
|
|
@ -1,73 +0,0 @@
|
||||||
.TH WMUSIC 1 "February 22, 2002"
|
|
||||||
.SH NAME
|
|
||||||
wmusic \- a remote-control DockApp for xmms
|
|
||||||
.SH SYNOPSIS
|
|
||||||
.B wmusic
|
|
||||||
.RI [ options ]
|
|
||||||
.SH DESCRIPTION
|
|
||||||
This manual page documents briefly the
|
|
||||||
.B wmusic command.
|
|
||||||
\fBwmusic\fP is a dockapp that remote-controls xmms. Features include
|
|
||||||
VCR-style controls, Time and Playlist display, supa stylee rotating
|
|
||||||
arrow, hiding of the xmms windows and reactive interface.
|
|
||||||
.SH OPTIONS
|
|
||||||
These programs follow the usual GNU command line syntax, with long
|
|
||||||
options starting with two dashes (`-').
|
|
||||||
A summary of options is included below.
|
|
||||||
For a complete description, see the Info files.
|
|
||||||
.TP
|
|
||||||
.B \-h, \-\-help
|
|
||||||
Show summary of options.
|
|
||||||
.TP
|
|
||||||
.B \-v, \-\-version
|
|
||||||
Show version of program.
|
|
||||||
.TP
|
|
||||||
.B \-c, \-\-command <program>
|
|
||||||
Use <program> as the command to launch XMMS. You can start XMMS
|
|
||||||
by a double-click into the status part of \fBwmusic\fP.
|
|
||||||
.TP
|
|
||||||
.B \-d, \-\-display host:display[.screen]
|
|
||||||
specifies the X server to contact; see X(1).
|
|
||||||
.TP
|
|
||||||
.B \-r, \-\-run
|
|
||||||
Run XMMS on startup.
|
|
||||||
.TP
|
|
||||||
.B \-R, \-\-run\-exclusive
|
|
||||||
Run XMMS on startup, exit when xmms exits.
|
|
||||||
.TP
|
|
||||||
.B \-s, \-\-session <number>
|
|
||||||
Wich XMMS Session to use.
|
|
||||||
.TP
|
|
||||||
.B \-t, \-\-title
|
|
||||||
Shows title instead of kbps by default.
|
|
||||||
.TP
|
|
||||||
.B \-u, \-\-hide
|
|
||||||
Hide XMMS windows on startup.
|
|
||||||
.TP
|
|
||||||
.B \-V, \-\-volume
|
|
||||||
Stepping of the wheel volume control (in percent).
|
|
||||||
.TP
|
|
||||||
.B \-x, \-\-wmxmms
|
|
||||||
Use wmxmms-like show and hide. Just hide the main XMMS window.
|
|
||||||
If you do not use this parameter, \fBwmusic\fP show and hide
|
|
||||||
the main, playlist and equaliser windows. You can toggle the hide
|
|
||||||
function by pressing with the middle button into the status part of
|
|
||||||
\fBwmusic\fP.
|
|
||||||
.TP
|
|
||||||
.B \-w, \-\-windowed
|
|
||||||
Run in windowed mode. Use this, if you want to run \fBwmusic\fP in
|
|
||||||
the AfterStep wharf.
|
|
||||||
.TP
|
|
||||||
.B \-a, \-\-rotate-arrow
|
|
||||||
Stop the rotating arrow when \fBwmusic\fP is paused.
|
|
||||||
.TP
|
|
||||||
.B \-l, \-\-time-left
|
|
||||||
Start \fBwmusic\fP with the display showing time left instead of time
|
|
||||||
elapsed.
|
|
||||||
.SH SEE ALSO
|
|
||||||
.BR xmms (1x), wmaker (1x)
|
|
||||||
.SH AUTHOR
|
|
||||||
wmusic was originally written by Bastien Nocera <hadess@hadess.net> and
|
|
||||||
it is now maintained by John Chapin <john+wmusic@jtan.com>.
|
|
||||||
This manual page was written by Alain Schroeder <alain@debian.org>,
|
|
||||||
for the Debian GNU/Linux system (but may be used by others).
|
|
|
@ -1,250 +0,0 @@
|
||||||
#! /bin/sh
|
|
||||||
#
|
|
||||||
# install - install a program, script, or datafile
|
|
||||||
# This comes from X11R5 (mit/util/scripts/install.sh).
|
|
||||||
#
|
|
||||||
# Copyright 1991 by the Massachusetts Institute of Technology
|
|
||||||
#
|
|
||||||
# Permission to use, copy, modify, distribute, and sell this software and its
|
|
||||||
# documentation for any purpose is hereby granted without fee, provided that
|
|
||||||
# the above copyright notice appear in all copies and that both that
|
|
||||||
# copyright notice and this permission notice appear in supporting
|
|
||||||
# documentation, and that the name of M.I.T. not be used in advertising or
|
|
||||||
# publicity pertaining to distribution of the software without specific,
|
|
||||||
# written prior permission. M.I.T. makes no representations about the
|
|
||||||
# suitability of this software for any purpose. It is provided "as is"
|
|
||||||
# without express or implied warranty.
|
|
||||||
#
|
|
||||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
|
||||||
# `make' implicit rules from creating a file called install from it
|
|
||||||
# when there is no Makefile.
|
|
||||||
#
|
|
||||||
# This script is compatible with the BSD install script, but was written
|
|
||||||
# from scratch. It can only install one file at a time, a restriction
|
|
||||||
# shared with many OS's install programs.
|
|
||||||
|
|
||||||
|
|
||||||
# set DOITPROG to echo to test this script
|
|
||||||
|
|
||||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
|
||||||
doit="${DOITPROG-}"
|
|
||||||
|
|
||||||
|
|
||||||
# put in absolute paths if you don't have them in your path; or use env. vars.
|
|
||||||
|
|
||||||
mvprog="${MVPROG-mv}"
|
|
||||||
cpprog="${CPPROG-cp}"
|
|
||||||
chmodprog="${CHMODPROG-chmod}"
|
|
||||||
chownprog="${CHOWNPROG-chown}"
|
|
||||||
chgrpprog="${CHGRPPROG-chgrp}"
|
|
||||||
stripprog="${STRIPPROG-strip}"
|
|
||||||
rmprog="${RMPROG-rm}"
|
|
||||||
mkdirprog="${MKDIRPROG-mkdir}"
|
|
||||||
|
|
||||||
transformbasename=""
|
|
||||||
transform_arg=""
|
|
||||||
instcmd="$mvprog"
|
|
||||||
chmodcmd="$chmodprog 0755"
|
|
||||||
chowncmd=""
|
|
||||||
chgrpcmd=""
|
|
||||||
stripcmd=""
|
|
||||||
rmcmd="$rmprog -f"
|
|
||||||
mvcmd="$mvprog"
|
|
||||||
src=""
|
|
||||||
dst=""
|
|
||||||
dir_arg=""
|
|
||||||
|
|
||||||
while [ x"$1" != x ]; do
|
|
||||||
case $1 in
|
|
||||||
-c) instcmd="$cpprog"
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-d) dir_arg=true
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-m) chmodcmd="$chmodprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-o) chowncmd="$chownprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-g) chgrpcmd="$chgrpprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-s) stripcmd="$stripprog"
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
*) if [ x"$src" = x ]
|
|
||||||
then
|
|
||||||
src=$1
|
|
||||||
else
|
|
||||||
# this colon is to work around a 386BSD /bin/sh bug
|
|
||||||
:
|
|
||||||
dst=$1
|
|
||||||
fi
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
if [ x"$src" = x ]
|
|
||||||
then
|
|
||||||
echo "install: no input file specified"
|
|
||||||
exit 1
|
|
||||||
else
|
|
||||||
true
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ x"$dir_arg" != x ]; then
|
|
||||||
dst=$src
|
|
||||||
src=""
|
|
||||||
|
|
||||||
if [ -d $dst ]; then
|
|
||||||
instcmd=:
|
|
||||||
else
|
|
||||||
instcmd=mkdir
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
|
|
||||||
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
|
|
||||||
# might cause directories to be created, which would be especially bad
|
|
||||||
# if $src (and thus $dsttmp) contains '*'.
|
|
||||||
|
|
||||||
if [ -f $src -o -d $src ]
|
|
||||||
then
|
|
||||||
true
|
|
||||||
else
|
|
||||||
echo "install: $src does not exist"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ x"$dst" = x ]
|
|
||||||
then
|
|
||||||
echo "install: no destination specified"
|
|
||||||
exit 1
|
|
||||||
else
|
|
||||||
true
|
|
||||||
fi
|
|
||||||
|
|
||||||
# If destination is a directory, append the input filename; if your system
|
|
||||||
# does not like double slashes in filenames, you may need to add some logic
|
|
||||||
|
|
||||||
if [ -d $dst ]
|
|
||||||
then
|
|
||||||
dst="$dst"/`basename $src`
|
|
||||||
else
|
|
||||||
true
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
## this sed command emulates the dirname command
|
|
||||||
dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
|
|
||||||
|
|
||||||
# Make sure that the destination directory exists.
|
|
||||||
# this part is taken from Noah Friedman's mkinstalldirs script
|
|
||||||
|
|
||||||
# Skip lots of stat calls in the usual case.
|
|
||||||
if [ ! -d "$dstdir" ]; then
|
|
||||||
defaultIFS='
|
|
||||||
'
|
|
||||||
IFS="${IFS-${defaultIFS}}"
|
|
||||||
|
|
||||||
oIFS="${IFS}"
|
|
||||||
# Some sh's can't handle IFS=/ for some reason.
|
|
||||||
IFS='%'
|
|
||||||
set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
|
|
||||||
IFS="${oIFS}"
|
|
||||||
|
|
||||||
pathcomp=''
|
|
||||||
|
|
||||||
while [ $# -ne 0 ] ; do
|
|
||||||
pathcomp="${pathcomp}${1}"
|
|
||||||
shift
|
|
||||||
|
|
||||||
if [ ! -d "${pathcomp}" ] ;
|
|
||||||
then
|
|
||||||
$mkdirprog "${pathcomp}"
|
|
||||||
else
|
|
||||||
true
|
|
||||||
fi
|
|
||||||
|
|
||||||
pathcomp="${pathcomp}/"
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ x"$dir_arg" != x ]
|
|
||||||
then
|
|
||||||
$doit $instcmd $dst &&
|
|
||||||
|
|
||||||
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
|
|
||||||
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
|
|
||||||
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
|
|
||||||
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
|
|
||||||
else
|
|
||||||
|
|
||||||
# If we're going to rename the final executable, determine the name now.
|
|
||||||
|
|
||||||
if [ x"$transformarg" = x ]
|
|
||||||
then
|
|
||||||
dstfile=`basename $dst`
|
|
||||||
else
|
|
||||||
dstfile=`basename $dst $transformbasename |
|
|
||||||
sed $transformarg`$transformbasename
|
|
||||||
fi
|
|
||||||
|
|
||||||
# don't allow the sed command to completely eliminate the filename
|
|
||||||
|
|
||||||
if [ x"$dstfile" = x ]
|
|
||||||
then
|
|
||||||
dstfile=`basename $dst`
|
|
||||||
else
|
|
||||||
true
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Make a temp file name in the proper directory.
|
|
||||||
|
|
||||||
dsttmp=$dstdir/#inst.$$#
|
|
||||||
|
|
||||||
# Move or copy the file name to the temp name
|
|
||||||
|
|
||||||
$doit $instcmd $src $dsttmp &&
|
|
||||||
|
|
||||||
trap "rm -f ${dsttmp}" 0 &&
|
|
||||||
|
|
||||||
# and set any options; do chmod last to preserve setuid bits
|
|
||||||
|
|
||||||
# If any of these fail, we abort the whole thing. If we want to
|
|
||||||
# ignore errors from any of these, just make sure not to ignore
|
|
||||||
# errors from the above "$doit $instcmd $src $dsttmp" command.
|
|
||||||
|
|
||||||
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
|
|
||||||
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
|
|
||||||
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
|
|
||||||
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
|
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
|
||||||
|
|
||||||
$doit $rmcmd -f $dstdir/$dstfile &&
|
|
||||||
$doit $mvcmd $dsttmp $dstdir/$dstfile
|
|
||||||
|
|
||||||
fi &&
|
|
||||||
|
|
||||||
|
|
||||||
exit 0
|
|
|
@ -1,43 +0,0 @@
|
||||||
%define name @PACKAGE@
|
|
||||||
%define version @VERSION@
|
|
||||||
%define release 1
|
|
||||||
%define prefix /usr
|
|
||||||
|
|
||||||
Summary: a remote-control DockApp for xmms
|
|
||||||
Name: %{name}
|
|
||||||
Version: %{version}
|
|
||||||
Release: %{release}
|
|
||||||
Copyright: GPL
|
|
||||||
Source: http://hadess.net/files/wmusic-%{version}.tar.gz
|
|
||||||
Group: Applications/Multimedia
|
|
||||||
BuildRoot: /var/tmp/%{name}-%{version}-root
|
|
||||||
Packager: Hadess <hadess@hadess.net>
|
|
||||||
Requires: xmms >= 1.0.0
|
|
||||||
|
|
||||||
%description
|
|
||||||
wmusic is a dockapp that remote-controls xmms. Here is a list of the features:
|
|
||||||
|
|
||||||
- VCR style controls including fast rewind and fast forward
|
|
||||||
- Time and Playlist position display
|
|
||||||
- Super stylee rotating arrow
|
|
||||||
- Hiding of the xmms windows (on startup and through middle-click)
|
|
||||||
- Multi-threaded
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n %{name}-%{version}
|
|
||||||
%build
|
|
||||||
./configure --prefix=%{prefix}
|
|
||||||
|
|
||||||
%install
|
|
||||||
make PREFIX=$RPM_BUILD_ROOT/%{prefix} install
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
|
||||||
%attr(0755,root,root) /%{prefix}/bin/wmusic
|
|
||||||
%doc COPYING README
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Mon Jan 31 2000 Hadess <hadess@writeme.com>
|
|
||||||
- First .spec file
|
|
Loading…
Reference in a new issue