File toggldesktop.spec of Package toggldesktop

# spec file for package toggldesktop
# 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

Name:           toggldesktop
Version:        7.4.130
Release:        0
Group:          Productivity/Other
Summary:        Toggl Desktop
License:        BSD-3-Clause
Source0:        %{name}-%{version}.tar.gz
Patch1:         jsoncpp.patch
BuildRequires:  unzip
BuildRequires:  openssl-devel
BuildRequires:  sqlite3-devel
BuildRequires:  readline-devel
BuildRequires:  libXScrnSaver-devel
BuildRequires:  poco-devel
BuildRequires:  libqt5-qtbase-devel
BuildRequires:  libQt5DBus-devel
BuildRequires:  libQt5Core-private-headers-devel
BuildRequires:  libQt5Gui-private-headers-devel
BuildRequires:  libQt5WebKit5-devel
BuildRequires:  libQt5WebKitWidgets-devel
BuildRequires:  libqt5-qtwebengine-devel
BuildRequires:  libqt5-qtx11extras-devel
BuildRequires:  libqt5-qtsvg-devel
BuildRequires:  libQt5Network-devel
BuildRequires:  lua53-devel
BuildRequires:  qoauth-qt5-devel
BuildRequires:  libXmu-devel
#BuildRequires:  libqxt-devel
BuildRequires:  jsoncpp-devel
#BuildRequires:  cmake(QxtCore-qt5)
#BuildRequires:  cmake(QxtWidgets-qt5)
BuildRequires:  update-desktop-files
BuildRequires:	desktop-file-utils
BuildRequires:	hicolor-icon-theme

Toggl Desktop client.




%ifarch x86_64
mv %{buildroot}/usr/lib %{buildroot}/usr/lib64

%suse_update_desktop_file -G "Time Tracking Software" com.toggl.TogglDesktop Office ProjectManagement

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%defattr(-, root, root)