File bambootracker.spec of Package bambootracker

# spec file for package bambootracker
#
# Copyright (c) 2020 Fabio Pesari
#
# 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:          bambootracker
Version:       0.6.4+git.6.99e7c02
Release:       0
Summary:       Yamaha YM2608 (OPNA) sound chip music tracker
License:       GPL-2.0
Group:         Productivity/Multimedia/Sound/Editors and Convertors
URL:           https://github.com/rerrahkr/BambooTracker
Source0:       %{name}-%{version}.tar.xz
Patch0:        fix-deprecated-stateChanged.patch
BuildRequires: gcc gcc-c++
BuildRequires: pkgconfig
BuildRequires: alsa-devel
BuildRequires: libjack-devel
BuildRequires: libpulse-devel
BuildRequires: pkgconfig(Qt6Gui)
BuildRequires: pkgconfig(Qt6Widgets)
BuildRequires: pkgconfig(Qt6Core5Compat)
BuildRequires: qt6-tools-linguist qt6-linguist-devel
BuildRequires: pkgconfig(Qt6Multimedia)
BuildRequires: update-desktop-files
Obsoletes:    %{name} <= git.master.2021.07.22

%description
BambooTracker is a music tracker for the Yamaha YM2608 (OPNA) sound 
chip which was used in NEC PC-8801/9801 series computers.

%prep
%autosetup -p1

%build
%cmake
%cmake_build

%install
%cmake_install

%files
%doc README.md IMPORTANT.md CHANGELOG.md
%license LICENSE licenses/{rtaudio_license,rtmidi_license,c86ctl_lisence}.txt 
%{_bindir}/BambooTracker
%{_datadir}/BambooTracker
%{_datadir}/doc/packages/bambootracker
%dir %{_mandir}/en
%dir %{_mandir}/en/man1
%{_mandir}/en/man1/*
%dir %{_mandir}/fr
%dir %{_mandir}/fr/man1
%{_mandir}/fr/man1/*
%{_datadir}/applications/BambooTracker.desktop
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/16x16/
%dir %{_datadir}/icons/hicolor/16x16/apps/
%{_datadir}/icons/hicolor/16x16/apps/BambooTracker.png
%dir %{_datadir}/icons/hicolor/32x32/
%dir %{_datadir}/icons/hicolor/32x32/apps/
%{_datadir}/icons/hicolor/32x32/apps/BambooTracker.png
%dir %{_datadir}/icons/hicolor/64x64/
%dir %{_datadir}/icons/hicolor/64x64/apps/
%{_datadir}/icons/hicolor/64x64/apps/BambooTracker.png
%dir %{_datadir}/icons/hicolor/128x128/
%dir %{_datadir}/icons/hicolor/128x128/apps/
%{_datadir}/icons/hicolor/128x128/apps/BambooTracker.png
%dir %{_datadir}/icons/hicolor/256x256/
%dir %{_datadir}/icons/hicolor/256x256/apps/
%{_datadir}/icons/hicolor/256x256/apps/BambooTracker.png
%{_datadir}/mime/packages/application-x-btm.xml

%changelog
openSUSE Build Service is sponsored by