Name: nheko Version: 0.11.3 Release: 5%{?dist} # Main source - GPL-3.0-or-later. # cpp-httplib - bundled - MIT. # qtsingleapplication-qt5 - bundled - MIT. License: GPL-3.0-or-later AND MIT Summary: Desktop client for the Matrix protocol URL: https://github.com/Nheko-Reborn/%{name} Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz # https://github.com/Nheko-Reborn/nheko/commit/d7c10ae90417fcbb7f81edd4e40d89e91436244b Patch100: %{name}-0.11.3-gcc13-fix.patch # https://github.com/Nheko-Reborn/nheko/commit/e89e65dc17020772eb057414b4f0c5d6f4ad98d0 Patch101: %{name}-0.11.3-fmt10-fix.patch BuildRequires: cmake(MatrixClient) >= 0.9.2 BuildRequires: cmake(Olm) >= 3.2.12 BuildRequires: cmake(Qt5Concurrent) BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5DBus) BuildRequires: cmake(Qt5Keychain) BuildRequires: cmake(Qt5LinguistTools) BuildRequires: cmake(Qt5Multimedia) BuildRequires: cmake(Qt5Network) BuildRequires: cmake(Qt5Qml) BuildRequires: cmake(Qt5QuickCompiler) BuildRequires: cmake(Qt5QuickControls2) BuildRequires: cmake(Qt5QuickWidgets) BuildRequires: cmake(Qt5Svg) BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(fmt) >= 9.1.0 BuildRequires: cmake(httplib) >= 0.5.12 BuildRequires: cmake(mpark_variant) BuildRequires: cmake(nlohmann_json) >= 3.2.0 BuildRequires: cmake(spdlog) >= 1.0.0 BuildRequires: pkgconfig(blurhash) >= 0.2.0 BuildRequires: pkgconfig(coeurl) >= 0.3.0 BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(gstreamer-app-1.0) BuildRequires: pkgconfig(gstreamer-audio-1.0) BuildRequires: pkgconfig(gstreamer-base-1.0) BuildRequires: pkgconfig(gstreamer-sdp-1.0) BuildRequires: pkgconfig(gstreamer-video-1.0) BuildRequires: pkgconfig(gstreamer-webrtc-1.0) BuildRequires: pkgconfig(libcmark) >= 0.29.0 BuildRequires: pkgconfig(libcrypto) BuildRequires: pkgconfig(libevent) BuildRequires: pkgconfig(lmdb) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(re2) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xcb-ewmh) BuildRequires: pkgconfig(zlib) BuildRequires: asciidoc BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: libappstream-glib BuildRequires: lmdbxx-devel >= 1.0.0 BuildRequires: ninja-build Requires: hicolor-icon-theme Requires: qt-jdenticon%{?_isa} Requires: qt5-qtquickcontrols2%{?_isa} Recommends: google-noto-emoji-color-fonts Recommends: google-noto-emoji-fonts # https://github.com/Nheko-Reborn/nheko/issues/391 Provides: bundled(qtsingleapplication-qt5) = 3.3.2 %description The motivation behind the project is to provide a native desktop app for Matrix that feels more like a mainstream chat app. %prep %autosetup -p1 rm -rf third_party/{blurhash,cpp-httplib*} %build %cmake -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \ -DCOMPILE_QML:BOOL=OFF \ -DHUNTER_ENABLED:BOOL=OFF \ -DCI_BUILD:BOOL=OFF \ -DASAN:BOOL=OFF \ -DQML_DEBUGGING:BOOL=OFF \ -DBUILD_DOCS:BOOL=OFF \ -DVOIP:BOOL=ON \ -DMAN:BOOL=ON \ -DUSE_BUNDLED_BLURHASH:BOOL=OFF \ -DUSE_BUNDLED_CMARK:BOOL=OFF \ -DUSE_BUNDLED_COEURL:BOOL=OFF \ -DUSE_BUNDLED_CPPHTTPLIB:BOOL=OFF \ -DUSE_BUNDLED_GTEST:BOOL=OFF \ -DUSE_BUNDLED_JSON:BOOL=OFF \ -DUSE_BUNDLED_LIBEVENT:BOOL=OFF \ -DUSE_BUNDLED_LMDB:BOOL=OFF \ -DUSE_BUNDLED_LMDBXX:BOOL=OFF \ -DUSE_BUNDLED_MTXCLIENT:BOOL=OFF \ -DUSE_BUNDLED_OLM:BOOL=OFF \ -DUSE_BUNDLED_OPENSSL:BOOL=OFF \ -DUSE_BUNDLED_QTKEYCHAIN:BOOL=OFF \ -DUSE_BUNDLED_SPDLOG:BOOL=OFF %cmake_build %install %cmake_install %check appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdata.xml desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %files %doc README.md CHANGELOG.md %license COPYING %dir %{_datadir}/zsh/site-functions %{_bindir}/%{name} %{_metainfodir}/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.* %{_datadir}/zsh/site-functions/_%{name} %{_mandir}/man1/%{name}.1* %changelog * Thu Jul 20 2023 Fedora Release Engineering - 0.11.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jul 08 2023 Vitaly Zaitsev - 0.11.3-4 - Rebuilt due to spdlog 1.12 update. * Wed Jun 28 2023 Vitaly Zaitsev - 0.11.3-3 - Rebuilt due to fmt 10 update. - Backported upstream patch with fmt 10 build fix. * Fri Mar 24 2023 Vitaly Zaitsev - 0.11.3-2 - Backported upstream patch with GCC 13 build fix. * Thu Feb 23 2023 Vitaly Zaitsev - 0.11.3-1 - Updated to version 0.11.3. * Mon Feb 20 2023 Vitaly Zaitsev - 0.11.2-1 - Updated to version 0.11.2. * Sat Feb 18 2023 Vitaly Zaitsev - 0.11.1-5 - Unbundled cpp-httplib and blurhash-cpp. Fixes rhbz#2169587. * Mon Jan 30 2023 Jens Petersen - 0.11.1-4 - rebuild * Fri Jan 27 2023 Jens Petersen - 0.11.1-3 - rebuild f38 against newer cmark * Thu Jan 19 2023 Fedora Release Engineering - 0.11.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Jan 16 2023 Vitaly Zaitsev - 0.11.1-1 - Updated to version 0.11.1. * Fri Jan 13 2023 Vitaly Zaitsev - 0.11.0-1 - Updated to version 0.11.0. * Thu Nov 03 2022 Vitaly Zaitsev - 0.10.2-2 - Rebuilt due to spdlog update. * Thu Sep 29 2022 Vitaly Zaitsev - 0.10.2-1 - Updated to version 0.10.2. * Sat Sep 10 2022 Vitaly Zaitsev - 0.10.1-2 - Rebuilt due to mtxclient update. * Thu Sep 08 2022 Vitaly Zaitsev - 0.10.1-1 - Updated to version 0.10.1. * Tue Aug 16 2022 Vitaly Zaitsev - 0.10.0-2 - Rebuilt due to json update. * Sat Jul 23 2022 Vitaly Zaitsev - 0.10.0-1 - Updated to version 0.10.0. * Fri Jul 22 2022 Fedora Release Engineering - 0.9.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jul 16 2022 Vitaly Zaitsev - 0.9.3-3 - Rebuilt due to fmt library update. * Sat Apr 30 2022 Vitaly Zaitsev - 0.9.3-2 - Rebuilt due to spdlog update. * Sat Mar 26 2022 Vitaly Zaitsev - 0.9.3-1 - Updated to version 0.9.3. * Thu Mar 10 2022 Vitaly Zaitsev - 0.9.2-1 - Updated to version 0.9.2. * Thu Feb 24 2022 Vitaly Zaitsev - 0.9.1-3 - Rebuilt due to mtxclient update. * Thu Jan 20 2022 Fedora Release Engineering - 0.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Dec 21 2021 Vitaly Zaitsev - 0.9.1-1 - Updated to version 0.9.1. * Fri Dec 03 2021 Vitaly Zaitsev - 0.9.0-2 - Added a strict dependency on qt-jdenticon. * Fri Nov 19 2021 Vitaly Zaitsev - 0.9.0-1 - Updated to version 0.9.0. * Thu Jul 22 2021 Fedora Release Engineering - 0.8.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jul 05 2021 Vitaly Zaitsev - 0.8.2-2 - Rebuilt due to fmt library update. * Fri Apr 23 2021 Vitaly Zaitsev - 0.8.2-1 - Updated to version 0.8.2. * Mon Feb 08 2021 Vitaly Zaitsev - 0.8.1-2 - Backported fonts scaling fixes. * Sat Jan 30 2021 Vitaly Zaitsev - 0.8.1-1 - Updated to version 0.8.1. * Tue Jan 26 2021 Fedora Release Engineering - 0.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jan 20 2021 Vitaly Zaitsev - 0.8.0-2 - Enabled s390x builds again. * Wed Jan 20 2021 Vitaly Zaitsev - 0.8.0-1 - Updated to version 0.8.0. * Mon Nov 23 2020 Vitaly Zaitsev - 0.7.2-4 - Rebuilt due to Qt 5.15.2 update. * Sat Oct 17 2020 Vitaly Zaitsev - 0.7.2-3 - Rebuilt due to Qt update. * Tue Jul 28 2020 Fedora Release Engineering - 0.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jun 14 2020 Vitaly Zaitsev - 0.7.2-1 - Updated to version 0.7.2. * Wed Jun 03 2020 Vitaly Zaitsev - 0.7.1-1 - Updated to version 0.7.1. * Sun May 31 2020 Jonathan Wakely - 0.6.4-5 - Rebuilt for Boost 1.73 * Sat Mar 07 2020 Vitaly Zaitsev - 0.6.4-4 - Rebuit due to cmark update. * Wed Jan 29 2020 Fedora Release Engineering - 0.6.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.6.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 23 2019 Vitaly Zaitsev - 0.6.4-1 - Updated to version 0.6.4. * Sun Feb 10 2019 Vitaly Zaitsev - 0.6.3-1 - Switched upstream to a new maintained fork. - Updated to version 0.6.3. * Thu Jan 31 2019 Kalev Lember - 0.6.2-4 - Rebuilt for Boost 1.69 * Sat Jan 05 2019 Vitaly Zaitsev - 0.6.2-3 - Rebuilt due to libolm update. * Mon Dec 10 2018 Vitaly Zaitsev - 0.6.2-2 - Backported patch with localization update from maintained fork. * Sun Oct 07 2018 Vitaly Zaitsev - 0.6.2-1 - Updated to version 0.6.2. * Wed Sep 26 2018 Vitaly Zaitsev - 0.6.1-2 - Fixed bogus changelog entry. * Wed Sep 26 2018 Vitaly Zaitsev - 0.6.1-1 - Updated to version 0.6.1. * Sat Sep 22 2018 Vitaly Zaitsev - 0.6.0-1 - Updated to version 0.6.0. * Sun Sep 02 2018 Vitaly Zaitsev - 0.5.5-1 - Updated to version 0.5.5. * Wed Aug 22 2018 Vitaly Zaitsev - 0.5.4-1 - Updated to version 0.5.4. * Wed Aug 15 2018 Vitaly Zaitsev - 0.5.3-2 - Backported patch with crash fix on logout. * Sun Aug 12 2018 Vitaly Zaitsev - 0.5.3-1 - Updated to version 0.5.3. * Tue Jul 31 2018 Florian Weimer - 0.5.2-2 - Rebuild with fixed binutils * Sat Jul 28 2018 Vitaly Zaitsev - 0.5.2-1 - Updated to version 0.5.2. * Fri Jul 27 2018 Igor Gnatenko - 0.5.1-2 - Rebuild for new binutils * Thu Jul 26 2018 Vitaly Zaitsev - 0.5.1-1 - Updated to version 0.5.1. * Fri Jul 13 2018 Fedora Release Engineering - 0.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jul 12 2018 Vitaly Zaitsev - 0.4.3-2 - Fixed issue with system shutdown on KDE Plasma. * Sun Jun 03 2018 Vitaly Zaitsev - 0.4.3-1 - Updated to version 0.4.3. * Fri May 25 2018 Vitaly Zaitsev - 0.4.2-1 - Updated to version 0.4.2. * Thu May 24 2018 Vitaly Zaitsev - 0.4.1-1 - Updated to version 0.4.1. * Fri May 04 2018 Vitaly Zaitsev - 0.4.0-1 - Updated to version 0.4.0. * Fri Apr 13 2018 Vitaly Zaitsev - 0.3.1-1 - Updated to version 0.3.1. * Tue Apr 03 2018 Vitaly Zaitsev - 0.3.0-1 - Updated to version 0.3.0. * Wed Mar 14 2018 Vitaly Zaitsev - 0.2.1-1 - Updated to version 0.2.1. * Mon Mar 05 2018 Vitaly Zaitsev - 0.2.0-1 - Updated to version 0.2.0. * Thu Dec 28 2017 Vitaly Zaitsev - 0.1.0-1 - Updated to version 0.1.0. * Mon Sep 25 2017 Vitaly Zaitsev - 0-1.20170924git9def76a - Initial SPEC release.