kaidan/kaidan.spec

76 lines
2.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package kaidan
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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/
#
Name: kaidan
Version: 0.5.0
Release: 0
Summary: A XMPP client based on KDE Framework
License: GPL-3.0-or-later AND SUSE-GPL-3.0+-with-openssl-exception AND MIT AND CC-BY-SA-3.0 AND CC-BY-SA-4.0
Group: Productivity/Networking/Instant Messenger
URL: https://www.kaidan.im/
Source: https://download.kde.org/stable/%{name}/%{version}/%{name}-%{version}.tar.xz
BuildRequires: cmake >= 3.3
BuildRequires: extra-cmake-modules >= 5.40.0
BuildRequires: libqxmpp-devel >= 0.8.3
BuildRequires: cmake(KF5Kirigami2) >= 5.40.0
BuildRequires: cmake(KF5Notifications)
BuildRequires: cmake(QtConcurrent)
BuildRequires: cmake(Qt5Core) >= 5.12.0
BuildRequires: cmake(Qt5DBus)
BuildRequires: cmake(Qt5LinguistTools)
BuildRequires: cmake(Qt5Qml)
BuildRequires: cmake(Qt5Quick)
BuildRequires: cmake(Qt5QuickControls2)
BuildRequires: cmake(Qt5Multimedia)
BuildRequires: cmake(Qt5Positioning)
BuildRequires: cmake(Qt5Sql)
BuildRequires: cmake(Qt5Svg)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5Xml)
BuildRequires: cmake(ZXing)
Requires: kirigami2 >= 5.40.0
Requires: libqt5-qtquickcontrols2
%description
Kaidan is a simple Jabber/XMPP client providing a user-interface using
Kirigami and QtQuick. The back-end of Kaidan is entirely written in C++
using the qxmpp XMPP client library and Qt 5.
%prep
%setup -q
%build
%cmake_kf5 -d build '-DI18N:BOOL=ON'
%cmake_build
%install
%kf5_makeinstall -C build
%files
%license LICENSE
%doc README.md
%{_kf5_bindir}/%{name}
%{_kf5_iconsdir}/hicolor/*/apps/%{name}.*
%{_kf5_applicationsdir}/%{name}.desktop
%{_kf5_appstreamdir}/im.kaidan.kaidan.appdata.xml
%{_kf5_notifydir}/kaidan.notifyrc
%dir %{_kf5_sharedir}/%{name}
%{_kf5_sharedir}/%{name}/images
%changelog