File ruqola.spec of Package ruqola

#
# spec file for package ruqola
#
# Copyright (c) 2018 SUSE LINUX Products 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 http://bugs.opensuse.org/
#


Name:           ruqola
Version:        1.0.0
Release:        0
License:        GPL v2, v3 or any later version approved by the KDE e.V.
Summary:        Rocket.chat Client
Url:            https://download.kde.org/unstable/ruqola
Group:          Productivity/Networking/Instant Messenger
Source:         ruqola-%{version}.tar.xz
Requires:       kirigami2
Requires:       libqt5-qtquickcontrols2
BuildRequires:  kf5-filesystem
BuildRequires:  gcc-c++
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(Qt5Qml)
BuildRequires:  pkgconfig(Qt5Quick)
BuildRequires:  pkgconfig(Qt5WebSockets)
BuildRequires:  pkgconfig(Qt5Network)
BuildRequires:  pkgconfig(Qt5NetworkAuth)
BuildRequires:  pkgconfig(Qt5Test)
BuildRequires:  cmake(KF5CoreAddons)
BuildRequires:  cmake(KF5I18n)
BuildRequires:  cmake(KF5Crash)
BuildRequires:  cmake(KF5KIO)
BuildRequires:  cmake(KF5Notifications)
BuildRequires:  cmake(KF5SyntaxHighlighting)
BuildRequires:  cmake(KF5Kirigami2)
BuildRequires:  cmake(KF5DocTools)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
A Kirigami based client for Rocket.chat

Authors:
--------
     Laurent Montel <montel@kde.org>

%prep
%setup -q

%build
  %cmake_kf5 -d build
  %make_jobs

%install
  %kf5_makeinstall -C build
  %suse_update_desktop_file org.kde.ruqola Network InstantMessaging

%files
%{_bindir}/ruqola
%{_libdir}/libruqolacore.so*
%dir %{_kf5_plugindir}/ruqolaplugins
%{_kf5_plugindir}/ruqolaplugins/ruqola_passwordauthenticationplugin.so
%{_kf5_applicationsdir}/org.kde.ruqola.desktop
%config %{_kf5_sysconfdir}/xdg/ruqola.categories
%dir %{_kf5_iconsdir}/hicolor/*/
%dir %{_kf5_iconsdir}/hicolor/*/*/
%{_kf5_iconsdir}/hicolor/*/*/*.*
%dir %{_datadir}/doc/HTML/*/ruqola
%doc %{_datadir}/doc/HTML/*/ruqola/*
%{_datadir}/metainfo/org.kde.ruqola.appdata.xml

%changelog
openSUSE Build Service is sponsored by