Compare commits

...

71 Commits
f31 ... rawhide

Author SHA1 Message Date
Fabio Valentini d07b835bd2
Rebuild for gstreamer-plugins-bad 1.24 2024-05-25 12:35:35 +02:00
František Zatloukal abdedb7775 Rebuilt for spdlog 1.14.1 2024-05-21 17:41:13 +02:00
Vitaly 7e069609b2
Converted to %autorelease and %autochangelog.
[skip changelog]
2024-03-21 15:28:12 +01:00
Vitaly 8afc1265e7
Fixed FTBFS on F40+. 2024-03-27 11:57:08 +01:00
Fedora Release Engineering e13eb29be6 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 08:59:41 +00:00
Fedora Release Engineering 56291c0960 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 09:42:24 +00:00
Fedora Release Engineering d6593df8bc Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 16:40:53 +00:00
Vitaly Zaitsev c6786f0276
Rebuilt due to spdlog 1.12 update. 2023-07-08 20:44:04 +02:00
Vitaly Zaitsev b631adc2b6
Backported upstream patch with fmt 10 build fix. 2023-06-28 13:37:23 +02:00
Vitaly Zaitsev 547246627d
Rebuilt due to fmt 10 update. 2023-06-28 10:41:21 +02:00
Vitaly Zaitsev 71a771a1b7
Backported upstream patch with GCC 13 build fix. 2023-03-24 19:59:44 +01:00
Vitaly Zaitsev 1943a7a46f
Updated to version 0.11.3. 2023-02-23 10:45:17 +01:00
Vitaly Zaitsev 9c9a18f45d
Updated to version 0.11.2. 2023-02-20 19:29:50 +01:00
Vitaly Zaitsev f520a5f5a9
Added missing patches. 2023-02-18 21:39:55 +01:00
Vitaly Zaitsev 3495450819
Unbundled cpp-httplib and blurhash-cpp. 2023-02-18 21:39:00 +01:00
Jens Petersen cc1f742e0f rebuild 2023-01-30 13:29:18 +08:00
Jens Petersen 46d7d5e00b rebuild f38 against newer cmark 2023-01-27 23:14:29 +08:00
Fedora Release Engineering c949ab992f Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 21:35:40 +00:00
Vitaly Zaitsev 62ca2735a2
Updated to version 0.11.1. 2023-01-16 09:44:35 +01:00
Vitaly Zaitsev f489c9a664
Added missing build requirements. 2023-01-13 08:58:04 +01:00
Vitaly Zaitsev b08538b758
Updated minimal versions of some build-time requirements. 2023-01-13 08:55:23 +01:00
Vitaly Zaitsev a0e39b6b1c
Updated to version 0.11.0. 2023-01-13 08:54:43 +01:00
Vitaly Zaitsev 22265d1789
Converted license tag to SPDX format. 2022-12-13 16:25:03 +01:00
Vitaly Zaitsev 2ff6a50ef4
Rebuilt due to spdlog update. 2022-11-03 15:23:24 +01:00
Vitaly Zaitsev 388332f8eb
Updated to version 0.10.2. 2022-09-29 11:54:18 +02:00
Vitaly Zaitsev 74762b2c1f
Rebuilt due to mtxclient update. 2022-09-10 11:48:48 +02:00
Vitaly Zaitsev c1ecac08af
Bump minimal mtxclient version to 0.8.1. 2022-09-08 09:02:56 +02:00
Vitaly Zaitsev 33f10e891d
Updated to version 0.10.1. 2022-09-08 08:53:53 +02:00
Vitaly Zaitsev 05f870ec17
Rebuilt due to json update. 2022-08-16 14:54:51 +02:00
Vitaly Zaitsev 76a635512b
Added missing files. 2022-07-23 11:09:50 +02:00
Vitaly Zaitsev af09bb0a00
Updated to version 0.10.0. 2022-07-23 10:55:15 +02:00
Fedora Release Engineering 28398843f2 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 00:34:40 +00:00
Vitaly Zaitsev 261f81b468
Rebuilt due to fmt library update. 2022-07-16 12:19:52 +02:00
Vitaly Zaitsev f45e68c0c4
Removed obsolete __cmake_in_source_build definition. 2022-05-23 13:10:45 +02:00
Vitaly Zaitsev ba83ea2a01
Rebuilt due to spdlog update. 2022-04-30 13:57:31 +02:00
Vitaly Zaitsev 5d5a9b7fe9
Updated to version 0.9.3. 2022-03-26 18:03:05 +01:00
Vitaly Zaitsev dbbfeeb056
Updated to version 0.9.2. 2022-03-10 11:37:27 +01:00
Vitaly Zaitsev a1a57de2fd
Changed minimal version of mtxclient. 2022-02-24 16:26:35 +01:00
Vitaly Zaitsev 0fb69b9ce6
Rebuilt due to mtxclient update. 2022-02-24 16:23:01 +01:00
Fedora Release Engineering 3908aa56da - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 21:12:40 +00:00
Vitaly Zaitsev 9d93f4c81a
Updated to version 0.9.1. 2021-12-21 11:25:39 +01:00
Vitaly Zaitsev 86bd138faa
Added a strict dependency on qt-jdenticon. 2021-12-03 14:28:22 +01:00
Vitaly Zaitsev 1ea5e66dbf
Updated to version 0.9.0. 2021-11-19 18:27:37 +01:00
Fedora Release Engineering 7d1a9ae3d7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 16:08:05 +00:00
Vitaly Zaitsev 032aecb5f8
Rebuilt due to fmt library update. 2021-07-05 14:22:07 +02:00
Vitaly Zaitsev ca4b012c30
Updated to version 0.8.2. 2021-04-23 15:17:34 +02:00
Vitaly Zaitsev bfa4af4173
Backported fonts scaling fixes. 2021-02-08 18:30:16 +01:00
Vitaly Zaitsev 52091b8ddf
Updated to version 0.8.1. 2021-01-30 16:08:15 +01:00
Fedora Release Engineering dd646fd342 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 21:31:28 +00:00
Vitaly Zaitsev 1977d94145
Restored the previous workaround. 2021-01-22 15:23:32 +01:00
Vitaly Zaitsev 428ab41706
Use a better workaround for Clang. 2021-01-22 15:08:50 +01:00
Vitaly Zaitsev f45e5d7be2
Disabled LTO for Clang on armv7hl due to RHBZ#1918924. 2021-01-22 14:49:04 +01:00
Vitaly Zaitsev 56042a8fe9
Enabled s390x builds again. 2021-01-20 21:04:06 +01:00
Vitaly Zaitsev df987bd4b9
Added some emoji fonts as weak dependencies. 2021-01-20 18:24:02 +01:00
Vitaly Zaitsev f9069d4e4e
Temporary disabled builds on s390x due to linkage errors.
See also RHBZ#1918332.
2021-01-20 16:23:52 +01:00
Vitaly Zaitsev 51033ee530
Correctly specified version of the blurhash header-only library. 2021-01-20 15:31:48 +01:00
Vitaly Zaitsev 9da9656f63
Fixed minor bundled libraries licensing issues. 2021-01-20 15:21:18 +01:00
Vitaly Zaitsev b7b7eb49ae
Updated to version 0.8.0. 2021-01-20 14:39:56 +01:00
Rex Dieter 444dbe039a drop hard-coded/versioned Qt5 dependency 2020-12-01 10:32:37 -06:00
Vitaly Zaitsev bda9189cb7
Rebuilt due to Qt 5.15.2 update. 2020-11-23 16:34:32 +01:00
Vitaly Zaitsev 15131cd78c
Rebuilt due to Qt update. 2020-10-17 22:04:40 +02:00
Vitaly Zaitsev 1531a43be0
Switched back to GCC. 2020-07-31 10:32:08 +02:00
Fedora Release Engineering 7d38a23217 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 09:09:36 +00:00
Vitaly Zaitsev f78817145d
Cmake out of tree build fixes. 2020-07-21 11:26:09 +02:00
Vitaly Zaitsev b491c234e6
Packported upstream patch with theme changing fix. 2020-06-14 14:32:06 +02:00
Vitaly Zaitsev 075966fa3f
Updated to version 0.7.2. 2020-06-14 11:57:10 +02:00
Vitaly Zaitsev 150f70f224
Updated to version 0.7.1. 2020-06-03 17:23:53 +02:00
Jonathan Wakely 9754b712ef Rebuilt for Boost 1.73 2020-05-31 10:18:09 +01:00
Vitaly Zaitsev 686bb403be
Rebuit due to cmark update. 2020-03-07 13:45:11 +01:00
Vitaly Zaitsev 0900db00b8
Fixed build against modern spdlog. 2020-01-31 14:00:54 +01:00
Fedora Release Engineering 64e4f2c837 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 14:59:24 +00:00
7 changed files with 226 additions and 169 deletions

36
.gitignore vendored
View File

@ -1,35 +1 @@
/header_only.tar.gz
/lmdbxx-0b43ca8.tar.gz
/matrix-structs-97201f9.tar.gz
/nheko-73bc1ff.tar.gz
/nheko-43ba4d5.tar.gz
/nheko-a1ea11d.tar.gz
/matrix-structs-335ece4.tar.gz
/nheko-c75a136.tar.gz
/matrix-structs-a84b372.tar.gz
/nheko-0.2.0.tar.gz
/matrix-structs-850100c.tar.gz
/nheko-0.2.1.tar.gz
/header_only-f3b7019.tar.gz
/matrix-structs-7d5d5f7.tar.gz
/nheko-0.3.0.tar.gz
/tweeny-b94ce07.tar.gz
/matrix-structs-a65c0be.tar.gz
/nheko-0.3.1.tar.gz
/matrix-structs-690080d.tar.gz
/nheko-0.4.0.tar.gz
/matrix-structs-5e57c23.tar.gz
/nheko-0.4.1.tar.gz
/nheko-0.4.2.tar.gz
/matrix-structs-eeb7373.tar.gz
/nheko-0.4.3.tar.gz
/nheko-0.5.1.tar.gz
/nheko-0.5.2.tar.gz
/nheko-0.5.3.tar.gz
/nheko-0.5.4.tar.gz
/nheko-0.5.5.tar.gz
/nheko-0.6.0.tar.gz
/nheko-0.6.1.tar.gz
/nheko-0.6.2.tar.gz
/nheko-0.6.3.tar.gz
/nheko-0.6.4.tar.gz
/nheko-*.tar.gz

2
changelog Normal file
View File

@ -0,0 +1,2 @@
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

View File

@ -0,0 +1,78 @@
From e89e65dc17020772eb057414b4f0c5d6f4ad98d0 Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Wed, 28 Jun 2023 13:16:10 +0200
Subject: [PATCH] Fix build against fmt10
fixes #1499
---
src/Cache.cpp | 2 +-
src/encryption/DeviceVerificationFlow.cpp | 2 +-
src/timeline/InputBar.cpp | 10 ++++++----
src/ui/MxcMediaProxy.cpp | 9 ++++++---
4 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/src/Cache.cpp b/src/Cache.cpp
index c575ebf7..0c5e879c 100644
--- a/src/Cache.cpp
+++ b/src/Cache.cpp
@@ -438,7 +438,7 @@ Cache::loadSecretsFromStore(
if (job->error() && job->error() != QKeychain::Error::EntryNotFound) {
nhlog::db()->error("Restoring secret '{}' failed ({}): {}",
name.toStdString(),
- job->error(),
+ static_cast<int>(job->error()),
job->errorString().toStdString());
fatalSecretError();
diff --git a/src/encryption/DeviceVerificationFlow.cpp b/src/encryption/DeviceVerificationFlow.cpp
index 0e9043dd..7dee9e6b 100644
--- a/src/encryption/DeviceVerificationFlow.cpp
+++ b/src/encryption/DeviceVerificationFlow.cpp
@@ -39,7 +39,7 @@ DeviceVerificationFlow::DeviceVerificationFlow(QObject *,
, deviceIds(std::move(deviceIds_))
, model_(model)
{
- nhlog::crypto()->debug("CREATING NEW FLOW, {}, {}", flow_type, (void *)this);
+ nhlog::crypto()->debug("CREATING NEW FLOW, {}, {}", static_cast<int>(flow_type), (void *)this);
if (deviceIds.size() == 1)
deviceId = deviceIds.front();
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp
index 94944337..1fb210d8 100644
--- a/src/timeline/InputBar.cpp
+++ b/src/timeline/InputBar.cpp
@@ -948,14 +948,14 @@ MediaUpload::MediaUpload(std::unique_ptr<QIODevice> source_,
this,
[mediaPlayer](QMediaPlayer::Error error) {
nhlog::ui()->debug("Media player error {} and errorStr {}",
- error,
+ static_cast<int>(error),
mediaPlayer->errorString().toStdString());
});
connect(mediaPlayer,
&QMediaPlayer::mediaStatusChanged,
[mediaPlayer](QMediaPlayer::MediaStatus status) {
nhlog::ui()->debug(
- "Media player status {} and error {}", status, mediaPlayer->error());
+ "Media player status {} and error {}", static_cast<int>(status), static_cast<int>(mediaPlayer->error()));
});
connect(mediaPlayer,
qOverload<const QString &, const QVariant &>(&QMediaPlayer::metaDataChanged),
diff --git a/src/ui/MxcMediaProxy.cpp b/src/ui/MxcMediaProxy.cpp
index da5a2231..dbe63469 100644
--- a/src/ui/MxcMediaProxy.cpp
+++ b/src/ui/MxcMediaProxy.cpp
@@ -37,11 +37,11 @@ MxcMediaProxy::MxcMediaProxy(QObject *parent)
qOverload<QMediaPlayer::Error>(&MxcMediaProxy::error),
[this](QMediaPlayer::Error error) {
nhlog::ui()->info("Media player error {} and errorStr {}",
- error,
+ static_cast<int>(error),
this->errorString().toStdString());
});
connect(this, &MxcMediaProxy::mediaStatusChanged, [this](QMediaPlayer::MediaStatus status) {
- nhlog::ui()->info("Media player status {} and error {}", status, this->error());
+ nhlog::ui()->info("Media player status {} and error {}", static_cast<int>(status), static_cast<int>(this->error()));
});
connect(this,
qOverload<const QString &, const QVariant &>(&MxcMediaProxy::metaDataChanged),

View File

@ -0,0 +1,23 @@
From 871e403f6799df48cfbbe08eba56d473a0c34216 Mon Sep 17 00:00:00 2001
From: q234rty <q23456yuiop@gmail.com>
Date: Thu, 17 Aug 2023 15:13:01 +0800
Subject: [PATCH] Fix build with fmt 10.1.0
I have no idea whether this is a fmt bug, and if this isn't a fmt bug how did this work before, but oh well...
---
src/ChatPage.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp
index 4686b0f53..06d883032 100644
--- a/src/ChatPage.cpp
+++ b/src/ChatPage.cpp
@@ -1269,7 +1269,7 @@ ChatPage::getBackupVersion()
nhlog::crypto()->info("Our backup key {} does not match the one "
"used in the online backup {}",
pubkey,
- auth_data["public_key"]);
+ auth_data["public_key"].get<std::string>());
cache::client()->deleteBackupVersion();
return;
}

View File

@ -0,0 +1,22 @@
From d7c10ae90417fcbb7f81edd4e40d89e91436244b Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Fri, 24 Mar 2023 19:48:47 +0100
Subject: [PATCH] Fix explicit optional construction on gcc13
---
src/timeline/EventStore.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/timeline/EventStore.cpp b/src/timeline/EventStore.cpp
index 3c214dcbe..dd0e920de 100644
--- a/src/timeline/EventStore.cpp
+++ b/src/timeline/EventStore.cpp
@@ -650,7 +650,7 @@ EventStore::get(int idx, bool decrypt)
if (edits_.empty())
event = cache::client()->getEvent(room_id_, *event_id);
else
- event = {edits_.back()};
+ event = mtx::events::collections::TimelineEvent{edits_.back()};
if (!event)
return nullptr;

View File

@ -1,44 +1,80 @@
Name: nheko
Version: 0.6.4
Release: 2%{?dist}
Version: 0.11.3
Release: %autorelease
# 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
# Application and 3rd-party modules licensing:
# * S0 - GPLv3+ -- main source.
License: GPLv3+
URL: https://github.com/Nheko-Reborn/nheko
Source0: %{url}/archive/v%{version}.tar.gz#/%{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
# https://github.com/Nheko-Reborn/nheko/commit/871e403f6799df48cfbbe08eba56d473a0c34216
Patch102: %{name}-0.11.3-fmt10.1-fix.patch
BuildRequires: cmake(Qt5Svg)
BuildRequires: cmake(Qt5DBus)
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5Network)
BuildRequires: cmake(Qt5Multimedia)
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: spdlog-devel >= 0.16
BuildRequires: json-devel >= 3.1.2
BuildRequires: mpark-variant-devel
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
BuildRequires: mtxclient-devel
BuildRequires: libsodium-devel
BuildRequires: openssl-devel
BuildRequires: libolm-devel
BuildRequires: tweeny-devel
BuildRequires: lmdbxx-devel
BuildRequires: ninja-build
BuildRequires: boost-devel
BuildRequires: cmark-devel
BuildRequires: lmdb-devel
BuildRequires: zlib-devel
BuildRequires: gcc-c++
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
@ -46,123 +82,53 @@ for Matrix that feels more like a mainstream chat app.
%prep
%autosetup -p1
mkdir -p %{_target_platform}
sed -e '/-Wall/d' -e '/-Wextra/d' -e '/-Werror/d' -e '/-pedantic/d' -e '/-pipe/d' -i CMakeLists.txt
echo "set_target_properties(nheko PROPERTIES SKIP_BUILD_RPATH TRUE)" >> CMakeLists.txt
echo "include_directories(%{_includedir}/mpark)" >> CMakeLists.txt
rm -rf third_party/{blurhash,cpp-httplib*}
%build
pushd %{_target_platform}
%cmake -G Ninja \
%cmake -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DUSE_BUNDLED=OFF \
..
popd
%ninja_build -C %{_target_platform}
-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
%ninja_install -C %{_target_platform}
%cmake_install
%check
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml
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}
%{_datadir}/metainfo/%{name}.appdata.xml
%{_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 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 23 2019 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.4-1
- Updated to version 0.6.4.
* Sun Feb 10 2019 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.3-1
- Switched upstream to a new maintained fork.
- Updated to version 0.6.3.
* Thu Jan 31 2019 Kalev Lember <klember@redhat.com> - 0.6.2-4
- Rebuilt for Boost 1.69
* Sat Jan 05 2019 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.2-3
- Rebuilt due to libolm update.
* Mon Dec 10 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.2-2
- Backported patch with localization update from maintained fork.
* Sun Oct 07 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.2-1
- Updated to version 0.6.2.
* Wed Sep 26 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.1-2
- Fixed bogus changelog entry.
* Wed Sep 26 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.1-1
- Updated to version 0.6.1.
* Sat Sep 22 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.0-1
- Updated to version 0.6.0.
* Sun Sep 02 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.5.5-1
- Updated to version 0.5.5.
* Wed Aug 22 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.5.4-1
- Updated to version 0.5.4.
* Wed Aug 15 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.5.3-2
- Backported patch with crash fix on logout.
* Sun Aug 12 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.5.3-1
- Updated to version 0.5.3.
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 0.5.2-2
- Rebuild with fixed binutils
* Sat Jul 28 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.5.2-1
- Updated to version 0.5.2.
* Fri Jul 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.1-2
- Rebuild for new binutils
* Thu Jul 26 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.5.1-1
- Updated to version 0.5.1.
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jul 12 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.3-2
- Fixed issue with system shutdown on KDE Plasma.
* Sun Jun 03 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.3-1
- Updated to version 0.4.3.
* Fri May 25 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.2-1
- Updated to version 0.4.2.
* Thu May 24 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.1-1
- Updated to version 0.4.1.
* Fri May 04 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.0-1
- Updated to version 0.4.0.
* Fri Apr 13 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.3.1-1
- Updated to version 0.3.1.
* Tue Apr 03 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.3.0-1
- Updated to version 0.3.0.
* Wed Mar 14 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.2.1-1
- Updated to version 0.2.1.
* Mon Mar 05 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.2.0-1
- Updated to version 0.2.0.
* Thu Dec 28 2017 Vitaly Zaitsev <vitaly@easycoding.org> - 0.1.0-1
- Updated to version 0.1.0.
* Mon Sep 25 2017 Vitaly Zaitsev <vitaly@easycoding.org> - 0-1.20170924git9def76a
- Initial SPEC release.
%autochangelog

View File

@ -1 +1 @@
SHA512 (nheko-0.6.4.tar.gz) = 782673a3ae642029307517798e5be96cf0473cd4261af891988a35dfeb5e2e724d2c034407f62addd2e15973d287d11c6590d70cca739c705354cb0151536470
SHA512 (nheko-0.11.3.tar.gz) = bd5b94def3c56bb2c91c40c3ef967ee3b14cb71a7e5b01028743a849932c918620c2b1a1b822705e49dacc80dae6c48712f63bf9a68698858b0faaf1a816c9cd