File lxqt-config.spec of Package lxqt-config
#
# spec file for package lxqt-config
#
# Copyright (c) 2024 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/
#
Name: lxqt-config
Version: @SERVICE@
Release: 0
Summary: Tools to configure LXQt and the underlying operating system
License: LGPL-2.1-or-later
Group: System/GUI/LXQt
URL: https://github.com/lxqt/lxqt-config
Source: %{name}-%{version}.tar.xz
BuildRequires: cmake >= 3.18.0
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: qt6-gui-private-devel
BuildRequires: cmake(KF6Screen)
BuildRequires: cmake(KF6WindowSystem)
BuildRequires: cmake(Qt6DBus)
BuildRequires: cmake(Qt6LinguistTools)
BuildRequires: cmake(Qt6Widgets)
BuildRequires: cmake(Qt6Xml)
BuildRequires: cmake(lxqt-menu-data)
BuildRequires: cmake(lxqt2-build-tools)
BuildRequires: pkgconfig(lxqt) >= 2.0.0
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-randr)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(xorg-libinput)
BuildRequires: pkgconfig(zlib)
Recommends: %{name}-lang = %{version}-%{release}
%description
Tools involved in the configuration of both LXQt and the underlying
operating system.
%lang_package
%prep
%autosetup
%build
%cmake_qt6
%{qt6_build}
%install
%{qt6_install}
%fdupes -s %{buildroot}%{_datadir}
%find_lang %{name} --with-qt --all-name
%ldconfig_scriptlets
%files
%doc AUTHORS CHANGELOG README.md
%dir %{_libdir}/%{name}
%dir %{_datadir}/lxqt
%dir %{_datadir}/lxqt/icons
%{_bindir}/%{name}
%{_bindir}/%{name}-appearance
%{_bindir}/%{name}-file-associations
%{_bindir}/%{name}-input
%{_bindir}/%{name}-monitor
%{_bindir}/%{name}-locale
%{_libdir}/%{name}/lib%{name}-cursor.so
%{_bindir}/%{name}-brightness
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/brightnesssettings.svg
%{_datadir}/lxqt/icons/monitor.svg
%{_mandir}/man?/%{name}*.?%{?ext_man}
%license LICENSE
%files lang -f %{name}.lang
%dir %{_datadir}/lxqt
%dir %{_datadir}/lxqt/translations
%dir %{_datadir}/lxqt/translations/%{name}
%dir %{_datadir}/lxqt/translations/%{name}-appearance
%dir %{_datadir}/lxqt/translations/%{name}-brightness
%dir %{_datadir}/lxqt/translations/%{name}-cursor
%dir %{_datadir}/lxqt/translations/%{name}-file-associations
%dir %{_datadir}/lxqt/translations/%{name}-input
%dir %{_datadir}/lxqt/translations/%{name}-locale
%dir %{_datadir}/lxqt/translations/%{name}-monitor
%changelog