1 |
%define rel 1 |
2 |
|
3 |
Name: lxqt-panel |
4 |
Version: 0.15.1 |
5 |
Release: %mkrel %rel |
6 |
Summary: Panel for the LXQt desktop |
7 |
License: LGPLv2+ |
8 |
Group: Graphical desktop/KDE |
9 |
URL: https://lxqt.github.io/ |
10 |
Source0: https://github.com/lxqt/lxqt-panel/releases/download/%{version}/%{name}-%{version}.tar.xz |
11 |
# (doktor5000) add a custom panel configuration as default |
12 |
# (daviddavid) modified/improved as of 20200524 |
13 |
Source1: panel.conf |
14 |
|
15 |
BuildRequires: cmake |
16 |
BuildRequires: pkgconfig(lxqt) |
17 |
BuildRequires: pkgconfig(lxqt-globalkeys) >= 0.10.0 |
18 |
BuildRequires: pkgconfig(lxqt-globalkeys-ui) >= 0.10.0 |
19 |
BuildRequires: pkgconfig(sysstat-qt5) |
20 |
BuildRequires: pkgconfig(Qt5Concurrent) |
21 |
BuildRequires: pkgconfig(Qt5Help) |
22 |
BuildRequires: pkgconfig(libpulse) |
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: cmake(KF5GuiAddons) |
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: cmake(KF5Solid) >= 5.5.0 |
37 |
BuildRequires: cmake(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 |
Requires: lxqt-themes |
43 |
Requires: desktop-common-data |
44 |
|
45 |
Conflicts: lxqt-common < 0.12.0 |
46 |
Conflicts: lxqt-l10n < 0.13.0-4 |
47 |
|
48 |
%description |
49 |
Panel for the LXQt desktop. |
50 |
|
51 |
%prep |
52 |
%setup -q %{name}-%{version} |
53 |
%autopatch -p1 |
54 |
|
55 |
%build |
56 |
%cmake_qt5 |
57 |
%cmake_build |
58 |
|
59 |
%install |
60 |
%cmake_install |
61 |
|
62 |
# (doktor5000) add a custom panel configuration as default |
63 |
mkdir -p %{buildroot}%{_sysconfdir}/xdg/lxqt |
64 |
cp %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/lxqt/panel.conf |
65 |
|
66 |
%files |
67 |
%{_sysconfdir}/xdg/autostart/lxqt-panel.desktop |
68 |
%{_sysconfdir}/xdg/menus/lxqt-applications.menu |
69 |
%{_sysconfdir}/xdg/lxqt/panel.conf |
70 |
%{_bindir}/%{name} |
71 |
%{_datadir}/lxqt/%{name}/ |
72 |
%{_datadir}/lxqt/panel.conf |
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 |
%{_datadir}/lxqt/translations/lxqt-panel/ |