/[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 818125 - (show annotations) (download)
Sun Mar 8 18:07:36 2015 UTC (5 years, 10 months ago) by doktor5000
File size: 2133 byte(s)
- change default menu file to %{_sysconfdir}/xdg/menus/lxqt-applications.menu
  o fixes application menu display and structure
- add versioned Requires on lxqt-common to ensure .menu file is present
- added custom panel config as default panel
- delete default panel config, seems to not be read properly on first start
- drop unused -DLIB_SUFFIX cmake option (SILENT)
1 Name: lxqt-panel
2 Version: 0.9.0
3 Release: %mkrel 4
4 Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz
5 # (doktor5000) add a custom panel configuration as default
6 Source1: panel.conf
7 Summary: Panel for the LXQt desktop
8 URL: http://lxqt.org/
9 License: LGPLv2+
10 Group: Graphical desktop/KDE
11 BuildRequires: cmake
12 # https://github.com/lxde/lxqt-panel/issues/73
13 Patch1: lxqt-panel-0.9-mga-lxqtmount-includes.patch
14 BuildRequires: pkgconfig(lxqt)
15 BuildRequires: pkgconfig(lxqt-globalkeys)
16 BuildRequires: pkgconfig(lxqt-globalkeys-ui)
17 BuildRequires: pkgconfig(lxqtmount)
18 BuildRequires: pkgconfig(sysstat-qt5)
19 BuildRequires: pkgconfig(Qt5Help)
20 BuildRequires: pulseaudio-devel
21 BuildRequires: pkgconfig(icu-uc)
22 BuildRequires: pkgconfig(libstatgrab)
23 BuildRequires: pkgconfig(libmenu-cache)
24 BuildRequires: pkgconfig(xcomposite)
25 BuildRequires: lm_sensors-devel
26 BuildRequires: pkgconfig(xrender)
27 BuildRequires: pkgconfig(alsa)
28 BuildRequires: kguiaddons-devel
29 BuildRequires: pkgconfig(xcb-util)
30
31 Obsoletes: razorqt-panel < 0.5.3-1
32 # (doktor5000) ensure that lxqt-applications.menu is present
33 Requires: lxqt-common >= 0.9.1-3
34
35 %description
36 Panel for the LXQt desktop
37
38 %prep
39 %setup -q %{name}-%{version}
40 %apply_patches
41
42 %cmake
43
44 %build
45 %make -C build
46
47 %install
48 %makeinstall_std -C build
49
50 # fix the default menu file, we want to use new upstream lxqt menu definition (cloned from lxmenu-data)
51 sed -i 's|menu_file=.*|menu_file=%{_sysconfdir}/xdg/menus/lxqt-applications.menu|g' %{buildroot}/%{_sysconfdir}/lxqt/panel.conf
52
53 # (doktor5000) add a custom panel configuration as default
54 cp %{SOURCE1} %{buildroot}/%{_sysconfdir}/lxqt/panel.conf
55
56 %files
57 %{_sysconfdir}/lxqt/panel.conf
58 %{_bindir}/%{name}
59 %{_datadir}/lxqt/%{name}
60 %{_datadir}/lxqt/translations/
61 %{_includedir}/lxqt
62 %{_libdir}/%{name}
63 %{_datadir}/lxqt/%{name}/clock.desktop
64 %{_datadir}/lxqt/%{name}/colorpicker.desktop
65 %{_datadir}/lxqt/%{name}/cpuload.desktop
66 %{_datadir}/lxqt/%{name}/desktopswitch.desktop
67 %{_datadir}/lxqt/%{name}/dom.desktop
68 %{_datadir}/lxqt/%{name}/mainmenu.desktop
69 %{_datadir}/lxqt/%{name}/mount.desktop
70 %{_datadir}/lxqt/%{name}/networkmonitor.desktop
71
72

  ViewVC Help
Powered by ViewVC 1.1.28