File eko.spec of Package eko
#
# spec file for package eko
#
# Copyright (c) 2019 SUSE LINUX 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 https://bugs.opensuse.org/
#
Name: eko
Version: 6.0.0
Release: 0
Summary: Simple sound editor
License: SUSE-Public-Domain
Group: Productivity/Multimedia/Sound/Editors and Convertors
URL: http://semiletov.org/eko/
Source0: https://github.com/psemiletov/eko/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: ImageMagick
BuildRequires: desktop-file-utils
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(portaudio-2.0)
BuildRequires: pkgconfig(samplerate)
BuildRequires: pkgconfig(sndfile)
Recommends: ffmpeg
Recommends: jack
Recommends: lame
Recommends: mplayer
%description
Simple sound editor.
Features:
* real-time FX rack
* generators of sine, nouse
* channel converter
* RMS and level analysis
* DC offset corrector
* reverese
* handy editing
* color palettes
* hotkeys customizations
%prep
%setup -q
%build
mkdir build
pushd build
%qmake5 ../%{name}.pro PREFIX=%{_prefix}
%make_jobs
popd
%install
pushd build
%qmake5_install
popd
%suse_update_desktop_file -r %{name} AudioVideo Audio AudioVideoEditing
%post
%icon_theme_cache_post
%desktop_database_post
%postun
%icon_theme_cache_postun
%desktop_database_postun
%files
%license COPYING
%doc AUTHORS ChangeLog NEWS* TODO
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.??g
%changelog