|
%ifarch i586 |
|
|
%define _cmake_lib_suffix64 -DLIB_SUFFIX="" |
|
|
%endif |
|
|
|
|
1 |
Name: lxqt-panel |
Name: lxqt-panel |
2 |
Version: 0.9.0 |
Version: 0.9.0 |
3 |
Release: %mkrel 3 |
Release: %mkrel 4 |
4 |
Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz |
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 |
Summary: Panel for the LXQt desktop |
8 |
URL: http://lxqt.org/ |
URL: http://lxqt.org/ |
9 |
License: LGPLv2+ |
License: LGPLv2+ |
29 |
BuildRequires: pkgconfig(xcb-util) |
BuildRequires: pkgconfig(xcb-util) |
30 |
|
|
31 |
Obsoletes: razorqt-panel < 0.5.3-1 |
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 |
%description |
36 |
Panel for the LXQt desktop |
Panel for the LXQt desktop |
38 |
%prep |
%prep |
39 |
%setup -q %{name}-%{version} |
%setup -q %{name}-%{version} |
40 |
%apply_patches |
%apply_patches |
|
%cmake %_cmake_lib_suffix64 |
|
41 |
|
|
42 |
|
%cmake |
43 |
|
|
44 |
%build |
%build |
45 |
%make -C build |
%make -C build |
47 |
%install |
%install |
48 |
%makeinstall_std -C build |
%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 |
%files |
57 |
%{_sysconfdir}/lxqt/panel.conf |
%{_sysconfdir}/lxqt/panel.conf |
58 |
%{_bindir}/%{name} |
%{_bindir}/%{name} |