-
Notifications
You must be signed in to change notification settings - Fork 6
/
vmpk.spec.in
64 lines (54 loc) · 1.8 KB
/
vmpk.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#
# spec file for package vmpk (Version @VERSION@)
#
# norootforbuild
Name: vmpk
Version: @VERSION@
Release: 1
License: GPL v3 or later
Summary: Virtual MIDI Piano Keyboard
Group: Productivity/Multimedia/Sound/Midi
Packager: Pedro Lopez-Cabanillas <[email protected]>
Source: %name-%version.tar.bz2
URL: http://vmpk.sourceforge.net
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cmake
BuildRequires: alsa-devel
BuildRequires: libqt4-devel
BuildRequires: update-desktop-files
%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 <[email protected]>
%debug_package
%prep
%setup -q
%build
CXXFLAGS="$RPM_OPT_FLAGS -g -fexceptions" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
make %{?jobs:-j %jobs} VERBOSE=1
%install
make install DESTDIR=$RPM_BUILD_ROOT
%suse_update_desktop_file -G "Virtual MIDI Piano Keyboard" %name AudioVideo Midi
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc NEWS README ChangeLog AUTHORS TODO COPYING
%doc %{_mandir}/*
%dir %{_datadir}/%name
%dir %{_datadir}/%name/locale
%{_bindir}/%name
%{_datadir}/%name/*
%{_datadir}/%name/locale/*
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/applications/%name.desktop
%changelog
* Mon Oct 4 2010 Pedro Lopez-Cabanillas <[email protected]> 0.3.3
- New release
* Fri Jun 18 2010 Pedro Lopez-Cabanillas <[email protected]> 0.3.2
- New release