-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathmpk3-settings.spec.in
47 lines (34 loc) · 1.13 KB
/
mpk3-settings.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
Name: @PACKAGE@
Version: @VERSION@
Release: 1%{?dist}
Summary: AKAI MPK Mini MK3 settings
License: GPLv3+
Source0: %{name}-%{version}.tar.bz2
BuildRequires: gcc autoconf automake
BuildRequires: gtk3-devel rtmidi-devel >= 4.0.0
BuildRequires: desktop-file-utils
%description
This is a GTK UI that allows to configure the Akai MPK mini III MIDI keyboard.
It currently allows for reading the programs settings, changing them and writing back
to the device and reading and writing the settings to a file.
%prep
%setup -q
%build
autoreconf -ivh
%configure
make
%install
%make_install
desktop-file-install --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/io.github.tsmetana.mpk3-settings.desktop
%files
%doc README.md
%license LICENSE
%{_bindir}/mpk3-settings
%{_datadir}/applications/io.github.tsmetana.mpk3-settings.desktop
%{_datadir}/icons/hicolor/scalable/apps/io.github.tsmetana.mpk3-settings.svg
%{_datadir}/metainfo/io.github.tsmetana.mpk3-settings.metainfo.xml
%changelog
* @BUILD_DATE@ Tomas Smetana <[email protected]> - @VERSION@-1
- Autogenerated package from the latest tag