File rakarrack.spec of Package rakarrack
#
# spec file for package rakarrack (Version 0.6.2)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
Name: rakarrack
Summary: Guitar effects processor for GNU / Linux
Version: 0.6.2
Release: 1
License: GPL-2.0-or-later
Group: Productivity/Multimedia/Sound/Utilities
Source: %{name}-git.tar.gz
URL: https://rakarrack.sourceforge.net/
BuildRequires: gcc-c++
BuildRequires: automake
BuildRequires: pkgconfig
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(sndfile)
BuildRequires: pkgconfig(samplerate)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(fftw3)
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(xft)
BuildRequires: pkgconfig(xpm)
BuildRequires: fltk-devel
BuildRequires: alsa-utils
BuildRequires: update-desktop-files
%description
Rakarrack is a guitar effects processor for GNU / Linux simple and
easy to use but it contains features that make it unique in this
field of applications. It contains 10 effects: Linear Equalizer,
Parametric Equalizer, Compressor, Distorsion, Overdrive, Echo,
Chorus, Phaser, Flanger and Reverb. It integrates a tuner and a
MIDI converter (experimental). It can also be handled by an external
MIDI controller. The settings designed by the user can be stored
in presets and these presets can be used to create banks of effects.
%package doc
Summary: Documentation for %{name}
Requires: %{name} = %{version}
BuildArch: noarch
%description doc
Documentation for %{name}.
Rakarrack is a guitar effects processor GNU / Linux.
%prep
%setup -q -n %{name}-git
%__rm doc/COPYING
%build
./autogen.sh
CXXFLAGS=-std=c++11 %configure --enable-docdir=yes --docdir=%{_docdir}/%{name}
%make_build
%install
%make_install
%suse_update_desktop_file -i %{name} AudioVideo AudioVideoEditing
%clean
[ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}"
%files
%defattr(-, root, root)
%{_bindir}/*
%{_mandir}/man1/*
%{_docdir}/%{name}/AUTHORS
%{_docdir}/%{name}/ChangeLog
%{_docdir}/%{name}/COPYING
%{_docdir}/%{name}/README
%{_docdir}/%{name}/NEWS
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
%{_datadir}/pixmaps/*.png
%{_datadir}/applications/%{name}.desktop
%files doc
%defattr(-, root, root)
%exclude %{_docdir}/%{name}/AUTHORS
%exclude %{_docdir}/%{name}/ChangeLog
%exclude %{_docdir}/%{name}/COPYING
%exclude %{_docdir}/%{name}/README
%exclude %{_docdir}/%{name}/NEWS
%{_docdir}/%{name}
%changelog