File: terminatorX.spec

package info (click to toggle)
terminatorx 3.82-7.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,332 kB
  • ctags: 1,889
  • sloc: cpp: 11,760; sh: 3,769; ansic: 3,752; xml: 1,509; makefile: 134; awk: 3
file content (120 lines) | stat: -rw-r--r-- 3,913 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
%define name terminatorX
%define version 3.82
%define release 1

Summary: Realtime Audio Synthesizer
Name: %{name}
Version: %{version}
Release: %{release}
Group: Applications/Multimedia
Copyright: GPL2
URL: http://www.terminatorX.cx
Source: %{name}-%{version}.tar.gz
Buildroot: %{_tmppath}/%{name}-%{version}-root
Requires: gtk2, libvorbis, audiofile, libxml2, zlib, scrollkeeper, yelp, sox, vorbis-tools, libcap
BuildPrereq: gtk2-devel, libvorbis-devel, audiofile-devel, libxml2-devel, scrollkeeper, libcap-devel

%description
terminatorX is a realtime audio synthesizer that allows you to "scratch" on 
digitally sampled audio data (*.wav, *.au, *.ogg, *.mp3, etc.) the way 
hiphop-DJs scratch on vinyl records. It features multiple turntables, realtime
effects (buit-in as well as LADSPA plugin effects), a sequencer and MIDI
interface - all accessible through an easy-to-use gtk+ GUI.

%changelog
* Mon Aug 18 2003 Alexander Knig <alex@lisas.de>
 - added libcap dependency
* Fri Apr 11 2003 Alexander Knig <alex@lisas.de>
 - disabled the suid root stuff
* Fri Apr 11 2003 Alexander Knig <alex@lisas.de>
 - scrollkeeper changes and updates
* Sat Sep 14 2002 Alexander Knig <alex@lisas.de>
 - Switch from xpm to pngs for GNOME icons
* Fri May 31 2002 Alexander Knig <alex@lisas.de>
 - Added Adrian's man page
* Tue Mar 20 2001 Adrian Reber <adrian@lisas.de>
 - Updated to 3.71
* Sat Dec 09 2000 Adrian Reber <adrian@lisas.de>
 - Updated to 3.70
* Wed Apr 12 2000 Adrian Reber <adrian@lisas.de>
 - Updated to 3.60
* Wed Feb 23 2000 Adrian Reber <adrian@42.fht-esslingen.de>
 - Mandrake adaptations.
* Thu Feb 14 2000 Adrian Reber <adrian@42.fht-esslingen.de>
 - Updated to 3.55
* Thu Dec 17 1999 Adrian Reber <adrian@42.fht-esslingen.de>
 - Updated to 3.5
* Thu Jul 29 1999 Adrian Reber <adrian@rhlx01.fht-esslingen.de>
 - Updated to 3.2
* Fri May 07 1999 Adrian Reber <adrian@rhlx01.fht-esslingen.de>
 - Initial release

%prep

%setup -q

%build
%configure --with-docdir=/usr/share

uname -a|grep SMP && make -j 2 || make

%install

%makeinstall

MIMEDIR=$RPM_BUILD_ROOT%{_datadir}/mime-info
ICONDIR=$RPM_BUILD_ROOT%{_datadir}/pixmaps
ICONS="gnome-support/terminatorX-app.png gnome-support/terminatorX-mime.png"
MIMEFILES="gnome-support/terminatorX.keys gnome-support/terminatorX.mime"

mkdir -p $MIMEDIR
mkdir -p $ICONDIR

cp $ICONS $ICONDIR
cp $MIMEFILES $MIMEDIR

( cd $RPM_BUILD_ROOT%{_datadir}
  mkdir -p ./gnome/apps/Multimedia
  cat > ./gnome/apps/Multimedia/terminatorX.desktop <<EOF
[Desktop Entry]
Name=terminatorX
Type=Application
Comment=sophisticated scratching and audio tool
Exec=terminatorX
Icon=terminatorX-app.png
EOF
)

# cleanup that scrollkeeper stuff
rm -rf $RPM_BUILD_ROOT/var

#do some cleanup for the documentation
#find . -name "Makefile*" -print -exec rm -rf {} \;

%files
%defattr(0644,root,root,0755)
%doc COPYING COPYING-DOCS AUTHORS ChangeLog INSTALL NEWS README THANKS TODO README.GNOME README.PERFORMANCE
%attr(0755,root,root) %{_bindir}/terminatorX
%{_mandir}/man1/terminatorX.1*
%{_datadir}/mime-info/terminatorX.keys
%{_datadir}/mime-info/terminatorX.mime
%{_datadir}/pixmaps/terminatorX-app.png
%{_datadir}/pixmaps/terminatorX-mime.png
%{_datadir}/gnome/apps/Multimedia/terminatorX.desktop
%{_datadir}/omf/terminatorX
%{_datadir}/terminatorX

%post
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update -q -o %{_datadir}/omf/terminatorX; fi

echo Note: Installing terminatorX \"suid root\" improves terminatorX\' performance 
echo for non-root users, but poses a potential security threat. See \'INSTALL\' for
echo and \'README.PERFORMANCE\' details. If you want to take the risk (after you 
echo have read the docs) you can execute the following command:
echo
echo                        chmod u+s /usr/bin/terminatorX
echo
echo to install terminatorX "suid root". 

%postun
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update -q; fi