nheko/nheko.spec

282 lines
9.0 KiB
RPMSpec
Raw Normal View History

2020-07-21 09:26:09 +00:00
%undefine __cmake_in_source_build
2020-06-03 15:23:53 +00:00
2018-02-02 13:35:59 +00:00
Name: nheko
2022-03-26 17:03:05 +00:00
Version: 0.9.3
2022-03-10 10:37:27 +00:00
Release: 1%{?dist}
2018-02-02 13:35:59 +00:00
# Main source - GPLv3+
# cpp-httplib - bundled - MIT
# blurhash - bundled - Boost
# qtsingleapplication-qt5 - bundled - MIT
License: GPLv3+ and MIT and Boost
2020-06-03 15:23:53 +00:00
Summary: Desktop client for the Matrix protocol
URL: https://github.com/Nheko-Reborn/%{name}
2020-06-03 15:23:53 +00:00
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
2018-02-02 13:35:59 +00:00
2022-03-10 10:37:27 +00:00
BuildRequires: cmake(MatrixClient) >= 0.7.0
2021-11-19 17:27:37 +00:00
BuildRequires: cmake(Olm) >= 3.2.6
2018-02-02 13:35:59 +00:00
BuildRequires: cmake(Qt5Concurrent)
2021-01-20 13:39:56 +00:00
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5DBus)
BuildRequires: cmake(Qt5Keychain)
2018-02-02 13:35:59 +00:00
BuildRequires: cmake(Qt5LinguistTools)
2021-01-20 13:39:56 +00:00
BuildRequires: cmake(Qt5Multimedia)
BuildRequires: cmake(Qt5Network)
BuildRequires: cmake(Qt5Qml)
2020-06-03 15:23:53 +00:00
BuildRequires: cmake(Qt5QuickCompiler)
BuildRequires: cmake(Qt5QuickControls2)
2021-01-20 13:39:56 +00:00
BuildRequires: cmake(Qt5QuickWidgets)
BuildRequires: cmake(Qt5Svg)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(mpark_variant)
BuildRequires: cmake(nlohmann_json) >= 3.2.0
BuildRequires: cmake(spdlog) >= 1.0.0
2022-03-10 10:37:27 +00:00
BuildRequires: pkgconfig(coeurl) >= 0.2.0
2021-01-20 13:39:56 +00:00
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)
2021-11-19 17:27:37 +00:00
BuildRequires: pkgconfig(libevent)
2021-01-20 13:39:56 +00:00
BuildRequires: pkgconfig(lmdb)
BuildRequires: pkgconfig(openssl)
2021-04-23 13:17:34 +00:00
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-ewmh)
2021-01-20 13:39:56 +00:00
BuildRequires: pkgconfig(zlib)
2018-02-02 13:35:59 +00:00
2022-03-10 10:37:27 +00:00
BuildRequires: asciidoc
2021-01-20 13:39:56 +00:00
BuildRequires: cmake
2018-02-02 13:35:59 +00:00
BuildRequires: desktop-file-utils
2021-01-20 13:39:56 +00:00
BuildRequires: gcc
BuildRequires: gcc-c++
2018-02-02 13:35:59 +00:00
BuildRequires: libappstream-glib
2021-04-23 13:17:34 +00:00
BuildRequires: lmdbxx-devel >= 1.0.0
2018-02-02 13:35:59 +00:00
BuildRequires: ninja-build
2018-04-03 14:01:35 +00:00
2018-02-02 13:35:59 +00:00
Requires: hicolor-icon-theme
Requires: qt-jdenticon%{?_isa}
2021-01-20 13:39:56 +00:00
Requires: qt5-qtquickcontrols2%{?_isa}
2018-02-02 13:35:59 +00:00
Recommends: google-noto-emoji-color-fonts
Recommends: google-noto-emoji-fonts
# https://github.com/Nheko-Reborn/nheko/issues/391
Provides: bundled(blurhash) = 0.0.1
Provides: bundled(cpp-httplib) = 0.5.12
Provides: bundled(qtsingleapplication-qt5) = 3.2.0-gitdc8042b
2018-02-02 13:35:59 +00:00
%description
The motivation behind the project is to provide a native desktop app
2018-02-16 15:27:26 +00:00
for Matrix that feels more like a mainstream chat app.
2018-02-02 13:35:59 +00:00
%prep
2018-06-03 13:58:01 +00:00
%autosetup -p1
2018-02-02 13:35:59 +00:00
%build
2020-07-21 09:26:09 +00:00
%cmake -G Ninja \
2018-07-26 15:26:50 +00:00
-DCMAKE_BUILD_TYPE=Release \
2021-11-19 17:27:37 +00:00
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \
2021-01-20 13:39:56 +00:00
-DCOMPILE_QML:BOOL=OFF \
2020-06-03 15:23:53 +00:00
-DHUNTER_ENABLED:BOOL=OFF \
2021-01-20 13:39:56 +00:00
-DCI_BUILD:BOOL=OFF \
-DASAN:BOOL=OFF \
-DQML_DEBUGGING:BOOL=OFF \
-DBUILD_DOCS:BOOL=OFF \
2021-11-19 17:27:37 +00:00
-DVOIP:BOOL=ON \
2022-03-10 10:37:27 +00:00
-DMAN:BOOL=ON \
2020-06-03 15:23:53 +00:00
-DUSE_BUNDLED_CMARK:BOOL=OFF \
2021-11-19 17:27:37 +00:00
-DUSE_BUNDLED_COEURL:BOOL=OFF \
-DUSE_BUNDLED_GTEST:BOOL=OFF \
-DUSE_BUNDLED_JSON:BOOL=OFF \
-DUSE_BUNDLED_LIBEVENT:BOOL=OFF \
2020-06-03 15:23:53 +00:00
-DUSE_BUNDLED_LMDB:BOOL=OFF \
-DUSE_BUNDLED_LMDBXX:BOOL=OFF \
2021-11-19 17:27:37 +00:00
-DUSE_BUNDLED_MTXCLIENT:BOOL=OFF \
-DUSE_BUNDLED_OLM:BOOL=OFF \
2020-06-03 15:23:53 +00:00
-DUSE_BUNDLED_OPENSSL:BOOL=OFF \
2021-11-19 17:27:37 +00:00
-DUSE_BUNDLED_QTKEYCHAIN:BOOL=OFF \
-DUSE_BUNDLED_SPDLOG:BOOL=OFF
2020-07-21 09:26:09 +00:00
%cmake_build
2018-02-02 13:35:59 +00:00
%install
2020-07-21 09:26:09 +00:00
%cmake_install
2018-02-02 13:35:59 +00:00
%check
2020-03-07 12:45:11 +00:00
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdata.xml
2018-02-02 13:35:59 +00:00
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
2018-07-26 15:26:50 +00:00
%files
2018-09-22 16:55:03 +00:00
%doc README.md CHANGELOG.md
2019-05-23 14:01:35 +00:00
%license COPYING
2018-02-02 13:35:59 +00:00
%{_bindir}/%{name}
2020-03-07 12:45:11 +00:00
%{_metainfodir}/%{name}.appdata.xml
2018-02-02 13:35:59 +00:00
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.*
2022-03-10 10:37:27 +00:00
%{_mandir}/man1/%{name}.1*
2018-02-02 13:35:59 +00:00
%changelog
2022-03-26 17:03:05 +00:00
* Sat Mar 26 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.9.3-1
- Updated to version 0.9.3.
2022-03-10 10:37:27 +00:00
* Thu Mar 10 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.9.2-1
- Updated to version 0.9.2.
2022-02-24 15:23:01 +00:00
* Thu Feb 24 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.9.1-3
- Rebuilt due to mtxclient update.
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2021-12-21 10:25:39 +00:00
* Tue Dec 21 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.9.1-1
- Updated to version 0.9.1.
* Fri Dec 03 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.9.0-2
- Added a strict dependency on qt-jdenticon.
2021-11-19 17:27:37 +00:00
* Fri Nov 19 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.9.0-1
- Updated to version 0.9.0.
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-07-05 12:22:07 +00:00
* Mon Jul 05 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.8.2-2
- Rebuilt due to fmt library update.
2021-04-23 13:17:34 +00:00
* Fri Apr 23 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.8.2-1
- Updated to version 0.8.2.
2021-02-08 17:30:16 +00:00
* Mon Feb 08 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.8.1-2
- Backported fonts scaling fixes.
2021-01-30 15:08:15 +00:00
* Sat Jan 30 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.8.1-1
- Updated to version 0.8.1.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2021-01-20 20:04:06 +00:00
* Wed Jan 20 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.8.0-2
- Enabled s390x builds again.
2021-01-20 13:39:56 +00:00
* Wed Jan 20 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 0.8.0-1
- Updated to version 0.8.0.
2020-11-23 15:34:32 +00:00
* Mon Nov 23 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 0.7.2-4
- Rebuilt due to Qt 5.15.2 update.
2020-10-17 20:04:40 +00:00
* Sat Oct 17 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 0.7.2-3
- Rebuilt due to Qt update.
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-06-14 09:57:10 +00:00
* Sun Jun 14 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 0.7.2-1
- Updated to version 0.7.2.
2020-06-03 15:23:53 +00:00
* Wed Jun 03 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 0.7.1-1
- Updated to version 0.7.1.
2020-05-31 09:18:09 +00:00
* Sun May 31 2020 Jonathan Wakely <jwakely@redhat.com> - 0.6.4-5
- Rebuilt for Boost 1.73
2020-03-07 12:45:11 +00:00
* Sat Mar 07 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.4-4
- Rebuit due to cmark update.
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-05-23 13:15:39 +00:00
* 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.
2019-01-31 13:20:56 +00:00
* Thu Jan 31 2019 Kalev Lember <klember@redhat.com> - 0.6.2-4
- Rebuilt for Boost 1.69
2019-01-05 15:07:23 +00:00
* 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.
2018-10-07 20:56:34 +00:00
* Sun Oct 07 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.2-1
- Updated to version 0.6.2.
2018-09-26 16:58:44 +00:00
* Wed Sep 26 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.1-2
2018-09-26 17:40:12 +00:00
- Fixed bogus changelog entry.
* Wed Sep 26 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.1-1
2018-09-26 16:58:44 +00:00
- Updated to version 0.6.1.
2018-09-22 16:29:08 +00:00
* Sat Sep 22 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.0-1
- Updated to version 0.6.0.
2018-09-02 13:49:30 +00:00
* Sun Sep 02 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.5.5-1
- Updated to version 0.5.5.
2018-08-22 12:43:51 +00:00
* 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.
2018-08-12 18:12:54 +00:00
* Sun Aug 12 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.5.3-1
- Updated to version 0.5.3.
2018-07-31 13:14:14 +00:00
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 0.5.2-2
- Rebuild with fixed binutils
2018-07-28 13:23:20 +00:00
* 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
2018-07-26 15:26:50 +00:00
* 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.
2018-06-03 13:43:33 +00:00
* Sun Jun 03 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.3-1
- Updated to version 0.4.3.
2018-05-25 13:57:33 +00:00
* Fri May 25 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.2-1
- Updated to version 0.4.2.
2018-05-24 12:31:38 +00:00
* Thu May 24 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.1-1
- Updated to version 0.4.1.
2018-05-04 10:21:34 +00:00
* Fri May 04 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.4.0-1
- Updated to version 0.4.0.
2018-04-13 16:23:17 +00:00
* Fri Apr 13 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.3.1-1
- Updated to version 0.3.1.
2018-04-03 14:01:35 +00:00
* Tue Apr 03 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.3.0-1
- Updated to version 0.3.0.
2018-03-14 14:49:18 +00:00
* Wed Mar 14 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.2.1-1
- Updated to version 0.2.1.
2018-03-05 10:26:26 +00:00
* Mon Mar 05 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.2.0-1
- Updated to version 0.2.0.
2018-02-02 13:35:59 +00:00
* 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.