File simplesysexxer.spec of Package simplesysexxer
#
# spec file for package simplesysexxer
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2007 by Edgar Aichinger
#
# 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: SimpleSysexxer
Version: 0.3
Release: 0
Summary: A MIDI SysEx Transfer Tool
Summary(de): Ein MIDI SysEx Datentauschprogramm
License: GPL-2.0-or-later
URL: http://www.christeck.de/
Source: https://sourceforge.net/projects/sysexxer/files/SimpleSysexxer-0.3/%{name}-%{version}.tar.gz
Patch0: simplesysexxer-Qt5Port.patch
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(alsa)
%description
Simple Sysexxer is a small tool that lets you exchange sysex data with your
MIDI devices. The most important idea is to make backups of the memory of
your devices. If you have spent nights over nights to get this killer sound
out of your synth it will be lost as soon as its battery gets low.
Furthermore it is common to share synth sounds and MIDI device settigns over
the internet. You can use Simple Sysexxer to send sysex files found on the
internet to your device. Please note: If the sounds are in MIDI or LIB
format, Simple Sysexxer cannot handle them. Ask the author to provide his
files in sysex format. If you got sysex in MIDI format, try using a
sequencer like Rosegarden or MusE to send it to your device.
All this is not only valid for synthesizers but for guitar amp emulators,
effects processors, MIDI controllers like faderboxes and footpedals as well.
Simple Sysexxer is ALSA only, there's no OSS support.
%global debug_package %{nil}
%prep
%autosetup -p1
%build
QTDIR=%{_prefix} qmake-qt5 SimpleSysexxer.pro
CFLAGS="%{optflags}" \
CXXFLAGS="%{optflags}" \
make %{?_smp_mflags}
%install
INSTALL_ROOT=%{buildroot} make install
install -D -m 755 -s ./bin/simplesysexxer %{buildroot}%{_bindir}/simplesysexxer
%if 0%{?suse_version}
%suse_update_desktop_file -i simplesysexxer AudioVideo Music
%endif
%files
%doc CHANGELOG COPYRIGHT CREDITS GPL-2
%{_bindir}/simplesysexxer
%{_datadir}/pixmaps/*
%{_datadir}/applications/*
%changelog