File lxqt-common.spec of Package lxqt-common

# spec file for package lxqt-common
# Copyright (c) 2016 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

Name:           lxqt-common
Version:        @SERVICE@
Release:        0
Summary:        Common Data File
License:        GPL-2.0+ and LGPL-2.1+
Group:          System/GUI/LXQt
Source:         %{name}-%{version}.tar.xz
BuildRequires:  cmake >= 3.0.2
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  cmake(KF5WindowSystem)
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(Qt5UiTools)
BuildRequires:  pkgconfig(lxqt) >= %{version}
Requires:       oxygen-icon-theme
Requires(post): desktop-file-utils
Requires(pre):  desktop-file-utils
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
BuildArch:      noarch

Common data file required for running an LXQt session

%setup -q

make %{?_smp_mflags}

%fdupes %{buildroot}/%{_datadir}



%dir %{_sysconfdir}/xdg/lxqt
%dir %{_sysconfdir}/xdg/pcmanfm-qt
%dir %{_sysconfdir}/xdg/pcmanfm-qt/lxqt
%dir %{_sysconfdir}/xdg/menus
%dir %{_sysconfdir}/xdg/openbox
%dir %{_datadir}/kdm
%dir %{_datadir}/kdm/sessions
%config %{_sysconfdir}/xdg/lxqt/*.conf
%config %{_sysconfdir}/xdg/pcmanfm-qt/lxqt/*.conf
%config %{_sysconfdir}/xdg/menus/*.menu