]>
Commit | Line | Data |
---|---|---|
1 | Summary: Linux Rock Guitar Amplifier for Jack Audio Connektion Kit | |
2 | Name: guitarix | |
3 | Version: 0.35.1 | |
4 | Release: 2 | |
5 | License: GPL v2+, GPL v3+ (abgate plugin) | |
6 | Group: Applications/Multimedia | |
7 | Source0: http://downloads.sourceforge.net/guitarix/%{name}2-%{version}.tar.xz | |
8 | # Source0-md5: fb7269fe6fdde4c493be65f974819bb4 | |
9 | URL: http://guitarix.sourceforge.net/ | |
10 | BuildRequires: avahi-gobject-devel | |
11 | BuildRequires: bluez-libs-devel | |
12 | BuildRequires: boost-devel >= 1.38 | |
13 | BuildRequires: eigen3 | |
14 | BuildRequires: fftw3-devel >= 3.1.2 | |
15 | BuildRequires: gettext-tools | |
16 | BuildRequires: glib2-devel | |
17 | BuildRequires: glibmm-devel >= 2.24.0 | |
18 | BuildRequires: gperf | |
19 | BuildRequires: gtk+2-devel >= 1:2.12.0 | |
20 | BuildRequires: gtkmm-devel >= 2.12.0 | |
21 | BuildRequires: intltool | |
22 | BuildRequires: jack-audio-connection-kit-devel > 0.109.1 | |
23 | BuildRequires: ladspa-devel | |
24 | BuildRequires: liblrdf-devel | |
25 | BuildRequires: libsndfile-devel >= 1.0.17 | |
26 | BuildRequires: lilv-devel | |
27 | BuildRequires: zita-convolver-devel | |
28 | BuildRequires: zita-resampler-devel | |
29 | Requires: ladspa | |
30 | Requires: fonts-TTF-Roboto | |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %define _noautoprovfiles %{_libdir}/(ladspa|lv2) | |
34 | ||
35 | %description | |
36 | Guitarix is a simple Linux Rock Guitar Amplifier for jack (Jack Audio | |
37 | Connektion Kit) with one input and two outputs. Designed to get nice | |
38 | thrash/metal/rock/blues guitar sounds. There are controls for bass, | |
39 | middle, treble, gain (in/out), compressor, preamp, tube's, drive, | |
40 | overdrive, oversample, anti-aliase, fuzz, balance, distortion, | |
41 | freeverb, impulse response, vibrato, chorus, delay, crybaby(wah), | |
42 | ampselector, tonestack, and echo. For 'pressure' in the sound you can | |
43 | use the feedback and feedforward sliders. | |
44 | ||
45 | ||
46 | %prep | |
47 | %setup -q | |
48 | ||
49 | %build | |
50 | CC="%{__cc}" \ | |
51 | CXX="%{__cxx}" \ | |
52 | CFLAGS="%{rpmcflags}" \ | |
53 | CXXFLAGS="%{rpmcxxflags}" \ | |
54 | LDFLAGS="%{rpmldflags}" \ | |
55 | ./waf configure \ | |
56 | --cxxflags-release="-DNDEBUG" \ | |
57 | --prefix=%{_prefix} \ | |
58 | --libdir=%{_libdir} \ | |
59 | --ladspadir=%{_libdir}/ladspa | |
60 | ||
61 | ./waf build | |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | ./waf install \ | |
67 | --destdir=$RPM_BUILD_ROOT | |
68 | ||
69 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.so | |
70 | ||
71 | %find_lang %{name} | |
72 | ||
73 | %post -p /sbin/ldconfig | |
74 | %postun -p /sbin/ldconfig | |
75 | ||
76 | %clean | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %files -f %{name}.lang | |
80 | %defattr(644,root,root,755) | |
81 | %doc changelog README* | |
82 | %attr(755,root,root) %{_bindir}/guitarix | |
83 | %attr(755,root,root) %{_libdir}/libgxw.so.0.* | |
84 | %attr(755,root,root) %ghost %{_libdir}/libgxw.so.0 | |
85 | %attr(755,root,root) %{_libdir}/libgxwmm.so.0.* | |
86 | %attr(755,root,root) %ghost %{_libdir}/libgxwmm.so.0 | |
87 | %attr(755,root,root) %{_libdir}/ladspa/*.so | |
88 | %{_datadir}/ladspa/rdf/*.rdf | |
89 | %dir %{_libdir}/lv2/gx* | |
90 | %attr(755,root,root) %{_libdir}/lv2/gx*/*.so | |
91 | %{_libdir}/lv2/gx*/*.ttl | |
92 | %{_libdir}/lv2/gx*/modgui | |
93 | %{_desktopdir}/guitarix.desktop | |
94 | %{_datadir}/gx_head | |
95 | %{_pixmapsdir}/*.png |