|
|
f788171 |
%undefine __cmake_in_source_build
|
|
|
b7b7eb4 |
|
|
|
b7b7eb4 |
%if 0%{?fedora} && 0%{?fedora} >= 34
|
|
|
b7b7eb4 |
%bcond_without clang
|
|
|
b7b7eb4 |
%else
|
|
|
1531a43 |
%bcond_with clang
|
|
|
b7b7eb4 |
%endif
|
|
|
150f70f |
|
|
|
150f70f |
%if %{with clang}
|
|
|
1531a43 |
%global toolchain clang
|
|
|
f45e5d7 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1918924
|
|
|
f45e5d7 |
%ifarch %{arm}
|
|
|
f45e5d7 |
%global _lto_cflags %{nil}
|
|
|
f45e5d7 |
%endif
|
|
|
1531a43 |
%endif
|
|
|
150f70f |
|
|
|
9abba2f |
Name: nheko
|
|
|
b7b7eb4 |
Version: 0.8.0
|
|
|
56042a8 |
Release: 2%{?dist}
|
|
|
9abba2f |
|
|
|
9da9656 |
# Main source - GPLv3+
|
|
|
9da9656 |
# cpp-httplib - bundled - MIT
|
|
|
9da9656 |
# blurhash - bundled - Boost
|
|
|
9da9656 |
# qtsingleapplication-qt5 - bundled - MIT
|
|
|
9da9656 |
License: GPLv3+ and MIT and Boost
|
|
|
150f70f |
Summary: Desktop client for the Matrix protocol
|
|
|
51033ee |
URL: https://github.com/Nheko-Reborn/%{name}
|
|
|
150f70f |
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
9abba2f |
|
|
|
b7b7eb4 |
BuildRequires: cmake(MatrixClient) >= 0.4.0
|
|
|
b7b7eb4 |
BuildRequires: cmake(Olm) >= 3.1.0
|
|
|
9abba2f |
BuildRequires: cmake(Qt5Concurrent)
|
|
|
b7b7eb4 |
BuildRequires: cmake(Qt5Core)
|
|
|
b7b7eb4 |
BuildRequires: cmake(Qt5DBus)
|
|
|
b7b7eb4 |
BuildRequires: cmake(Qt5Keychain)
|
|
|
9abba2f |
BuildRequires: cmake(Qt5LinguistTools)
|
|
|
b7b7eb4 |
BuildRequires: cmake(Qt5Multimedia)
|
|
|
b7b7eb4 |
BuildRequires: cmake(Qt5Network)
|
|
|
b7b7eb4 |
BuildRequires: cmake(Qt5Qml)
|
|
|
150f70f |
BuildRequires: cmake(Qt5QuickCompiler)
|
|
|
150f70f |
BuildRequires: cmake(Qt5QuickControls2)
|
|
|
b7b7eb4 |
BuildRequires: cmake(Qt5QuickWidgets)
|
|
|
b7b7eb4 |
BuildRequires: cmake(Qt5Svg)
|
|
|
b7b7eb4 |
BuildRequires: cmake(Qt5Widgets)
|
|
|
b7b7eb4 |
BuildRequires: cmake(Tweeny)
|
|
|
b7b7eb4 |
BuildRequires: cmake(mpark_variant)
|
|
|
b7b7eb4 |
BuildRequires: cmake(nlohmann_json) >= 3.2.0
|
|
|
b7b7eb4 |
BuildRequires: cmake(spdlog) >= 1.0.0
|
|
|
b7b7eb4 |
|
|
|
b7b7eb4 |
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
|
b7b7eb4 |
BuildRequires: pkgconfig(gstreamer-app-1.0)
|
|
|
b7b7eb4 |
BuildRequires: pkgconfig(gstreamer-audio-1.0)
|
|
|
b7b7eb4 |
BuildRequires: pkgconfig(gstreamer-base-1.0)
|
|
|
b7b7eb4 |
BuildRequires: pkgconfig(gstreamer-sdp-1.0)
|
|
|
b7b7eb4 |
BuildRequires: pkgconfig(gstreamer-video-1.0)
|
|
|
b7b7eb4 |
BuildRequires: pkgconfig(gstreamer-webrtc-1.0)
|
|
|
b7b7eb4 |
BuildRequires: pkgconfig(libcmark) >= 0.29.0
|
|
|
b7b7eb4 |
BuildRequires: pkgconfig(libcrypto)
|
|
|
b7b7eb4 |
BuildRequires: pkgconfig(lmdb)
|
|
|
b7b7eb4 |
BuildRequires: pkgconfig(openssl)
|
|
|
b7b7eb4 |
BuildRequires: pkgconfig(zlib)
|
|
|
9abba2f |
|
|
|
150f70f |
BuildRequires: boost-devel >= 1.70
|
|
|
b7b7eb4 |
BuildRequires: cmake
|
|
|
9abba2f |
BuildRequires: desktop-file-utils
|
|
|
b7b7eb4 |
BuildRequires: gcc
|
|
|
b7b7eb4 |
BuildRequires: gcc-c++
|
|
|
9abba2f |
BuildRequires: libappstream-glib
|
|
|
217f876 |
BuildRequires: lmdbxx-devel
|
|
|
9abba2f |
BuildRequires: ninja-build
|
|
|
69eb9bb |
|
|
|
150f70f |
%if %{with clang}
|
|
|
150f70f |
BuildRequires: compiler-rt
|
|
|
150f70f |
BuildRequires: clang
|
|
|
150f70f |
BuildRequires: llvm
|
|
|
150f70f |
%endif
|
|
|
150f70f |
|
|
|
9abba2f |
Requires: hicolor-icon-theme
|
|
|
b7b7eb4 |
Requires: qt5-qtquickcontrols2%{?_isa}
|
|
|
9abba2f |
|
|
|
df987bd |
Recommends: google-noto-emoji-color-fonts
|
|
|
df987bd |
Recommends: google-noto-emoji-fonts
|
|
|
df987bd |
|
|
|
9da9656 |
# https://github.com/Nheko-Reborn/nheko/issues/391
|
|
|
51033ee |
Provides: bundled(blurhash) = 0.0.1
|
|
|
9da9656 |
Provides: bundled(cpp-httplib) = 0.5.12
|
|
|
9da9656 |
Provides: bundled(qtsingleapplication-qt5) = 3.2.0-gitdc8042b
|
|
|
9da9656 |
|
|
|
9abba2f |
%description
|
|
|
9abba2f |
The motivation behind the project is to provide a native desktop app
|
|
|
56ffda3 |
for Matrix that feels more like a mainstream chat app.
|
|
|
9abba2f |
|
|
|
9abba2f |
%prep
|
|
|
fdfb26f |
%autosetup -p1
|
|
|
9abba2f |
|
|
|
9abba2f |
%build
|
|
|
f788171 |
%cmake -G Ninja \
|
|
|
217f876 |
-DCMAKE_BUILD_TYPE=Release \
|
|
|
b7b7eb4 |
-DCOMPILE_QML:BOOL=OFF \
|
|
|
150f70f |
-DHUNTER_ENABLED:BOOL=OFF \
|
|
|
b7b7eb4 |
-DCI_BUILD:BOOL=OFF \
|
|
|
b7b7eb4 |
-DASAN:BOOL=OFF \
|
|
|
b7b7eb4 |
-DQML_DEBUGGING:BOOL=OFF \
|
|
|
b7b7eb4 |
-DBUILD_DOCS:BOOL=OFF \
|
|
|
150f70f |
-DUSE_BUNDLED_BOOST:BOOL=OFF \
|
|
|
150f70f |
-DUSE_BUNDLED_SPDLOG:BOOL=OFF \
|
|
|
150f70f |
-DUSE_BUNDLED_OLM:BOOL=OFF \
|
|
|
150f70f |
-DUSE_BUNDLED_GTEST:BOOL=OFF \
|
|
|
150f70f |
-DUSE_BUNDLED_CMARK:BOOL=OFF \
|
|
|
150f70f |
-DUSE_BUNDLED_MTXCLIENT:BOOL=OFF \
|
|
|
150f70f |
-DUSE_BUNDLED_LMDB:BOOL=OFF \
|
|
|
150f70f |
-DUSE_BUNDLED_LMDBXX:BOOL=OFF \
|
|
|
150f70f |
-DUSE_BUNDLED_TWEENY:BOOL=OFF \
|
|
|
150f70f |
-DUSE_BUNDLED_JSON:BOOL=OFF \
|
|
|
150f70f |
-DUSE_BUNDLED_OPENSSL:BOOL=OFF \
|
|
|
56042a8 |
-DUSE_BUNDLED_QTKEYCHAIN:BOOL=OFF
|
|
|
f788171 |
%cmake_build
|
|
|
9abba2f |
|
|
|
9abba2f |
%install
|
|
|
f788171 |
%cmake_install
|
|
|
9abba2f |
|
|
|
9abba2f |
%check
|
|
|
686bb40 |
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdata.xml
|
|
|
9abba2f |
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
9abba2f |
|
|
|
217f876 |
%files
|
|
|
8dc46e4 |
%doc README.md CHANGELOG.md
|
|
|
db2bfb1 |
%license COPYING
|
|
|
9abba2f |
%{_bindir}/%{name}
|
|
|
686bb40 |
%{_metainfodir}/%{name}.appdata.xml
|
|
|
9abba2f |
%{_datadir}/applications/%{name}.desktop
|
|
|
9abba2f |
%{_datadir}/icons/hicolor/*/apps/%{name}.*
|
|
|
9abba2f |
|
|
|
9abba2f |
%changelog
|
|
|
56042a8 |
* Wed Jan 20 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.8.0-2
|
|
|
56042a8 |
- Enabled s390x builds again.
|
|
|
56042a8 |
|
|
|
b7b7eb4 |
* Wed Jan 20 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.8.0-1
|
|
|
b7b7eb4 |
- Updated to version 0.8.0.
|
|
|
444dbe0 |
|
|
|
bda9189 |
* Mon Nov 23 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 0.7.2-4
|
|
|
bda9189 |
- Rebuilt due to Qt 5.15.2 update.
|
|
|
bda9189 |
|
|
|
15131cd |
* Sat Oct 17 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 0.7.2-3
|
|
|
15131cd |
- Rebuilt due to Qt update.
|
|
|
15131cd |
|
|
|
7d38a23 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-2
|
|
|
7d38a23 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
7d38a23 |
|
|
|
075966f |
* Sun Jun 14 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 0.7.2-1
|
|
|
075966f |
- Updated to version 0.7.2.
|
|
|
075966f |
|
|
|
150f70f |
* Wed Jun 03 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 0.7.1-1
|
|
|
150f70f |
- Updated to version 0.7.1.
|
|
|
150f70f |
|
|
|
9754b71 |
* Sun May 31 2020 Jonathan Wakely <jwakely@redhat.com> - 0.6.4-5
|
|
|
9754b71 |
- Rebuilt for Boost 1.73
|
|
|
9754b71 |
|
|
|
686bb40 |
* Sat Mar 07 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.4-4
|
|
|
686bb40 |
- Rebuit due to cmark update.
|
|
|
686bb40 |
|
|
|
64e4f2c |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-3
|
|
|
64e4f2c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
64e4f2c |
|
|
|
ba85dc8 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-2
|
|
|
ba85dc8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
ba85dc8 |
|
|
|
431a060 |
* Thu May 23 2019 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.4-1
|
|
|
431a060 |
- Updated to version 0.6.4.
|
|
|
431a060 |
|
|
|
4ec65dc |
* Sun Feb 10 2019 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.3-1
|
|
|
4ec65dc |
- Switched upstream to a new maintained fork.
|
|
|
4ec65dc |
- Updated to version 0.6.3.
|
|
|
4ec65dc |
|
|
|
4821f6c |
* Thu Jan 31 2019 Kalev Lember <klember@redhat.com> - 0.6.2-4
|
|
|
4821f6c |
- Rebuilt for Boost 1.69
|
|
|
4821f6c |
|
|
|
15f0335 |
* Sat Jan 05 2019 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.2-3
|
|
|
15f0335 |
- Rebuilt due to libolm update.
|
|
|
15f0335 |
|
|
|
1aa2220 |
* Mon Dec 10 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.2-2
|
|
|
1aa2220 |
- Backported patch with localization update from maintained fork.
|
|
|
1aa2220 |
|
|
|
6a71443 |
* Sun Oct 07 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.2-1
|
|
|
6a71443 |
- Updated to version 0.6.2.
|
|
|
6a71443 |
|
|
|
69a7433 |
* Wed Sep 26 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.1-2
|
|
|
eb63957 |
- Fixed bogus changelog entry.
|
|
|
eb63957 |
|
|
|
eb63957 |
* Wed Sep 26 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.1-1
|
|
|
69a7433 |
- Updated to version 0.6.1.
|
|
|
69a7433 |
|
|
|
fa572e9 |
* Sat Sep 22 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.0-1
|
|
|
fa572e9 |
- Updated to version 0.6.0.
|
|
|
fa572e9 |
|
|
|
4e6a8f0 |
* Sun Sep 02 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.5.5-1
|
|
|
4e6a8f0 |
- Updated to version 0.5.5.
|
|
|
4e6a8f0 |
|
|
|
4901077 |
* Wed Aug 22 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.5.4-1
|
|
|
4901077 |
- Updated to version 0.5.4.
|
|
|
4901077 |
|
|
|
c351610 |
* Wed Aug 15 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.5.3-2
|
|
|
c351610 |
- Backported patch with crash fix on logout.
|
|
|
c351610 |
|
|
|
b23dbf1 |
* Sun Aug 12 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.5.3-1
|
|
|
b23dbf1 |
- Updated to version 0.5.3.
|
|
|
b23dbf1 |
|
|
|
34bc5db |
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 0.5.2-2
|
|
|
34bc5db |
- Rebuild with fixed binutils
|
|
|
34bc5db |
|
|
|
9417766 |
* Sat Jul 28 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.5.2-1
|
|
|
9417766 |
- Updated to version 0.5.2.
|
|
|
9417766 |
|
|
|
8c3af63 |
* Fri Jul 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.1-2
|
|
|
8c3af63 |
- Rebuild for new binutils
|
|
|
8c3af63 |
|
|
|
217f876 |
* Thu Jul 26 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.5.1-1
|
|
|
217f876 |
- Updated to version 0.5.1.
|
|
|
217f876 |
|
|
|
3af02da |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-3
|
|
|
3af02da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
3af02da |
|
|
|
f39a967 |
* Thu Jul 12 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.3-2
|
|
|
f39a967 |
- Fixed issue with system shutdown on KDE Plasma.
|
|
|
f39a967 |
|
|
|
45e77bc |
* Sun Jun 03 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.3-1
|
|
|
45e77bc |
- Updated to version 0.4.3.
|
|
|
45e77bc |
|
|
|
55139e4 |
* Fri May 25 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.2-1
|
|
|
55139e4 |
- Updated to version 0.4.2.
|
|
|
55139e4 |
|
|
|
b9cb63a |
* Thu May 24 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.1-1
|
|
|
b9cb63a |
- Updated to version 0.4.1.
|
|
|
b9cb63a |
|
|
|
deba512 |
* Fri May 04 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.0-1
|
|
|
deba512 |
- Updated to version 0.4.0.
|
|
|
deba512 |
|
|
|
9311df1 |
* Fri Apr 13 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.3.1-1
|
|
|
9311df1 |
- Updated to version 0.3.1.
|
|
|
9311df1 |
|
|
|
69eb9bb |
* Tue Apr 03 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.3.0-1
|
|
|
69eb9bb |
- Updated to version 0.3.0.
|
|
|
69eb9bb |
|
|
|
bddcd56 |
* Wed Mar 14 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.2.1-1
|
|
|
bddcd56 |
- Updated to version 0.2.1.
|
|
|
bddcd56 |
|
|
|
67a2cb9 |
* Mon Mar 05 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.2.0-1
|
|
|
67a2cb9 |
- Updated to version 0.2.0.
|
|
|
9abba2f |
|
|
|
9abba2f |
* Thu Dec 28 2017 Vitaly Zaitsev <vitaly@easycoding.org> - 0.1.0-1
|
|
|
9abba2f |
- Updated to version 0.1.0.
|
|
|
9abba2f |
|
|
|
9abba2f |
* Mon Sep 25 2017 Vitaly Zaitsev <vitaly@easycoding.org> - 0-1.20170924git9def76a
|
|
|
9abba2f |
- Initial SPEC release.
|