Name: vmpk
Version: 0.5.1
Release: alt1
License: GPL v3 or later
Summary: Virtual MIDI Piano Keyboard
Group: Sound
Packager: Ivan Karpukhin <ikar@altlinux.org>
Source: http://downloads.sourceforge.net/project/%name/%name/%version/%name-%version.tar.bz2
Url: http://vmpk.sourceforge.net
BuildRequires: cmake gcc-c++ libalsa-devel libicu50 libjack-devel libqt4-sql-interbase libqt4-sql-mysql libqt4-sql-odbc libqt4-sql-postgresql libqt4-sql-sqlite2 phonon-devel qt4-designer xsltproc

%description
VMPK is a MIDI event generator/receiver. It doesn't produce any sound by itself,
but can be used to drive a MIDI synthesizer (either hardware or software,
internal or external). You can use the computer's keyboard to play MIDI notes,
and also the mouse. You can use the Virtual MIDI Piano Keyboard to display the
played MIDI notes from another instrument or MIDI file player.

Authors:
--------
    Pedro Lopez-Cabanillas <plcl@users.sourceforge.net>

%prep
%setup

%build
CXXFLAGS="$RPM_OPT_FLAGS -g -fexceptions" cmake . -DCMAKE_INSTALL_PREFIX=%prefix
%make_build VERBOSE=1

%install
%makeinstall_std

%files
%doc NEWS README ChangeLog AUTHORS TODO COPYING
%doc %_man1dir/*
%dir %_datadir/%name
%dir %_datadir/%name/locale
%_bindir/%name
%_datadir/%name/*
%_datadir/%name/locale/*
%_iconsdir/hicolor/*/*/*
%_desktopdir/%name.desktop

%changelog
* Mon Nov 18 2013 Ivan Karpukhin <karpuhini@yandex.ru> 0.5.1-alt1
- New release based on Suse spec by the author
