1 |
%define rel 1 |
2 |
|
3 |
Name: lxqt-panel |
4 |
Version: 0.14.0 |
5 |
Release: %mkrel %rel |
6 |
Summary: Panel for the LXQt desktop |
7 |
License: LGPLv2+ |
8 |
Group: Graphical desktop/KDE |
9 |
URL: https://lxqt.org/ |
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 |
Source1: panel.conf |
13 |
|
14 |
BuildRequires: cmake |
15 |
BuildRequires: pkgconfig(lxqt) |
16 |
BuildRequires: pkgconfig(lxqt-globalkeys) >= 0.10.0 |
17 |
BuildRequires: pkgconfig(lxqt-globalkeys-ui) >= 0.10.0 |
18 |
BuildRequires: pkgconfig(lxqtmount) |
19 |
BuildRequires: pkgconfig(sysstat-qt5) |
20 |
BuildRequires: pkgconfig(Qt5Help) |
21 |
BuildRequires: pkgconfig(libpulse) |
22 |
BuildRequires: pkgconfig(icu-uc) |
23 |
BuildRequires: pkgconfig(libstatgrab) |
24 |
BuildRequires: pkgconfig(libmenu-cache) |
25 |
BuildRequires: pkgconfig(xcomposite) |
26 |
BuildRequires: lm_sensors-devel |
27 |
BuildRequires: pkgconfig(xrender) |
28 |
BuildRequires: pkgconfig(alsa) |
29 |
BuildRequires: cmake(KF5GuiAddons) |
30 |
BuildRequires: pkgconfig(xcb-util) |
31 |
BuildRequires: pkgconfig(xkbcommon) |
32 |
BuildRequires: pkgconfig(xkbcommon-x11) |
33 |
BuildRequires: pkgconfig(libmenu-cache) |
34 |
BuildRequires: pkgconfig(dbusmenu-qt5) |
35 |
BuildRequires: cmake(KF5Solid) >= 5.5.0 |
36 |
BuildRequires: cmake(lxqt-build-tools) |
37 |
|
38 |
Obsoletes: razorqt-panel < 0.5.3-1 |
39 |
# (doktor5000) require qt5 plugins as otherwise menu and tasklist misbehave and display incorrectly |
40 |
Requires: kwindowsystem |
41 |
Requires: lxqt-themes |
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 |
54 |
%make_build |
55 |
|
56 |
%install |
57 |
%make_install -C build |
58 |
|
59 |
# (doktor5000) add a custom panel configuration as default |
60 |
mkdir -p %{buildroot}%{_sysconfdir}/xdg/lxqt |
61 |
cp %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/lxqt/panel.conf |
62 |
|
63 |
%files |
64 |
%{_sysconfdir}/xdg/autostart/lxqt-panel.desktop |
65 |
%{_sysconfdir}/xdg/menus/lxqt-applications.menu |
66 |
%{_sysconfdir}/xdg/lxqt/panel.conf |
67 |
%{_bindir}/%{name} |
68 |
%{_datadir}/lxqt/%{name}/ |
69 |
%{_datadir}/lxqt/panel.conf |
70 |
%{_datadir}/desktop-directories/lxqt-leave.directory |
71 |
%{_datadir}/desktop-directories/lxqt-settings.directory |
72 |
%{_includedir}/lxqt |
73 |
%{_libdir}/%{name} |
74 |
%{_mandir}/man1/lxqt-panel.1.* |
75 |
%{_datadir}/lxqt/translations/lxqt-panel/ |