neochat/neochat.spec
Eric Schirra 206d66a3fb Accepting request 953033 from home:Vogtinator:branches:KDE:Extra
- Update to 22.02:
  * Implement sharing with Purpose (export)
  * Implement adding labels for account
  * Give settings window a title
  * Reduce minimum height of the window
  * Fix build with qcoro 0.4
  * Fix issues with saveFileAs
  * Changed “Settings” to “Configure NeoChat” in menu
  * Improve toolbar on mobile
  * Improve emoji pane
  * Check if password can be changed
  * Fix image tooltip
  * Adapt list setting pages to new style
  * Allow using ESC to go back to room list
  * Port away from QNetworkConfigurationManager
  * Remove lag when starting user autocompletion
  * Set single window hint in desktop file
  * Make room address selectable
  * Display monochrome icon in tray
  * Fix QuickSwitcher activation
  * Fix Windows/mac build
  * Fix notifications on Android
  * Support raising when we receive a notification
  * Don’t render html in RoomDrawer heading
  * Add support for minimizing to system tray on startup
  * Use non blocking passord reading
  * Add a mobile oriented context menu for the room list
  * Fix loading room settings on mobile
  * Use icon from qrc for system tray icon
  * Adapt to libQuotient API change

OBS-URL: https://build.opensuse.org/request/show/953033
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/neochat?expand=0&rev=17
2022-02-10 12:43:58 +00:00

109 lines
3.6 KiB
RPMSpec

#
# spec file for package neochat
#
# Copyright (c) 2022 SUSE LLC
#
# 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/
#
%define _kf5_version 5.88.0
%bcond_without lang
Name: neochat
Version: 22.02
Release: 0
Summary: A chat client for Matrix, the decentralized communication protocol
License: BSD-2-Clause AND GPL-3.0-only AND GPL-3.0-or-later
Group: Productivity/Networking/Instant Messenger
URL: https://www.kde.org
Source0: https://download.kde.org/stable/plasma-mobile/%{version}/%{name}-%{version}.tar.xz
%if %{with lang}
Source1: https://download.kde.org/stable/plasma-mobile/%{version}/%{name}-%{version}.tar.xz.sig
Source2: %{name}.keyring
%endif
BuildRequires: cmake >= 3.16
BuildRequires: cmark
BuildRequires: extra-cmake-modules >= %{_kf5_version}
BuildRequires: fdupes
BuildRequires: kf5-filesystem
BuildRequires: pkgconfig
BuildRequires: cmake(KF5Config) >= %{_kf5_version}
BuildRequires: cmake(KF5ConfigWidgets) >= %{_kf5_version}
BuildRequires: cmake(KF5CoreAddons) >= %{_kf5_version}
BuildRequires: cmake(KF5DBusAddons) >= %{_kf5_version}
BuildRequires: cmake(KF5I18n) >= %{_kf5_version}
BuildRequires: cmake(KF5IconThemes) >= %{_kf5_version}
BuildRequires: cmake(KF5KIO) >= %{_kf5_version}
BuildRequires: cmake(KF5Kirigami2) >= %{_kf5_version}
BuildRequires: cmake(KF5Notifications) >= %{_kf5_version}
BuildRequires: cmake(KF5QQC2DesktopStyle) >= %{_kf5_version}
BuildRequires: cmake(KF5Sonnet) >= %{_kf5_version}
BuildRequires: cmake(KF5WindowSystem) >= %{_kf5_version}
BuildRequires: cmake(KQuickImageEditor) >= 0.1
BuildRequires: cmake(QCoro)
BuildRequires: cmake(Qt5Core) >= 5.15.0
BuildRequires: cmake(Qt5Gui) >= 5.15.0
BuildRequires: cmake(Qt5Keychain)
BuildRequires: cmake(Qt5Multimedia) >= 5.15.0
BuildRequires: cmake(Qt5Quick) >= 5.15.0
BuildRequires: cmake(Qt5QuickControls2) >= 5.15.0
BuildRequires: cmake(Qt5Svg) >= 5.15.0
BuildRequires: cmake(Qt5Widgets) >= 5.15.0
BuildRequires: cmake(Quotient) >= 0.6.3
BuildRequires: pkgconfig(libcmark)
Requires: kirigami2
Requires: kitemmodels-imports
Requires: kquickimageeditor-imports
Requires: libQt5Multimedia5
Requires: libqt5-qtgraphicaleffects
Requires: libqt5-qtquickcontrols
Requires: libqt5-qtquickcontrols2
Requires: syntax-highlighting-imports
%description
Neochat is a client for Matrix, the decentralized communication protocol for instant
messaging.
%lang_package
%prep
%autosetup -p1
%build
%cmake_kf5 -d build
%cmake_build
%install
%kf5_makeinstall -C build
%fdupes %{buildroot}
%if %{with lang}
%find_lang %{name} --all-name
%endif
%files
%license LICENSES/*
%doc README*
%{_kf5_bindir}/neochat
%{_kf5_applicationsdir}/org.kde.neochat.desktop
%dir %{_kf5_iconsdir}/hicolor/*
%dir %{_kf5_iconsdir}/hicolor/*/apps
%{_kf5_iconsdir}/hicolor/*/apps/org.kde.neochat*.svg
%{_kf5_appstreamdir}/org.kde.neochat.appdata.xml
%{_kf5_notifydir}/neochat.notifyrc
%if %{with lang}
%files lang -f %{name}.lang
%endif
%changelog