2021-01-16 11:15:33 +01:00
|
|
|
#
|
2021-01-16 17:39:09 +01:00
|
|
|
# spec file for package neochat
|
2021-01-16 11:15:33 +01:00
|
|
|
#
|
2023-01-23 14:56:27 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2021-01-16 11:15:33 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2022-02-10 13:43:58 +01:00
|
|
|
%define _kf5_version 5.88.0
|
2023-02-15 22:38:21 +01:00
|
|
|
%bcond_without released
|
2021-01-16 11:15:33 +01:00
|
|
|
Name: neochat
|
2023-07-06 16:18:42 +02:00
|
|
|
Version: 23.04.3
|
2021-01-16 11:15:33 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: A chat client for Matrix, the decentralized communication protocol
|
2023-01-23 14:56:27 +01:00
|
|
|
License: GPL-3.0-or-later AND GPL-3.0-only AND BSD-2-Clause
|
2021-01-16 11:15:33 +01:00
|
|
|
Group: Productivity/Networking/Instant Messenger
|
2023-02-15 22:29:55 +01:00
|
|
|
URL: https://apps.kde.org/neochat/
|
2023-04-20 11:27:11 +02:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2023-02-15 22:38:21 +01:00
|
|
|
%if %{with released}
|
2023-04-20 11:27:11 +02:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2023-03-20 09:52:34 +01:00
|
|
|
Source2: applications.keyring
|
2022-02-10 13:43:58 +01:00
|
|
|
%endif
|
|
|
|
BuildRequires: cmake >= 3.16
|
2021-06-26 11:40:20 +02:00
|
|
|
BuildRequires: cmark
|
2021-01-16 11:15:33 +01:00
|
|
|
BuildRequires: extra-cmake-modules >= %{_kf5_version}
|
2021-01-16 17:39:09 +01:00
|
|
|
BuildRequires: fdupes
|
2022-08-05 08:07:34 +02:00
|
|
|
%if 0%{?suse_version} == 1500
|
|
|
|
BuildRequires: gcc10-c++
|
2023-02-15 22:38:21 +01:00
|
|
|
BuildRequires: gcc10-PIE
|
2022-08-05 08:07:34 +02:00
|
|
|
%endif
|
2021-01-16 11:15:33 +01:00
|
|
|
BuildRequires: kf5-filesystem
|
2021-01-16 17:39:09 +01:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: cmake(KF5Config) >= %{_kf5_version}
|
2023-03-20 09:52:34 +01:00
|
|
|
BuildRequires: cmake(KF5ConfigWidgets) >= %{_kf5_version}
|
2021-01-16 17:39:09 +01:00
|
|
|
BuildRequires: cmake(KF5CoreAddons) >= %{_kf5_version}
|
|
|
|
BuildRequires: cmake(KF5DBusAddons) >= %{_kf5_version}
|
2023-01-23 14:56:27 +01:00
|
|
|
BuildRequires: cmake(KF5DocTools) >= %{_kf5_version}
|
2021-01-16 17:39:09 +01:00
|
|
|
BuildRequires: cmake(KF5I18n) >= %{_kf5_version}
|
2023-01-23 14:56:27 +01:00
|
|
|
BuildRequires: cmake(KF5ItemModels) >= %{_kf5_version}
|
2022-02-10 13:43:58 +01:00
|
|
|
BuildRequires: cmake(KF5KIO) >= %{_kf5_version}
|
2021-01-16 17:39:09 +01:00
|
|
|
BuildRequires: cmake(KF5Kirigami2) >= %{_kf5_version}
|
2023-03-20 09:52:34 +01:00
|
|
|
BuildRequires: cmake(KF5KirigamiAddons) >= 0.7.2
|
2021-01-16 11:15:33 +01:00
|
|
|
BuildRequires: cmake(KF5Notifications) >= %{_kf5_version}
|
2021-06-01 17:09:25 +02:00
|
|
|
BuildRequires: cmake(KF5QQC2DesktopStyle) >= %{_kf5_version}
|
2022-02-10 13:43:58 +01:00
|
|
|
BuildRequires: cmake(KF5Sonnet) >= %{_kf5_version}
|
2023-03-20 09:52:34 +01:00
|
|
|
BuildRequires: cmake(KF5WindowSystem) >= %{_kf5_version}
|
2021-01-16 17:39:09 +01:00
|
|
|
BuildRequires: cmake(KQuickImageEditor) >= 0.1
|
2023-03-20 09:52:34 +01:00
|
|
|
BuildRequires: cmake(QCoro5Coro)
|
2023-01-23 14:56:27 +01:00
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.15.2
|
|
|
|
BuildRequires: cmake(Qt5Gui) >= 5.15.2
|
2021-01-16 17:39:09 +01:00
|
|
|
BuildRequires: cmake(Qt5Keychain)
|
2023-01-23 14:56:27 +01:00
|
|
|
BuildRequires: cmake(Qt5Multimedia) >= 5.15.2
|
|
|
|
BuildRequires: cmake(Qt5Quick) >= 5.15.2
|
|
|
|
BuildRequires: cmake(Qt5QuickControls2) >= 5.15.2
|
|
|
|
BuildRequires: cmake(Qt5Svg) >= 5.15.2
|
|
|
|
BuildRequires: cmake(Qt5Widgets) >= 5.15.2
|
2021-01-16 17:39:09 +01:00
|
|
|
BuildRequires: cmake(Quotient) >= 0.6.3
|
|
|
|
BuildRequires: pkgconfig(libcmark)
|
2023-01-23 14:56:27 +01:00
|
|
|
Requires: kirigami-addons
|
2023-03-20 09:52:34 +01:00
|
|
|
Requires: kirigami2
|
2021-01-16 18:27:16 +01:00
|
|
|
Requires: kitemmodels-imports
|
2021-01-17 20:06:21 +01:00
|
|
|
Requires: kquickimageeditor-imports
|
2022-02-10 13:43:58 +01:00
|
|
|
Requires: syntax-highlighting-imports
|
2021-01-16 11:15:33 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Neochat is a client for Matrix, the decentralized communication protocol for instant
|
|
|
|
messaging.
|
|
|
|
|
|
|
|
%lang_package
|
|
|
|
|
|
|
|
%prep
|
2021-01-16 17:39:09 +01:00
|
|
|
%autosetup -p1
|
2021-01-16 11:15:33 +01:00
|
|
|
|
|
|
|
%build
|
2022-08-05 08:07:34 +02:00
|
|
|
# c++-20 is required
|
|
|
|
%if 0%{?suse_version} == 1500
|
|
|
|
export CC=gcc-10 CXX=g++-10
|
|
|
|
%endif
|
|
|
|
|
2021-01-16 11:15:33 +01:00
|
|
|
%cmake_kf5 -d build
|
2022-08-05 08:07:34 +02:00
|
|
|
|
2021-01-16 11:15:33 +01:00
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2023-02-15 22:38:21 +01:00
|
|
|
|
2021-01-16 17:39:09 +01:00
|
|
|
%fdupes %{buildroot}
|
2021-01-16 11:15:33 +01:00
|
|
|
|
2023-03-20 09:52:34 +01:00
|
|
|
%find_lang %{name} --all-name --with-man
|
2021-01-16 11:15:33 +01:00
|
|
|
|
|
|
|
%files
|
2023-02-15 22:38:21 +01:00
|
|
|
%license LICENSES/*
|
2021-01-16 11:15:33 +01:00
|
|
|
%doc README*
|
2023-01-23 14:56:27 +01:00
|
|
|
%dir %{_kf5_sharedir}/krunner/
|
|
|
|
%dir %{_kf5_sharedir}/krunner/dbusplugins/
|
2023-02-15 22:38:21 +01:00
|
|
|
%{_kf5_applicationsdir}/org.kde.neochat.desktop
|
|
|
|
%{_kf5_appstreamdir}/org.kde.neochat.appdata.xml
|
|
|
|
%{_kf5_bindir}/neochat
|
2023-01-23 14:56:27 +01:00
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/org.kde.neochat.svg
|
|
|
|
%{_kf5_iconsdir}/hicolor/scalable/apps/org.kde.neochat.tray.svg
|
2023-03-20 09:52:34 +01:00
|
|
|
%{_kf5_mandir}/man1/neochat.1%{?ext_man}
|
2021-01-16 17:39:09 +01:00
|
|
|
%{_kf5_notifydir}/neochat.notifyrc
|
2023-02-15 22:38:21 +01:00
|
|
|
%{_kf5_sharedir}/krunner/dbusplugins/plasma-runner-neochat.desktop
|
2021-01-16 11:15:33 +01:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2023-02-15 22:29:55 +01:00
|
|
|
%changelog
|