File: terminatorX.spec.in

package info (click to toggle)
terminatorx 4.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 4,344 kB
  • sloc: cpp: 13,085; ansic: 3,738; sh: 1,263; makefile: 128; xml: 113; awk: 3
file content (205 lines) | stat: -rw-r--r-- 6,462 bytes parent folder | download | duplicates (2)
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
Summary:	Real-time Audio Synthesizer
Name:		@PACKAGE_NAME@
Version:	@VERSION@
Release:	1%{?dist}
Group:		Applications/Multimedia
License:	GPLv2+ and GFDL
URL:		http://terminatorX.org
Source0:	http://terminatorX.org/dist/%{name}-%{version}.tar.gz

BuildRequires: alsa-lib-devel
BuildRequires: audiofile-devel
BuildRequires: desktop-file-utils
BuildRequires: gtk3-devel
BuildRequires: jack-audio-connection-kit-devel
BuildRequires: ladspa-devel
BuildRequires: libcap-devel
BuildRequires: liblrdf-devel
BuildRequires: libmad-devel
BuildRequires: libvorbis-devel
BuildRequires: libxml2-devel
BuildRequires: libX11-devel
BuildRequires: mpg123
BuildRequires: pulseaudio-libs-devel
BuildRequires: scrollkeeper
BuildRequires: sox
BuildRequires: vorbis-tools
BuildRequires: gcc-c++
BuildRequires: gnome-doc-utils

Requires:      mpg123
Requires:      sox
Requires:      vorbis-tools

Requires(post): scrollkeeper
Requires(postun): scrollkeeper
%description
terminatorX is a real-time 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, real-time
effects (buit-in as well as LADSPA plug-in effects), a sequencer and MIDI
interface - all accessible through an easy-to-use gtk+ GUI.

%prep
%setup -q

%build
%configure --disable-suidroot
make %{?_smp_mflags}

%install
make install DESTDIR=%{buildroot}

# install mime files
mkdir -p %{buildroot}%{_datadir}/mime-info
install -pm 0644 terminatorX.keys %{buildroot}%{_datadir}/mime-info
install -pm 0644 terminatorX.mime %{buildroot}%{_datadir}/mime-info

# desktop file categories
ADD="Audio X-Jack X-DJTools X-DigitalProcessing Sequencer"
REMOVE="Application"
mkdir -p %{buildroot}%{_datadir}/applications
desktop-file-install \
  --dir %{buildroot}%{_datadir}/applications \
  `for c in ${ADD}    ; do echo "--add-category $c "    ; done` \
  `for c in ${REMOVE} ; do echo "--remove-category $c " ; done` \
  %{name}.desktop

# we don't need to package these
rm -f %{buildroot}%{_datadir}/gnome/apps/Multimedia/%{name}.desktop

%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null

%postun
if [ $1 -eq 0 ] ; then
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null
fi

%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :

%files
%doc AUTHORS ChangeLog COPYING* NEWS README* THANKS TODO
%attr(4755, root, root) %{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%{_datadir}/mime-info/%{name}.keys
%{_datadir}/mime-info/%{name}.mime
%{_datadir}/omf/{%name}-manual/%{name}-manual-C.omf
%{_datadir}/gnome/help/terminatorX-manual/C/figures/signalflow.png
%{_datadir}/gnome/help/terminatorX-manual/C/terminatorX-manual.xml
%{_datadir}/pixmaps/%{name}.xpm
%{_datadir}/icons/hicolor/512x512/apps/%{name}.png
%{_datadir}/icons/hicolor/512x512/mimetypes/%{name}-mime.png
%{_datadir}/applications/%{name}.desktop
%{_datadir}/appdata/%{name}.appdata.xml

%changelog
* Sun Jun 19 2016  Alexander Koenig <alex@lisas.de> - 4.00-1
- fix icon resolutions
- include appdata

* Fri May 13 2016 Alexander Koenig <alex@lisas.de> - 3.99-1
- update to compile on rawhide (fc24)
- install binary setuid root
- require mpg123 instead of mpg321

* Sat Feb 01 2014 Alexander Koenig <alex@lisas.de> - 3.90-1
- Merge RPMFusion version
- Drop obsolete patches

* Sun Dec 08 2013 Nicolas Chauvet <kwizart@gmail.com> - 3.84-5
- Rebuilt

* Sun Mar 24 2013 Orcan Ogetbil <oged[DOT]fedora[AT]gmail[DOT]com> - 3.84-4
- Build fix against newer zlib
- Spec file cleanup

* Sun Mar 03 2013 Nicolas Chauvet <kwizart@gmail.com> - 3.84-3
- Mass rebuilt for Fedora 19 Features

* Fri Mar 02 2012 Nicolas Chauvet <kwizart@gmail.com> - 3.84-2
- Rebuilt for c++ ABI breakage

* Sat Nov 26 2011 Orcan Ogetbil <oged[DOT]fedora[AT]gmail[DOT]com> - 3.84-1
- Update to 3.84

* Tue Mar 01 2011 Orcan Ogetbil <oged[DOT]fedora[AT]gmail[DOT]com> - 3.83-1
- Update to 3.83

* Fri Oct 23 2009 Orcan Ogetbil <oged[DOT]fedora[AT]gmail[DOT]com> - 3.82-4
- Update desktop file according to F-12 FedoraStudio feature

* Sat Apr 04 2009 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 3.82-3
- Fix ppc/ppc64 build failure

* Wed Apr 01 2009 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 3.82-2
- Prepared package for RPMFusion submission (originates from planetccrma)

* Tue Dec 11 2007 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
- spec file cleanup

* Wed Feb 16 2005 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
- declare do_save_tables before using it (for <= fc1)

* Fri Dec 31 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 3.82-1
- updated to 3.82
- update doc file list

* Mon Dec 27 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
- spec file cleanup

* Thu May 20 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
- added build dependencies

* Sun Feb 29 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 3.81-2
- rebuild for liblrdf 0.3.5

* Mon Oct 20 2003 Patrice Tisserand <Patrice.Tisserand@ircam.fr> 3.81-1
- updated for terminatorX-3.81
- fixed building as non root user
- still need to bez built with --define='_unpackaged_files_terminate_build 0',
  don't knwo what to do with scrollkeeper

* Wed May  7 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 3.80-1
- updated to 3.80
- added proper desktop entry
- updated file list (what to do with scrollkeeper?)
- added clean target
- make it build under gcc 2.96

* Mon Dec  9 2002 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
- added patch to compile under redhat 8.0 and gcc 3.2
- erased post warning about suid root executable

* Sat Sep 14 2002 Alexander Koenig <alex@lisas.de>
 - Switch from xpm to pngs for GNOME icons

* Fri May 31 2002 Alexander Koenig <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.

* Mon Feb 14 2000 Adrian Reber <adrian@42.fht-esslingen.de>
 - Updated to 3.55

* Fri 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