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