1 |
%define rel 1 |
2 |
|
3 |
Name: lxqt-panel |
4 |
Version: 0.10.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 |
|
38 |
Obsoletes: razorqt-panel < 0.5.3-1 |
39 |
# (doktor5000) ensure that lxqt-applications.menu is present |
40 |
Requires: lxqt-common >= 0.9.1-3 |
41 |
|
42 |
%description |
43 |
Panel for the LXQt desktop |
44 |
|
45 |
%prep |
46 |
%setup -q %{name}-%{version} |
47 |
%autopatch -p1 |
48 |
|
49 |
%cmake |
50 |
|
51 |
%build |
52 |
%make -C build |
53 |
|
54 |
%install |
55 |
%makeinstall_std -C build |
56 |
|
57 |
# fix the default menu file, we want to use new upstream lxqt menu definition (cloned from lxmenu-data) |
58 |
sed -i 's|menu_file=.*|menu_file=%{_sysconfdir}/xdg/menus/lxqt-applications.menu|g' %{buildroot}/%{_sysconfdir}/xdg/lxqt/panel.conf |
59 |
|
60 |
# (doktor5000) add a custom panel configuration as default |
61 |
cp %{SOURCE1} %{buildroot}/%{_sysconfdir}/xdg/lxqt/panel.conf |
62 |
|
63 |
%files |
64 |
%{_sysconfdir}/xdg/lxqt/panel.conf |
65 |
%{_bindir}/%{name} |
66 |
%{_datadir}/lxqt/%{name} |
67 |
%{_datadir}/lxqt/translations/ |
68 |
%{_includedir}/lxqt |
69 |
%{_libdir}/%{name} |
70 |
%{_datadir}/lxqt/%{name}/clock.desktop |
71 |
%{_datadir}/lxqt/%{name}/colorpicker.desktop |
72 |
%{_datadir}/lxqt/%{name}/cpuload.desktop |
73 |
%{_datadir}/lxqt/%{name}/desktopswitch.desktop |
74 |
#%{_datadir}/lxqt/%{name}/dom.desktop |
75 |
%{_datadir}/lxqt/%{name}/mainmenu.desktop |
76 |
%{_datadir}/lxqt/%{name}/mount.desktop |
77 |
%{_datadir}/lxqt/%{name}/networkmonitor.desktop |
78 |
|
79 |
|