| |
@@ -1,19 +1,19 @@
|
| |
%global appid com.github.quaternion
|
| |
%global forgeurl https://github.com/quotient-im/Quaternion
|
| |
- %global tag %{version}
|
| |
+ %global commit dd02ec8945c471ff2be67ce5fa7ab65c15dbee0f
|
| |
|
| |
Name: quaternion
|
| |
- Version: 0.0.95.1
|
| |
+ Version: 0.0.95.50
|
| |
Release: %autorelease
|
| |
|
| |
%forgemeta
|
| |
|
| |
Summary: A Qt5-based IM client for Matrix
|
| |
- License: GPLv3
|
| |
+ License: GPL-3.0-or-later
|
| |
URL: %{forgeurl}
|
| |
Source0: %{forgesource}
|
| |
|
| |
- BuildRequires: make
|
| |
+ BuildRequires: ninja-build
|
| |
BuildRequires: gcc-c++
|
| |
BuildRequires: cmake
|
| |
BuildRequires: desktop-file-utils
|
| |
@@ -44,15 +44,14 @@
|
| |
%forgesetup
|
| |
|
| |
%build
|
| |
- %cmake \
|
| |
+ %cmake -G Ninja \
|
| |
-DCMAKE_BUILD_TYPE=Release \
|
| |
-DUSE_INTREE_LIBQMC=NO
|
| |
- %make_build -C %{_vpath_builddir}
|
| |
+ %cmake_build
|
| |
|
| |
%install
|
| |
- %make_install -C %{_vpath_builddir}
|
| |
+ %cmake_install
|
| |
%find_lang %{name} --with-qt
|
| |
- cp -p linux/%{appid}.appdata.xml %{buildroot}%{_metainfodir}
|
| |
|
| |
%check
|
| |
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{appid}.desktop
|
| |
Fixed build against libquotient 0.7 by switching to Git snapshots.