/[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 793185 - (show annotations) (download)
Sat Oct 25 14:16:20 2014 UTC (8 years, 1 month ago) by doktor5000
File size: 2284 byte(s)
- bump release (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 2
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: LGPLv2+
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 BuildRequires: pkgconfig(Qt5Help)
28 %else
29 BuildRequires: pkgconfig(lxqt)
30 BuildRequires: pkgconfig(lxqt-globalkeys)
31 BuildRequires: pkgconfig(lxqt-globalkeys-ui)
32 BuildRequires: pkgconfig(lxqtmount)
33 BuildRequires: qt4-devel
34 BuildRequires: libsysstat-devel
35 %endif
36 BuildRequires: pulseaudio-devel
37 BuildRequires: pkgconfig(icu-uc)
38 BuildRequires: pkgconfig(libstatgrab)
39 BuildRequires: pkgconfig(libmenu-cache)
40 BuildRequires: pkgconfig(xcomposite)
41 BuildRequires: lm_sensors-devel
42 BuildRequires: pkgconfig(xrender)
43 BuildRequires: pkgconfig(alsa)
44
45 Obsoletes: razorqt-panel < 0.5.3-1
46
47 %description
48 Panel for the LXQt desktop
49
50 %prep
51 %setup -q %{name}-%{version}
52 %apply_patches
53 %if "%{qt5}" == "1"
54 %cmake -DUSE_QT5=ON
55 %else
56 %cmake %_cmake_lib_suffix64
57 %endif
58
59 %build
60 %make -C build
61
62 %install
63 %makeinstall_std -C build
64
65 %files
66 %{_sysconfdir}/lxqt/panel.conf
67 %{_bindir}/%{name}
68 %{_datadir}/lxqt/%{name}
69 %if "%{qt5}" == "1"
70 %{_datadir}/lxqt-qt5/translations/
71 %endif
72 %{_includedir}/lxqt
73 %{_libdir}/%{name}
74 %{_datadir}/lxqt/%{name}/clock.desktop
75 %{_datadir}/lxqt/%{name}/colorpicker.desktop
76 %{_datadir}/lxqt/%{name}/cpuload.desktop
77 %{_datadir}/lxqt/%{name}/desktopswitch.desktop
78 %{_datadir}/lxqt/%{name}/dom.desktop
79 %{_datadir}/lxqt/%{name}/mainmenu.desktop
80 %{_datadir}/lxqt/%{name}/mount.desktop
81 %{_datadir}/lxqt/%{name}/networkmonitor.desktop
82 %{_datadir}/lxqt/%{name}/panelkbindicator.desktop
83 %{_datadir}/lxqt/%{name}/panelsysstat.desktop
84 %{_datadir}/lxqt/%{name}/panelvolume.desktop
85

  ViewVC Help
Powered by ViewVC 1.1.28