/[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 1065847 - (show annotations) (download)
Tue Nov 8 13:28:36 2016 UTC (4 years, 2 months ago) by neoclust
File size: 2519 byte(s)
New version 0.11.0
1 %define rel 1
2
3 Name: lxqt-panel
4 Version: 0.11.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 # (doktor5000) require qt5 plugins as otherwise menu and tasklist misbehave and display incorrectly
42 Requires: kwindowsystem
43
44 %description
45 Panel for the LXQt desktop.
46
47 %prep
48 %setup -q %{name}-%{version}
49 %autopatch -p1
50
51 %build
52 %cmake_qt5 -DUPDATE_TRANSLATIONS=ON
53 %make
54
55 %install
56 %make_install -C build
57
58 # fix the default menu file, we want to use new upstream lxqt menu definition (cloned from lxmenu-data)
59 sed -i 's|menu_file=.*|menu_file=%{_sysconfdir}/xdg/menus/lxqt-applications.menu|g' %{buildroot}/%{_sysconfdir}/xdg/lxqt/panel.conf
60
61 # (doktor5000) add a custom panel configuration as default
62 cp %{SOURCE1} %{buildroot}/%{_sysconfdir}/xdg/lxqt/panel.conf
63
64 %files
65 %{_sysconfdir}/xdg/lxqt/panel.conf
66 %{_bindir}/%{name}
67 %{_datadir}/lxqt/%{name}
68 %{_datadir}/lxqt/translations/
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

  ViewVC Help
Powered by ViewVC 1.1.28