2018-02-02 13:35:59 +00:00
|
|
|
Summary: Desktop client for the Matrix protocol
|
|
|
|
Name: nheko
|
2018-09-02 13:49:30 +00:00
|
|
|
Version: 0.5.5
|
2018-08-22 12:43:51 +00:00
|
|
|
Release: 1%{?dist}
|
2018-02-02 13:35:59 +00:00
|
|
|
|
|
|
|
# Application and 3rd-party modules licensing:
|
2018-07-26 15:26:50 +00:00
|
|
|
# * S0 - GPLv3+ -- main source.
|
2018-02-02 13:35:59 +00:00
|
|
|
|
|
|
|
# Bundled resources licensing:
|
|
|
|
# * emojione-android fonts - CC by (v4.0) -- bundled resource;
|
|
|
|
# * OpenSans fonts - Apache (v2.0) -- bundled resource.
|
2018-07-26 15:26:50 +00:00
|
|
|
License: GPLv3+ and ASL 2.0 and CC-BY
|
2018-02-02 13:35:59 +00:00
|
|
|
URL: https://github.com/mujx/nheko
|
2018-03-05 10:26:26 +00:00
|
|
|
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2018-02-02 13:35:59 +00:00
|
|
|
|
2018-05-04 10:21:34 +00:00
|
|
|
BuildRequires: cmake(Qt5Svg)
|
2018-07-26 15:26:50 +00:00
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
BuildRequires: cmake(Qt5Core)
|
2018-02-02 13:35:59 +00:00
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
|
|
|
BuildRequires: cmake(Qt5Network)
|
|
|
|
BuildRequires: cmake(Qt5Multimedia)
|
|
|
|
BuildRequires: cmake(Qt5Concurrent)
|
|
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
|
|
|
|
2018-07-26 15:26:50 +00:00
|
|
|
BuildRequires: spdlog-devel >= 0.16
|
|
|
|
BuildRequires: json-devel >= 3.1.2
|
|
|
|
BuildRequires: mpark-variant-devel
|
2018-02-02 13:35:59 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: libappstream-glib
|
2018-07-26 15:26:50 +00:00
|
|
|
BuildRequires: mtxclient-devel
|
|
|
|
BuildRequires: libsodium-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: libolm-devel
|
|
|
|
BuildRequires: tweeny-devel
|
|
|
|
BuildRequires: lmdbxx-devel
|
2018-02-02 13:35:59 +00:00
|
|
|
BuildRequires: ninja-build
|
2018-07-26 15:26:50 +00:00
|
|
|
BuildRequires: boost-devel
|
2018-02-02 13:35:59 +00:00
|
|
|
BuildRequires: lmdb-devel
|
2018-07-26 15:26:50 +00:00
|
|
|
BuildRequires: zlib-devel
|
2018-04-03 14:01:35 +00:00
|
|
|
BuildRequires: gcc-c++
|
2018-02-02 13:35:59 +00:00
|
|
|
BuildRequires: cmake
|
2018-04-03 14:01:35 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
|
2018-02-02 13:35:59 +00:00
|
|
|
Requires: hicolor-icon-theme
|
|
|
|
|
|
|
|
%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-07-26 15:26:50 +00:00
|
|
|
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}/nlohmann)" >> CMakeLists.txt
|
|
|
|
echo "include_directories(%{_includedir}/mpark)" >> CMakeLists.txt
|
2018-02-02 13:35:59 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
pushd %{_target_platform}
|
2018-07-26 15:26:50 +00:00
|
|
|
%cmake -G Ninja \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DUSE_BUNDLED=OFF \
|
|
|
|
..
|
2018-02-02 13:35:59 +00:00
|
|
|
popd
|
|
|
|
%ninja_build -C %{_target_platform}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ninja_install -C %{_target_platform}
|
|
|
|
|
|
|
|
%check
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
2018-07-26 15:26:50 +00:00
|
|
|
%files
|
2018-02-02 13:35:59 +00:00
|
|
|
%doc README.md
|
|
|
|
%license LICENSE
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/metainfo/%{name}.appdata.xml
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.*
|
|
|
|
|
|
|
|
%changelog
|
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.
|
|
|
|
|
2018-08-15 12:13:47 +00:00
|
|
|
* 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.
|
|
|
|
|
2018-07-27 12:55:19 +00:00
|
|
|
* 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.
|
|
|
|
|
2018-07-13 11:36:40 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-12 12:34:53 +00:00
|
|
|
* 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.
|