/[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 783748 - (show annotations) (download)
Sat Oct 18 09:53:14 2014 UTC (6 years, 3 months ago) by doktor5000
File size: 2223 byte(s)
- added BuildRequires on pkgconfig(alsa)
- added patch to fix lxqt-mount includes
- added patch to fix undefined references
- try to explicitly set DLIB_SUFFIX to prevent guessing (SILENT)
1 %define qt5 1
2
3 %ifarch i586
4 %define _cmake_lib_suffix64 -DLIB_SUFFIX=""
5 %endif
6
7 Name: lxqt-panel
8 Version: 0.8.0
9 Release: %mkrel 1
10 Source0: http://lxqt.org/downloads/lxqt/%{version}/%{name}-%{version}.tar.xz
11 Patch0: lxqt-panel-0.7.0-mga-customize-default-panel.patch
12 # https://github.com/lxde/lxde-qt/issues/288
13 Patch2: lxqt-panel-0.8-mga-undefined-references.patch
14 Summary: Panel for the LXQt desktop
15 URL: http://lxqt.org/
16 License: GPL
17 Group: Graphical desktop/KDE
18 BuildRequires: cmake
19 %if "%{qt5}" == "1"
20 # https://github.com/lxde/lxqt-panel/issues/73
21 Patch1: lxqt-panel-0.8-mga-lxqtmount-includes.patch
22 BuildRequires: pkgconfig(lxqt-qt5)
23 BuildRequires: pkgconfig(lxqt-globalkeys-qt5)
24 BuildRequires: pkgconfig(lxqt-globalkeys-ui-qt5)
25 BuildRequires: pkgconfig(lxqtmount-qt5)
26 BuildRequires: pkgconfig(sysstat-qt5)
27 %else
28 BuildRequires: pkgconfig(lxqt)
29 BuildRequires: pkgconfig(lxqt-globalkeys)
30 BuildRequires: pkgconfig(lxqt-globalkeys-ui)
31 BuildRequires: pkgconfig(lxqtmount)
32 BuildRequires: qt4-devel
33 BuildRequires: libsysstat-devel
34 %endif
35 BuildRequires: pulseaudio-devel
36 BuildRequires: pkgconfig(icu-uc)
37 BuildRequires: pkgconfig(libstatgrab)
38 BuildRequires: pkgconfig(libmenu-cache)
39 BuildRequires: pkgconfig(xcomposite)
40 BuildRequires: lm_sensors-devel
41
42 Obsoletes: razorqt-panel < 0.5.3-1
43
44 %description
45 Panel for the LXQt desktop
46
47 %prep
48 %setup -q %{name}-%{version}
49 %apply_patches
50 %if "%{qt5}" == "1"
51 #%cmake -DUSE_QT5=ON %_cmake_lib_suffix64
52 %cmake -DUSE_QT5=ON
53 %else
54 %cmake %_cmake_lib_suffix64
55 %endif
56
57 %build
58 %make -C build
59
60 %install
61 %makeinstall_std -C build
62
63 %files
64 %{_sysconfdir}/lxqt/panel.conf
65 %{_bindir}/%{name}
66 %{_datadir}/lxqt/%{name}
67 %if "%{qt5}" == "1"
68 %{_datadir}/lxqt-qt5/translations/
69 %endif
70 %{_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 %{_datadir}/lxqt/%{name}/dom.desktop
77 %{_datadir}/lxqt/%{name}/mainmenu.desktop
78 %{_datadir}/lxqt/%{name}/mount.desktop
79 %{_datadir}/lxqt/%{name}/networkmonitor.desktop
80 %{_datadir}/lxqt/%{name}/panelkbindicator.desktop
81 %{_datadir}/lxqt/%{name}/panelsysstat.desktop
82 %{_datadir}/lxqt/%{name}/panelvolume.desktop
83

  ViewVC Help
Powered by ViewVC 1.1.28