%define rel 1 Name: lxqt-panel Version: 0.10.0 Release: %mkrel %rel Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz # (doktor5000) add a custom panel configuration as default Source1: panel.conf Summary: Panel for the LXQt desktop URL: http://lxqt.org/ License: LGPLv2+ Group: Graphical desktop/KDE BuildRequires: cmake # https://github.com/lxde/lxqt-panel/issues/73 Patch1: lxqt-panel-0.9-mga-lxqtmount-includes.patch BuildRequires: pkgconfig(lxqt) BuildRequires: pkgconfig(lxqt-globalkeys) BuildRequires: pkgconfig(lxqt-globalkeys-ui) BuildRequires: pkgconfig(lxqtmount) BuildRequires: pkgconfig(sysstat-qt5) BuildRequires: pkgconfig(Qt5Help) BuildRequires: pulseaudio-devel BuildRequires: pkgconfig(icu-uc) BuildRequires: pkgconfig(libstatgrab) BuildRequires: pkgconfig(libmenu-cache) BuildRequires: pkgconfig(xcomposite) BuildRequires: lm_sensors-devel BuildRequires: pkgconfig(xrender) BuildRequires: pkgconfig(alsa) BuildRequires: kguiaddons-devel BuildRequires: pkgconfig(xcb-util) Obsoletes: razorqt-panel < 0.5.3-1 # (doktor5000) ensure that lxqt-applications.menu is present Requires: lxqt-common >= 0.9.1-3 %description Panel for the LXQt desktop %prep %setup -q %{name}-%{version} %autopatch -p1 %cmake %build %make -C build %install %makeinstall_std -C build # fix the default menu file, we want to use new upstream lxqt menu definition (cloned from lxmenu-data) sed -i 's|menu_file=.*|menu_file=%{_sysconfdir}/xdg/menus/lxqt-applications.menu|g' %{buildroot}/%{_sysconfdir}/lxqt/panel.conf # (doktor5000) add a custom panel configuration as default cp %{SOURCE1} %{buildroot}/%{_sysconfdir}/lxqt/panel.conf %files %{_sysconfdir}/lxqt/panel.conf %{_bindir}/%{name} %{_datadir}/lxqt/%{name} %{_datadir}/lxqt/translations/ %{_includedir}/lxqt %{_libdir}/%{name} %{_datadir}/lxqt/%{name}/clock.desktop %{_datadir}/lxqt/%{name}/colorpicker.desktop %{_datadir}/lxqt/%{name}/cpuload.desktop %{_datadir}/lxqt/%{name}/desktopswitch.desktop %{_datadir}/lxqt/%{name}/dom.desktop %{_datadir}/lxqt/%{name}/mainmenu.desktop %{_datadir}/lxqt/%{name}/mount.desktop %{_datadir}/lxqt/%{name}/networkmonitor.desktop