|
%define qt5 1 |
|
|
|
|
1 |
%ifarch i586 |
%ifarch i586 |
2 |
%define _cmake_lib_suffix64 -DLIB_SUFFIX="" |
%define _cmake_lib_suffix64 -DLIB_SUFFIX="" |
3 |
%endif |
%endif |
4 |
|
|
5 |
Name: lxqt-panel |
Name: lxqt-panel |
6 |
Version: 0.8.0 |
Version: 0.9.0 |
7 |
Release: %mkrel 3 |
Release: %mkrel 1 |
8 |
Source0: http://lxqt.org/downloads/lxqt/%{version}/%{name}-%{version}.tar.xz |
Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz |
|
Patch0: lxqt-panel-0.7.0-mga-customize-default-panel.patch |
|
|
# https://github.com/lxde/lxde-qt/issues/288 |
|
|
Patch2: lxqt-panel-0.8-mga-undefined-references.patch |
|
9 |
Summary: Panel for the LXQt desktop |
Summary: Panel for the LXQt desktop |
10 |
URL: http://lxqt.org/ |
URL: http://lxqt.org/ |
11 |
License: LGPLv2+ |
License: LGPLv2+ |
12 |
Group: Graphical desktop/KDE |
Group: Graphical desktop/KDE |
13 |
BuildRequires: cmake |
BuildRequires: cmake |
|
%if "%{qt5}" == "1" |
|
14 |
# https://github.com/lxde/lxqt-panel/issues/73 |
# https://github.com/lxde/lxqt-panel/issues/73 |
15 |
Patch1: lxqt-panel-0.8-mga-lxqtmount-includes.patch |
Patch1: lxqt-panel-0.9-mga-lxqtmount-includes.patch |
|
BuildRequires: pkgconfig(lxqt-qt5) |
|
|
BuildRequires: pkgconfig(lxqt-globalkeys-qt5) |
|
|
BuildRequires: pkgconfig(lxqt-globalkeys-ui-qt5) |
|
|
BuildRequires: pkgconfig(lxqtmount-qt5) |
|
|
BuildRequires: pkgconfig(sysstat-qt5) |
|
|
BuildRequires: pkgconfig(Qt5Help) |
|
|
%else |
|
16 |
BuildRequires: pkgconfig(lxqt) |
BuildRequires: pkgconfig(lxqt) |
17 |
BuildRequires: pkgconfig(lxqt-globalkeys) |
BuildRequires: pkgconfig(lxqt-globalkeys) |
18 |
BuildRequires: pkgconfig(lxqt-globalkeys-ui) |
BuildRequires: pkgconfig(lxqt-globalkeys-ui) |
19 |
BuildRequires: pkgconfig(lxqtmount) |
BuildRequires: pkgconfig(lxqtmount) |
20 |
BuildRequires: qt4-devel |
BuildRequires: pkgconfig(sysstat-qt5) |
21 |
BuildRequires: libsysstat-devel |
BuildRequires: pkgconfig(Qt5Help) |
|
%endif |
|
22 |
BuildRequires: pulseaudio-devel |
BuildRequires: pulseaudio-devel |
23 |
BuildRequires: pkgconfig(icu-uc) |
BuildRequires: pkgconfig(icu-uc) |
24 |
BuildRequires: pkgconfig(libstatgrab) |
BuildRequires: pkgconfig(libstatgrab) |
36 |
%prep |
%prep |
37 |
%setup -q %{name}-%{version} |
%setup -q %{name}-%{version} |
38 |
%apply_patches |
%apply_patches |
|
%if "%{qt5}" == "1" |
|
|
%cmake -DUSE_QT5=ON |
|
|
%else |
|
39 |
%cmake %_cmake_lib_suffix64 |
%cmake %_cmake_lib_suffix64 |
40 |
%endif |
|
41 |
|
|
42 |
%build |
%build |
43 |
%make -C build |
%make -C build |
49 |
%{_sysconfdir}/lxqt/panel.conf |
%{_sysconfdir}/lxqt/panel.conf |
50 |
%{_bindir}/%{name} |
%{_bindir}/%{name} |
51 |
%{_datadir}/lxqt/%{name} |
%{_datadir}/lxqt/%{name} |
52 |
%if "%{qt5}" == "1" |
%{_datadir}/lxqt/translations/ |
|
%{_datadir}/lxqt-qt5/translations/ |
|
|
%endif |
|
53 |
%{_includedir}/lxqt |
%{_includedir}/lxqt |
54 |
%{_libdir}/%{name} |
%{_libdir}/%{name} |
55 |
%{_datadir}/lxqt/%{name}/clock.desktop |
%{_datadir}/lxqt/%{name}/clock.desktop |
60 |
%{_datadir}/lxqt/%{name}/mainmenu.desktop |
%{_datadir}/lxqt/%{name}/mainmenu.desktop |
61 |
%{_datadir}/lxqt/%{name}/mount.desktop |
%{_datadir}/lxqt/%{name}/mount.desktop |
62 |
%{_datadir}/lxqt/%{name}/networkmonitor.desktop |
%{_datadir}/lxqt/%{name}/networkmonitor.desktop |
63 |
%{_datadir}/lxqt/%{name}/panelkbindicator.desktop |
|
|
%{_datadir}/lxqt/%{name}/panelsysstat.desktop |
|
|
%{_datadir}/lxqt/%{name}/panelvolume.desktop |
|
64 |
|
|