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
|
|
|
#
|
2024-02-23 21:08:56 +01:00
|
|
|
# Copyright (c) 2024 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2024-02-23 21:08:56 +01:00
|
|
|
%define kf6_version 5.246.0
|
|
|
|
%define qt6_version 6.6.0
|
|
|
|
|
|
|
|
%bcond_without released
|
2021-01-16 11:15:33 +01:00
|
|
|
Name: neochat
|
2024-02-26 07:52:22 +01:00
|
|
|
Version: 24.02.0
|
2021-01-16 11:15:33 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: A chat client for Matrix, the decentralized communication protocol
|
2023-09-04 09:08:32 +02:00
|
|
|
License: BSD-2-Clause AND GPL-3.0-only AND GPL-3.0-or-later
|
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/
|
2024-02-26 07:52:22 +01: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}
|
2024-02-26 07:52:22 +01: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
|
2024-02-23 21:08:56 +01:00
|
|
|
# Needed for leap 15.5
|
2021-06-26 11:40:20 +02:00
|
|
|
BuildRequires: cmark
|
2024-02-23 21:08:56 +01:00
|
|
|
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
2021-01-16 17:39:09 +01:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: pkgconfig
|
2024-02-23 21:08:56 +01:00
|
|
|
BuildRequires: cmake(KF6ColorScheme) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6Config) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6DBusAddons) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6DocTools) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6ItemModels) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6Kirigami) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6KirigamiAddons) >= 0.7.2
|
|
|
|
BuildRequires: cmake(KF6Notifications) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6QQC2DesktopStyle) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6Sonnet) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6StatusNotifierItem) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KF6WindowSystem) >= %{kf6_version}
|
|
|
|
BuildRequires: cmake(KQuickImageEditor) >= 0.2
|
|
|
|
BuildRequires: cmake(QCoro6Core)
|
|
|
|
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Multimedia) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Quick) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6QuickControls2) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Svg) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6WebView) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
|
|
|
|
BuildRequires: cmake(QuotientQt6) >= 0.7.0
|
|
|
|
BuildRequires: pkgconfig(icu-uc) >= 61.0
|
2021-01-16 17:39:09 +01:00
|
|
|
BuildRequires: pkgconfig(libcmark)
|
2024-02-23 21:08:56 +01:00
|
|
|
# It can only build on the same platforms as Qt Webengine
|
|
|
|
ExclusiveArch: x86_64 aarch64 riscv64
|
|
|
|
Requires: kf6-kirigami-imports >= %{kf6_version}
|
|
|
|
Requires: kf6-kitemmodels-imports >= %{kf6_version}
|
|
|
|
Requires: kf6-kquickcharts >= %{kf6_version}
|
|
|
|
Requires: kf6-prison-imports >= %{kf6_version}
|
|
|
|
Requires: kf6-qqc2-desktop-style >= %{kf6_version}
|
|
|
|
Requires: kf6-syntax-highlighting-imports >= %{kf6_version}
|
|
|
|
Requires: kirigami-addons6 >= 0.7.2
|
|
|
|
Requires: qt6-location >= %{qt6_version}
|
|
|
|
Requires: qt6-positioning-imports >= %{qt6_version}
|
|
|
|
Requires: qt6qmlimport(org.kde.kquickimageeditor.1)
|
2021-01-16 11:15:33 +01:00
|
|
|
|
|
|
|
%description
|
2024-02-23 21:08:56 +01:00
|
|
|
Neochat is a client for Matrix, the decentralized communication protocol for
|
|
|
|
instant messaging.
|
2021-01-16 11:15:33 +01:00
|
|
|
|
|
|
|
%lang_package
|
|
|
|
|
|
|
|
%prep
|
2021-01-16 17:39:09 +01:00
|
|
|
%autosetup -p1
|
2021-01-16 11:15:33 +01:00
|
|
|
|
|
|
|
%build
|
2024-02-23 21:08:56 +01:00
|
|
|
%cmake_kf6
|
2022-08-05 08:07:34 +02:00
|
|
|
|
2024-02-23 21:08:56 +01:00
|
|
|
%kf6_build
|
2021-01-16 11:15:33 +01:00
|
|
|
|
|
|
|
%install
|
2024-02-23 21:08:56 +01:00
|
|
|
%kf6_install
|
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/*
|
2024-02-23 21:08:56 +01:00
|
|
|
%doc README.md
|
|
|
|
%{_kf6_applicationsdir}/org.kde.neochat.desktop
|
|
|
|
%{_kf6_appstreamdir}/org.kde.neochat.appdata.xml
|
|
|
|
%{_kf6_bindir}/neochat
|
|
|
|
%{_kf6_debugdir}/neochat.categories
|
|
|
|
%{_kf6_iconsdir}/hicolor/*/apps/org.kde.neochat.svg
|
|
|
|
%{_kf6_iconsdir}/hicolor/scalable/apps/org.kde.neochat.tray.svg
|
|
|
|
%{_kf6_mandir}/man1/neochat.1%{?ext_man}
|
|
|
|
%{_kf6_notificationsdir}/neochat.notifyrc
|
|
|
|
%{_kf6_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
|