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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 977405 - (hide annotations) (download)
Tue Feb 23 21:06:44 2016 UTC (8 years, 1 month ago) by doktor5000
File size: 2531 byte(s)
- update translations during build if necessary
- added Requires on kwindowsystem to fix panel/tasklist display issues
1 doktor5000 977405 %define rel 5
2 neoclust 899941
3 doktor5000 624942 Name: lxqt-panel
4 neoclust 899963 Version: 0.10.0
5 neoclust 899941 Release: %mkrel %rel
6 doktor5000 816434 Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz
7 doktor5000 818125 # (doktor5000) add a custom panel configuration as default
8     Source1: panel.conf
9 doktor5000 624942 Summary: Panel for the LXQt desktop
10     URL: http://lxqt.org/
11 doktor5000 789648 License: LGPLv2+
12 doktor5000 624942 Group: Graphical desktop/KDE
13     BuildRequires: cmake
14 doktor5000 783748 # https://github.com/lxde/lxqt-panel/issues/73
15 neoclust 900179 #Patch1: lxqt-panel-0.9-mga-lxqtmount-includes.patch
16 doktor5000 779828 BuildRequires: pkgconfig(lxqt)
17 neoclust 900179 BuildRequires: pkgconfig(lxqt-globalkeys) >= 0.10.0
18     BuildRequires: pkgconfig(lxqt-globalkeys-ui) >= 0.10.0
19 doktor5000 624942 BuildRequires: pkgconfig(lxqtmount)
20 doktor5000 816434 BuildRequires: pkgconfig(sysstat-qt5)
21     BuildRequires: pkgconfig(Qt5Help)
22 doktor5000 624942 BuildRequires: pulseaudio-devel
23     BuildRequires: pkgconfig(icu-uc)
24     BuildRequires: pkgconfig(libstatgrab)
25     BuildRequires: pkgconfig(libmenu-cache)
26 doktor5000 624959 BuildRequires: pkgconfig(xcomposite)
27 doktor5000 624960 BuildRequires: lm_sensors-devel
28 doktor5000 789596 BuildRequires: pkgconfig(xrender)
29     BuildRequires: pkgconfig(alsa)
30 tmb 816498 BuildRequires: kguiaddons-devel
31 tmb 816499 BuildRequires: pkgconfig(xcb-util)
32 neoclust 900179 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 doktor5000 779828
38 wally 675026 Obsoletes: razorqt-panel < 0.5.3-1
39 doktor5000 818125 # (doktor5000) ensure that lxqt-applications.menu is present
40     Requires: lxqt-common >= 0.9.1-3
41 doktor5000 977405 # (doktor5000) require qt5 plugins as otherwise menu and tasklist misbehave and display incorrectly
42     Requires: kwindowsystem
43 doktor5000 624942
44     %description
45     Panel for the LXQt desktop
46    
47     %prep
48 doktor5000 779828 %setup -q %{name}-%{version}
49 ovitters 877562 %autopatch -p1
50 doktor5000 624942
51 doktor5000 977405 %cmake_qt5 -DUPDATE_TRANSLATIONS=ON
52 doktor5000 816434
53 doktor5000 624942 %build
54     %make -C build
55    
56     %install
57     %makeinstall_std -C build
58    
59 doktor5000 818125 # fix the default menu file, we want to use new upstream lxqt menu definition (cloned from lxmenu-data)
60 neoclust 900179 sed -i 's|menu_file=.*|menu_file=%{_sysconfdir}/xdg/menus/lxqt-applications.menu|g' %{buildroot}/%{_sysconfdir}/xdg/lxqt/panel.conf
61 doktor5000 818125
62     # (doktor5000) add a custom panel configuration as default
63 neoclust 900179 cp %{SOURCE1} %{buildroot}/%{_sysconfdir}/xdg/lxqt/panel.conf
64 doktor5000 818125
65 doktor5000 783748 %files
66 neoclust 900179 %{_sysconfdir}/xdg/lxqt/panel.conf
67 doktor5000 624942 %{_bindir}/%{name}
68     %{_datadir}/lxqt/%{name}
69 doktor5000 816434 %{_datadir}/lxqt/translations/
70 doktor5000 624942 %{_includedir}/lxqt
71     %{_libdir}/%{name}
72     %{_datadir}/lxqt/%{name}/clock.desktop
73     %{_datadir}/lxqt/%{name}/colorpicker.desktop
74     %{_datadir}/lxqt/%{name}/cpuload.desktop
75     %{_datadir}/lxqt/%{name}/desktopswitch.desktop
76 neoclust 900179 #%{_datadir}/lxqt/%{name}/dom.desktop
77 doktor5000 624942 %{_datadir}/lxqt/%{name}/mainmenu.desktop
78     %{_datadir}/lxqt/%{name}/mount.desktop
79     %{_datadir}/lxqt/%{name}/networkmonitor.desktop
80    
81 doktor5000 816434

  ViewVC Help
Powered by ViewVC 1.1.30