1 |
%define rel 4 |
2 |
|
3 |
Name: lxqt-panel |
4 |
Version: 0.12.0 |
5 |
Release: %mkrel %rel |
6 |
Summary: Panel for the LXQt desktop |
7 |
License: LGPLv2+ |
8 |
Group: Graphical desktop/KDE |
9 |
URL: http://lxqt.org/ |
10 |
Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz |
11 |
# (doktor5000) add a custom panel configuration as default |
12 |
Source1: panel.conf |
13 |
|
14 |
BuildRequires: cmake |
15 |
# https://github.com/lxde/lxqt-panel/issues/73 |
16 |
#Patch1: lxqt-panel-0.9-mga-lxqtmount-includes.patch |
17 |
BuildRequires: pkgconfig(lxqt) |
18 |
BuildRequires: pkgconfig(lxqt-globalkeys) >= 0.10.0 |
19 |
BuildRequires: pkgconfig(lxqt-globalkeys-ui) >= 0.10.0 |
20 |
BuildRequires: pkgconfig(lxqtmount) |
21 |
BuildRequires: pkgconfig(sysstat-qt5) |
22 |
BuildRequires: pkgconfig(Qt5Help) |
23 |
BuildRequires: pulseaudio-devel |
24 |
BuildRequires: pkgconfig(icu-uc) |
25 |
BuildRequires: pkgconfig(libstatgrab) |
26 |
BuildRequires: pkgconfig(libmenu-cache) |
27 |
BuildRequires: pkgconfig(xcomposite) |
28 |
BuildRequires: lm_sensors-devel |
29 |
BuildRequires: pkgconfig(xrender) |
30 |
BuildRequires: pkgconfig(alsa) |
31 |
BuildRequires: kguiaddons-devel |
32 |
BuildRequires: pkgconfig(xcb-util) |
33 |
BuildRequires: pkgconfig(xkbcommon) |
34 |
BuildRequires: pkgconfig(xkbcommon-x11) |
35 |
BuildRequires: pkgconfig(libmenu-cache) |
36 |
BuildRequires: pkgconfig(dbusmenu-qt5) |
37 |
BuildRequires: solid-devel >= 5.5.0 |
38 |
BuildRequires: lxqt-build-tools |
39 |
|
40 |
Obsoletes: razorqt-panel < 0.5.3-1 |
41 |
# (doktor5000) require qt5 plugins as otherwise menu and tasklist misbehave and display incorrectly |
42 |
Requires: kwindowsystem |
43 |
Requires: lxqt-themes |
44 |
|
45 |
Conflicts: lxqt-common < 0.12.0 |
46 |
|
47 |
%description |
48 |
Panel for the LXQt desktop. |
49 |
|
50 |
%prep |
51 |
%setup -q %{name}-%{version} |
52 |
%autopatch -p1 |
53 |
|
54 |
%build |
55 |
%cmake_qt5 -DPULL_TRANSLATIONS=NO |
56 |
%make_build |
57 |
|
58 |
%install |
59 |
%make_install -C build |
60 |
|
61 |
# fix the default menu file, we want to use new upstream lxqt menu definition (cloned from lxmenu-data) |
62 |
sed -i 's|menu_file=.*|menu_file=%{_sysconfdir}/xdg/menus/lxqt-applications.menu|g' %{buildroot}/%{_sysconfdir}/xdg/lxqt/panel.conf |
63 |
|
64 |
# (doktor5000) add a custom panel configuration as default |
65 |
cp %{SOURCE1} %{buildroot}/%{_sysconfdir}/xdg/lxqt/panel.conf |
66 |
|
67 |
%files |
68 |
%{_sysconfdir}/xdg/autostart/lxqt-panel.desktop |
69 |
%{_sysconfdir}/xdg/menus/lxqt-applications.menu |
70 |
%{_sysconfdir}/xdg/lxqt/panel.conf |
71 |
%{_bindir}/%{name} |
72 |
%{_datadir}/lxqt/%{name}/ |
73 |
%{_datadir}/desktop-directories/lxqt-leave.directory |
74 |
%{_datadir}/desktop-directories/lxqt-settings.directory |
75 |
%{_includedir}/lxqt |
76 |
%{_libdir}/%{name} |
77 |
%{_mandir}/man1/lxqt-panel.1.* |
78 |
|