/[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 1065847 - (hide annotations) (download)
Tue Nov 8 13:28:36 2016 UTC (4 years, 10 months ago) by neoclust
File size: 2519 byte(s)
New version 0.11.0
1 neoclust 1065847 %define rel 1
2 neoclust 899941
3 doktor5000 624942 Name: lxqt-panel
4 neoclust 1065847 Version: 0.11.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 daviddavid 1003424 Panel for the LXQt desktop.
46 doktor5000 624942
47     %prep
48 doktor5000 779828 %setup -q %{name}-%{version}
49 ovitters 877562 %autopatch -p1
50 doktor5000 624942
51 daviddavid 1003424 %build
52 doktor5000 977405 %cmake_qt5 -DUPDATE_TRANSLATIONS=ON
53 daviddavid 1003424 %make
54 doktor5000 816434
55 doktor5000 624942 %install
56 daviddavid 1003424 %make_install -C build
57 doktor5000 624942
58 doktor5000 818125 # fix the default menu file, we want to use new upstream lxqt menu definition (cloned from lxmenu-data)
59 neoclust 900179 sed -i 's|menu_file=.*|menu_file=%{_sysconfdir}/xdg/menus/lxqt-applications.menu|g' %{buildroot}/%{_sysconfdir}/xdg/lxqt/panel.conf
60 doktor5000 818125
61     # (doktor5000) add a custom panel configuration as default
62 neoclust 900179 cp %{SOURCE1} %{buildroot}/%{_sysconfdir}/xdg/lxqt/panel.conf
63 doktor5000 818125
64 doktor5000 783748 %files
65 neoclust 900179 %{_sysconfdir}/xdg/lxqt/panel.conf
66 doktor5000 624942 %{_bindir}/%{name}
67     %{_datadir}/lxqt/%{name}
68 doktor5000 816434 %{_datadir}/lxqt/translations/
69 doktor5000 624942 %{_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 daviddavid 1003424 #%%{_datadir}/lxqt/%%{name}/dom.desktop
76 doktor5000 624942 %{_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