/[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 1175488 - (show annotations) (download)
Thu Nov 2 09:36:05 2017 UTC (3 years, 2 months ago) by neoclust
File size: 2550 byte(s)
New version 0.12.0
1 %define rel 1
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) ensure that lxqt-applications.menu is present
41 Requires: lxqt-common >= 0.9.1-3
42 # (doktor5000) require qt5 plugins as otherwise menu and tasklist misbehave and display incorrectly
43 Requires: kwindowsystem
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/lxqt/panel.conf
67 %{_bindir}/%{name}
68 %{_datadir}/lxqt/%{name}
69 %{_includedir}/lxqt
70 %{_libdir}/%{name}
71 %{_datadir}/lxqt/%{name}/clock.desktop
72 %{_datadir}/lxqt/%{name}/colorpicker.desktop
73 %{_datadir}/lxqt/%{name}/cpuload.desktop
74 %{_datadir}/lxqt/%{name}/desktopswitch.desktop
75 #%%{_datadir}/lxqt/%%{name}/dom.desktop
76 %{_datadir}/lxqt/%{name}/mainmenu.desktop
77 %{_datadir}/lxqt/%{name}/mount.desktop
78 %{_datadir}/lxqt/%{name}/networkmonitor.desktop
79 %{_mandir}/man1/lxqt-panel.1.*
80

  ViewVC Help
Powered by ViewVC 1.1.28