18 |
|
|
19 |
%define name @PACKAGE_TARNAME@ |
%define name @PACKAGE_TARNAME@ |
20 |
%define version @PACKAGE_VERSION@ |
%define version @PACKAGE_VERSION@ |
21 |
%define release 46 |
%define release 47.1 |
22 |
|
|
23 |
%define _prefix @ac_prefix@ |
%define _prefix @ac_prefix@ |
24 |
|
|
26 |
%define debug_package %{nil} |
%define debug_package %{nil} |
27 |
%endif |
%endif |
28 |
|
|
29 |
|
%if 0%{?fedora_version} >= 34 || 0%{?suse_version} > 1500 |
30 |
|
%define qt_major_version 6 |
31 |
|
%else |
32 |
|
%define qt_major_version 5 |
33 |
|
%endif |
34 |
|
|
35 |
Summary: A LinuxSampler Qt GUI interface |
Summary: A LinuxSampler Qt GUI interface |
36 |
Name: %{name} |
Name: %{name} |
37 |
Version: %{version} |
Version: %{version} |
48 |
BuildRequires: pkgconfig |
BuildRequires: pkgconfig |
49 |
BuildRequires: glibc-devel |
BuildRequires: glibc-devel |
50 |
BuildRequires: gcc-c++ |
BuildRequires: gcc-c++ |
51 |
BuildRequires: autoconf automake |
BuildRequires: cmake |
52 |
%if %{defined fedora} |
%if %{defined fedora} |
53 |
BuildRequires: qt5-qtbase-devel >= 5.1, qt5-linguist |
%if 0%{qt_major_version} == 6 |
54 |
BuildRequires: qt5-qtsvg-devel, qt5-qtwayland-devel |
BuildRequires: qt6-qtbase-devel >= 6.1 |
55 |
|
BuildRequires: qt6-qttools-devel |
56 |
|
BuildRequires: qt6-qtwayland-devel |
57 |
|
BuildRequires: qt6-qtsvg-devel |
58 |
|
BuildRequires: qt6-linguist |
59 |
%else |
%else |
60 |
BuildRequires: libqt5-qtbase-devel >= 5.1, libqt5-linguist |
BuildRequires: qt5-qtbase-devel >= 5.1 |
61 |
BuildRequires: libqt5-qtsvg-devel, libqt5-qtwayland-devel |
BuildRequires: qt5-qttools-devel |
62 |
|
BuildRequires: qt5-qtwayland-devel |
63 |
|
BuildRequires: qt5-qtsvg-devel |
64 |
|
BuildRequires: qt5-linguist |
65 |
|
%endif |
66 |
|
%else |
67 |
|
%if 0%{qt_major_version} == 6 |
68 |
|
BuildRequires: qt6-base-devel >= 6.1 |
69 |
|
BuildRequires: qt6-tools-devel |
70 |
|
BuildRequires: qt6-wayland-devel |
71 |
|
BuildRequires: qt6-svg-devel |
72 |
|
BuildRequires: qt6-linguist-devel |
73 |
|
%else |
74 |
|
BuildRequires: libqt5-qtbase-devel >= 5.1 |
75 |
|
BuildRequires: libqt5-qttools-devel |
76 |
|
BuildRequires: libqt5-qtwayland-devel |
77 |
|
BuildRequires: libqt5-qtsvg-devel |
78 |
|
BuildRequires: libqt5-linguist-devel |
79 |
|
%endif |
80 |
%endif |
%endif |
81 |
BuildRequires: liblscp-devel >= 0.5.6 |
BuildRequires: liblscp-devel >= 0.5.6 |
82 |
BuildRequires: libgig-devel >= 3.3.0 |
BuildRequires: libgig-devel >= 3.3.0 |
87 |
interface of LinuxSampler Control Protocol (LSCP) (http://www.linuxsampler.org). |
interface of LinuxSampler Control Protocol (LSCP) (http://www.linuxsampler.org). |
88 |
|
|
89 |
%prep |
%prep |
90 |
%setup |
%setup -q |
|
[ -x ./autogen.sh ] && ./autogen.sh |
|
91 |
|
|
92 |
%build |
%build |
93 |
%configure |
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -Wno-dev -B build -S . |
94 |
%__make %{?_smp_mflags} |
%__make %{?_smp_mflags} -C build |
95 |
|
|
96 |
%install |
%install |
97 |
%__make DESTDIR="%{buildroot}" install |
%__make DESTDIR="%{buildroot}" -C build install |
98 |
|
|
99 |
%clean |
%clean |
100 |
[ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}" |
[ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}" |
132 |
%{_datadir}/man/fr/man1/%{name}.1.gz |
%{_datadir}/man/fr/man1/%{name}.1.gz |
133 |
|
|
134 |
%changelog |
%changelog |
135 |
|
* Tue May 11 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.3 |
136 |
|
- Spring'21 release. |
137 |
* Sun Mar 14 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.2 |
* Sun Mar 14 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.2 |
138 |
- End-of-Winter'21 release. |
- End-of-Winter'21 release. |
139 |
* Sun Feb 7 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.1 |
* Sun Feb 7 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.1 |