guitarix/guitarix.spec

398 lines
13 KiB
RPMSpec
Raw Permalink Normal View History

# guitarix has merged with gx_head branch and tarball is distributed as guitarix2
# project name remains guitarix however
2011-07-15 02:59:51 +00:00
%global altname gx_head
%global altname2 guitarix2
Name: guitarix
2013-10-04 01:54:28 +00:00
Version: 0.28.2
2013-10-04 05:51:26 +00:00
Release: 3%{?dist}
Summary: Mono amplifier to JACK
Group: Applications/Multimedia
License: GPLv2+
URL: http://guitarix.sourceforge.net/
2011-11-12 08:19:08 +00:00
Source0: http://sourceforge.net/projects/%{name}/files/%{name}/%{altname2}-%{version}.tar.bz2
2013-10-04 01:54:28 +00:00
Patch0: guitarix-0.28.1-gperf.patch
PAtch1: guitarix-0.28.1-to_string.patch
# gxamp should use inherited compiler flags
BuildRequires: desktop-file-utils
2010-05-15 13:45:05 +00:00
BuildRequires: faust
BuildRequires: fftw-devel
BuildRequires: gtk2-devel
2010-07-16 23:51:55 +00:00
BuildRequires: gtkmm24-devel
BuildRequires: jack-audio-connection-kit-devel
BuildRequires: ladspa-devel
2010-05-15 13:45:05 +00:00
BuildRequires: libsigc++20-devel
BuildRequires: libsndfile-devel
BuildRequires: zita-convolver-devel >= 3.0.2
BuildRequires: zita-resampler-devel >= 0.1.1-3
2011-06-15 20:38:28 +00:00
BuildRequires: gettext-devel
BuildRequires: intltool
2011-11-12 08:50:35 +00:00
BuildRequires: boost-devel
2012-07-15 12:11:11 +00:00
BuildRequires: liblrdf-devel
2013-01-13 18:15:09 +00:00
BuildRequires: lv2-devel
2013-10-04 05:25:36 +00:00
BuildRequires: gperf
2013-10-04 05:50:09 +00:00
BuildRequires: avahi-gobject-devel
Requires: jack_capture
Requires: jconv
Requires: ladspa-%{name}-plugins = %{version}-%{release}
Requires: qjackctl
Requires: vorbis-tools
Provides: gx_head = %{version}-%{release}
Obsoletes: gx_head < 0.14.0-4
%description
2010-05-15 13:45:05 +00:00
Guitarix is a simple mono amplifier to be used in a 'JACKified' environment,
i.e. a system using the JACK Audio Connection Kit, a professionally-capable
audio/MIDI server and master transport control.
Guitarix provides one JACK input port and two JACK output ports. It is designed
to produce nice trash/metal/rock/blues guitar sounds. Controls for bass, treble,
gain, compressor, preamp, balance, distortion, freeverb, crybaby (wah) and echo
are available. A fixed resonator is used when distortion is disabled. To modify
the sound 'pressure', you can use the feedback and feedforward sliders.
Guitarix includes an experimental tuner and a JACK MIDI output port with 3
channels. They are fed by a mix from a pitch tracker and a beat detector. You
can pitch the octave (2 octaves up or down), choose the MIDI channel, the MIDI
program, the velocity and the sensitivity, which translates into how fast the
2010-05-15 13:45:05 +00:00
note will read after the beat detector emits a signal. Values for the beat
detector can be set for all channels.
2013-01-13 16:20:10 +00:00
%package -n libgxw
Summary: Guitarix GTK library
2013-01-13 17:31:23 +00:00
Group: Development/Libraries
2013-01-13 16:20:10 +00:00
License: GPLv2+
%description -n libgxw
This package contains the Guitarix GTK widget library
%package -n libgxwmm
Summary: Guitarix GTK C++ library
2013-01-13 17:31:23 +00:00
Group: Development/Libraries
2013-01-13 16:20:10 +00:00
License: GPLv2+
%description -n libgxwmm
This package contains the Guitarix GTK C++ widget library
%package -n libgxw-devel
Summary: Development files for libgxw
2013-01-13 17:31:23 +00:00
Group: Development/Libraries
2013-01-13 16:20:10 +00:00
License: GPLv2+
Requires: libgxw%{?_isa} = %{version}-%{release}
%description -n libgxw-devel
2013-01-13 17:31:23 +00:00
This package contains files required to use the libgxw C Guitarix
2013-01-13 16:20:10 +00:00
widget library
%package -n libgxwmm-devel
Summary: Development files for libgxwmm
2013-01-13 17:31:23 +00:00
Group: Development/Libraries
2013-01-13 16:20:10 +00:00
License: GPLv2+
Requires: libgxwmm%{?_isa} = %{version}-%{release}
%description -n libgxwmm-devel
2013-01-13 17:31:23 +00:00
This package contains files required to use the libgxwmm C++ Guitarix widget
2013-01-13 16:20:10 +00:00
library
%package -n gxw-glade
Summary: Guitarix GTK library glade support
2013-01-13 17:31:23 +00:00
Group: Development/Libraries
2013-01-13 16:20:10 +00:00
License: GPLv2+
Requires: glade
Requires: libgxw-devel%{?_isa} = %{version}-%{release}
%description -n gxw-glade
This package contains support for using the Guitarix GTK widget library
with glade
%package -n ladspa-%{name}-plugins
Summary: Collection of Ladspa plug-ins
Group: Applications/Multimedia
# ladspa/distortion.cpp and ladspa/guitarix-ladspa.cpp are BSD
# The rest of ladspa/* is GPLv+
License: GPL+ and BSD
Requires: ladspa
%description -n ladspa-%{name}-plugins
This package contains the crybaby, distortion, echo, impulseresponse, monoamp,
and monocompressor ladspa plug-ins that come together with guitarix, but can
also be used by any other ladspa host.
2013-01-13 16:20:10 +00:00
%package -n lv2-%{name}-plugins
Summary: Collection of LV2 guitarix plug-ins
Group: Applications/Multimedia
# ladspa/distortion.cpp and ladspa/guitarix-ladspa.cpp are BSD
# The rest of ladspa/* is GPLv+
License: GPLv2+
Requires: lv2
Requires: %{name}%{?_isa} = %{version}-%{release}
%description -n lv2-%{name}-plugins
This package contains the guitarix amp plug-ins that come together with
guitarix, but can also be used by any other ladspa host.
%prep
2012-05-11 04:14:15 +00:00
%setup -q -n %{name}-%{version}
2013-10-04 01:54:28 +00:00
%patch0 -p1
%patch1 -p1
# The build system does not use these bundled libraries by default. But
# just to make sure:
rm -fr src/zita-convolver src/zita-resampler
sed -i -e 's|-O3||' wscript
%build
2013-01-13 16:20:10 +00:00
./waf -vv configure --prefix=%{_prefix} --libdir=%{_libdir} \
--cxxflags="-std=c++0x -fomit-frame-pointer -ftree-loop-linear \
-ffinite-math-only -fno-math-errno -fno-signed-zeros -fstrength-reduce \
%ifarch %ix86 x86_64
-msse \
%endif
%{optflags}" \
2013-01-13 16:20:10 +00:00
--shared-lib --lib-dev \
2013-10-04 01:54:28 +00:00
--ladspadir=%{_libdir}/ladspa --lv2dir=%{_libdir}/lv2 \
2013-01-13 16:20:10 +00:00
--glade-support --glade-catalog-dir=%{_datadir}/glade/catalogs \
--glade-modules-dir=%{_libdir}/glade/modules
2010-05-15 13:45:05 +00:00
./waf -vv build %{?_smp_mflags}
%install
2013-01-13 16:20:10 +00:00
./waf -vv install --destdir="%{buildroot}" --libdir="%{_libdir}"
2009-08-05 23:33:10 +00:00
desktop-file-install \
--add-category="X-DigitalProcessing" \
--dir=%{buildroot}%{_datadir}/applications \
%{buildroot}/%{_datadir}/applications/%{name}.desktop
2013-01-13 16:20:10 +00:00
chmod 755 %{buildroot}%{_libdir}/libgxw*.so.0.1
rm -rf %{buildroot}%{_libdir}/libgxw*.so
ln -s %{_libdir}/libgxwmm.so.0.1 %{buildroot}%{_libdir}/libgxwmm.so
ln -s %{_libdir}/libgxw.so.0.1 %{buildroot}%{_libdir}/libgxw.so
chmod 755 %{buildroot}%{_libdir}/glade/modules/libgladegx.so
%find_lang %{name}
2009-08-05 23:33:10 +00:00
2013-01-13 16:20:10 +00:00
%post -n libgxw -p /sbin/ldconfig
%postun -n libgxw -p /sbin/ldconfig
%post -n libgxwmm -p /sbin/ldconfig
%postun -n libgxwmm -p /sbin/ldconfig
%files -f %{name}.lang
%doc changelog COPYING README
%{_bindir}/%{name}
%{_datadir}/%{altname}/
%{_datadir}/ladspa/rdf/%{name}.rdf
%{_datadir}/pixmaps/*
%{_datadir}/applications/%{name}.desktop
2013-01-13 16:20:10 +00:00
%files -n libgxw
%{_libdir}/libgxw.so.*
%files -n libgxwmm
%{_libdir}/libgxwmm.so.*
%files -n libgxw-devel
%{_libdir}/libgxw.so
%{_includedir}/gxw
%{_includedir}/gxw.h
%{_libdir}/pkgconfig/gxw.pc
%files -n libgxwmm-devel
%{_libdir}/libgxwmm.so
%{_includedir}/gxwmm
%{_includedir}/gxwmm.h
%{_libdir}/pkgconfig/gxwmm.pc
%files -n gxw-glade
%{_libdir}/glade/modules/libgladegx.so
%{_datadir}/%{name}/icons
%{_datadir}/glade/catalogs/*
%files -n ladspa-%{name}-plugins
%{_libdir}/ladspa/*.so
2012-01-17 07:37:24 +00:00
%{_datadir}/ladspa
2013-01-13 16:20:10 +00:00
%files -n lv2-%{name}-plugins
%{_libdir}/lv2/*
%changelog
2013-10-04 05:51:26 +00:00
* Fri Oct 04 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.28.2-3
- Add missing avahi-gobject-devel
2013-10-04 05:25:36 +00:00
* Fri Oct 04 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.28.2-2
- Add gperf BR
2013-10-04 01:54:28 +00:00
* Sun Sep 29 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.28.2-1
- Update to 0.28.2
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.27.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-07-27 12:15:16 +00:00
* Sat Jul 27 2013 pmachata@redhat.com - 0.27.1-2
- Rebuild for boost 1.54.0
2013-04-21 06:09:49 +00:00
* Sun Apr 21 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.27.1-1
- Update to 0.27.1
2013-04-12 08:03:14 +00:00
* Fri Apr 12 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.26.1-1
- Remove patches included upstream
- Update to 0.26.1
2013-02-11 03:39:08 +00:00
* Mon Feb 11 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.25.2-1
- Remove patches present in new upstream release
2013-02-10 01:34:18 +00:00
* Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.25.1-6
- Rebuild for Boost-1.53.0
2013-02-09 21:58:52 +00:00
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.25.1-5
- Rebuild for Boost-1.53.0
* Tue Jan 15 2013 Dan Horák <dan[at]danny.cz> 0.25.1-4
- fix build on non-x86 arches (gxamp shouldn't append x86-only flags)
- set %%{optflags} only once
2013-01-13 18:15:09 +00:00
* Sun Jan 13 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.25.1-3
- Add missing BR lv2-devel
2013-01-13 17:31:23 +00:00
* Sun Jan 13 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.25.1-2
- Clean up descriptions/summary
2013-01-13 16:20:10 +00:00
* Sat Jan 05 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.25.1-1
- Update to 0.25.1
- Add LV2 sub-package
- Add libs
2012-10-24 20:19:39 +00:00
* Wed Oct 24 2012 Brendan Jones <brendan.jones.it@gmail.com> 0.24.2-1
- New upstream release
2012-08-10 05:38:51 +00:00
* Fri Aug 10 2012 Brendan Jones <brendan.jones.it@gmail.com> 0.23.3-2
- Rebuild for new boost
2012-07-28 05:02:32 +00:00
* Sat Jul 28 2012 Brendan Jones <brendan.jones.it@gmail.com> 0.23.3-1
- Update to 0.23.3
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-08-10 05:34:02 +00:00
2012-07-15 12:11:11 +00:00
* Sun Jul 15 2012 Brendan Jones <brendan.jones.it@gmail.com> 0.23.2-2
- Add missing BuildRequires (lrdf)
2012-07-15 09:34:48 +00:00
* Sun Jul 15 2012 Brendan Jones <brendan.jones.it@gmail.com> 0.23.2-1
- Update to upstream 0.23.3
2012-07-02 21:00:02 +00:00
* Mon Jul 02 2012 Brendan Jones <brendan.jones.it@gmail.com> 0.22.4-1
- Update to upstream 0.22.4
2012-05-15 04:14:05 +00:00
* Tue May 15 2012 Brendan Jones <brendan.jones.it@gmail.com> - 0.22.3-1
- Update to upstream 0.22.3
2012-05-11 04:14:15 +00:00
* Thu May 03 2012 Brendan Jones <brendan.jones.it@gmail.com> - 0.22.2-1
2012-05-15 04:14:05 +00:00
- Update to upstream 0.22.2
2012-02-28 18:36:14 +00:00
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21.0-2
- Rebuilt for c++ ABI breakage
2012-01-17 07:37:24 +00:00
* Tue Jan 17 2012 Brendan Jones <brendan.jones.it@gmail.com> - 0.21.0-1
2012-01-17 11:12:20 +00:00
- Update to upstream 0.21.0, correct fail to build (missing glibmm headers)
2012-01-17 07:37:24 +00:00
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-11-12 08:50:35 +00:00
* Sat Nov 12 2011 Brendan Jones <brendan.jones.it@gmail.com> - 0.20.2-3
- Add boost-devel build requires
2011-11-12 08:28:03 +00:00
* Sat Nov 12 2011 Brendan Jones <brendan.jones.it@gmail.com> - 0.20.2-2
- Removed libboost library detection fix
2011-11-12 08:19:08 +00:00
* Sat Nov 12 2011 Brendan Jones <brendan.jones.it@gmail.com> - 0.20.2-1
- Update to upstream release 0.20.2
* Tue Nov 08 2011 Brendan Jones <brendan.jones.it@gmail.com> - 0.20.0-2
- Update to upstream release 0.20.0
* Sun Oct 30 2011 Brendan Jones <brendan.jones.it@gmail.com> - 0.20.0-1.0.svn1278
- Grab source from latest svn, and removed FSF patch
- Rebuild for libpng 1.5
- Removed obsolete tags and clean section from spec
* Sun Oct 30 2011 Brendan Jones <brendan.jones.it@gmail.com> - 0.19.0-1.0.svn1245
- Grab source from svn to rebuild against zita-convolver-3
2011-07-15 02:59:51 +00:00
* Fri Jul 15 2011 Brendan Jones <brendan.jones.it@gmail.com> - 0.17.0-1
- Update to 0.17.0, replace define macro with global
2011-06-15 20:38:28 +00:00
* Wed Jun 15 2011 Brendan Jones <brendan.jones.it@gmail.com> - 0.16.0-3
- Add BuildRequires gettext
2011-06-15 14:22:04 +00:00
* Wed Jun 15 2011 Brendan Jones <brendan.jones.it@gmail.com> - 0.16.0-2
- Add BuildRequires gettext
2013-10-04 01:54:28 +00:00
* Mon Jun 13 2011 Brendan Jones <brendan.jones.it@gmail.com> - 0.16.0-1
- Updated to version 0.16.0-1 which combines guitarix and gx_head
- Obsoletes gx_head
- Correct build of ladspa plugins and removed O3 optimizations
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-08-25 19:50:36 +00:00
* Wed Aug 25 2010 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.11.1-1
- Update to 0.11.1
* Wed Aug 04 2010 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.11.0-1
- Update to 0.11.0
2010-07-28 03:58:39 +00:00
* Tue Jul 27 2010 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.10.0-3
- Rebuild against new boost on F-14
2010-07-16 23:51:55 +00:00
* Fri Jul 16 2010 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.10.0-2
- Add missing BR: gtkmm24-devel
2010-07-16 23:36:33 +00:00
* Sun Jul 11 2010 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.10.0-1
- Update to 0.10.0
* Sat Jun 26 2010 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.09.0-1
- Update to 0.09.0
- Split the ladspa plugins into a separate package as they can also be used by
other hosts than guitarix.
2010-05-15 13:45:05 +00:00
* Sat May 15 2010 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.08.0-1
- Update to 0.08.0
2010-02-25 07:34:10 +00:00
* Sat Feb 20 2010 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.06.0-1
- Update to 0.06.0
2010-01-30 08:44:09 +00:00
* Sat Jan 30 2010 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.05.8-1
2010-02-25 07:34:10 +00:00
- Update to 0.05.8
2010-01-30 08:44:09 +00:00
* Thu Dec 24 2009 Orcan Ogetbil <orcan@desitter> - 0.05.5-1
- Update to 0.05.5
- Add Requires: qjackctl. RHBZ #549566
2009-08-05 23:33:10 +00:00
* Wed Aug 05 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.05.0-2
- Update .desktop file
2009-07-28 02:15:37 +00:00
* Mon Jul 27 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.05.0-1
- Update to 0.05.0
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Jun 24 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.04.6-1
- Update to 0.04.6 (build system uses waf now)
- License is GPLv2+
- Add missing Requires: ladspa
* Tue May 26 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.04.5-1
- Update to 0.04.5
* Thu May 21 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.04.4-1
- Update to 0.04.4
- Drop upstreamed patches
* Sat May 09 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.04.3-1
- Initial build