/[packages]/cauldron/lxqt-panel/current/SPECS/lxqt-panel.spec
ViewVC logotype

Contents of /cauldron/lxqt-panel/current/SPECS/lxqt-panel.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1176450 - (show annotations) (download)
Tue Nov 7 18:12:27 2017 UTC (6 years, 5 months ago) by neoclust
File size: 2377 byte(s)
Add new lxqt-themes deps
1 %define rel 3
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 Requires: lxqt-themes
43
44 Conflicts: lxqt-common < 0.12.0
45
46 %description
47 Panel for the LXQt desktop.
48
49 %prep
50 %setup -q %{name}-%{version}
51 %autopatch -p1
52
53 %build
54 %cmake_qt5 -DPULL_TRANSLATIONS=NO
55 %make
56
57 %install
58 %make_install -C build
59
60 # fix the default menu file, we want to use new upstream lxqt menu definition (cloned from lxmenu-data)
61 sed -i 's|menu_file=.*|menu_file=%{_sysconfdir}/xdg/menus/lxqt-applications.menu|g' %{buildroot}/%{_sysconfdir}/xdg/lxqt/panel.conf
62
63 # (doktor5000) add a custom panel configuration as default
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}/desktop-directories/lxqt-leave.directory
73 %{_datadir}/desktop-directories/lxqt-settings.directory
74 %{_includedir}/lxqt
75 %{_libdir}/%{name}
76 %{_mandir}/man1/lxqt-panel.1.*
77

  ViewVC Help
Powered by ViewVC 1.1.30