/[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 803665 - (hide annotations) (download)
Tue Dec 16 23:27:35 2014 UTC (9 years, 3 months ago) by doktor5000
File size: 2284 byte(s)
- rebuild for QT 5.4 breakage

1 doktor5000 779828 %define qt5 1
2    
3 doktor5000 783748 %ifarch i586
4     %define _cmake_lib_suffix64 -DLIB_SUFFIX=""
5     %endif
6    
7 doktor5000 624942 Name: lxqt-panel
8 doktor5000 779828 Version: 0.8.0
9 doktor5000 803665 Release: %mkrel 3
10 doktor5000 624942 Source0: http://lxqt.org/downloads/lxqt/%{version}/%{name}-%{version}.tar.xz
11 doktor5000 658715 Patch0: lxqt-panel-0.7.0-mga-customize-default-panel.patch
12 doktor5000 783748 # https://github.com/lxde/lxde-qt/issues/288
13     Patch2: lxqt-panel-0.8-mga-undefined-references.patch
14 doktor5000 624942 Summary: Panel for the LXQt desktop
15     URL: http://lxqt.org/
16 doktor5000 789648 License: LGPLv2+
17 doktor5000 624942 Group: Graphical desktop/KDE
18     BuildRequires: cmake
19 doktor5000 779828 %if "%{qt5}" == "1"
20 doktor5000 783748 # https://github.com/lxde/lxqt-panel/issues/73
21     Patch1: lxqt-panel-0.8-mga-lxqtmount-includes.patch
22 doktor5000 779828 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 doktor5000 789443 BuildRequires: pkgconfig(Qt5Help)
28 doktor5000 779828 %else
29     BuildRequires: pkgconfig(lxqt)
30 doktor5000 624942 BuildRequires: pkgconfig(lxqt-globalkeys)
31 doktor5000 624958 BuildRequires: pkgconfig(lxqt-globalkeys-ui)
32 doktor5000 624942 BuildRequires: pkgconfig(lxqtmount)
33 doktor5000 779828 BuildRequires: qt4-devel
34     BuildRequires: libsysstat-devel
35     %endif
36 doktor5000 624942 BuildRequires: pulseaudio-devel
37     BuildRequires: pkgconfig(icu-uc)
38     BuildRequires: pkgconfig(libstatgrab)
39     BuildRequires: pkgconfig(libmenu-cache)
40 doktor5000 624959 BuildRequires: pkgconfig(xcomposite)
41 doktor5000 624960 BuildRequires: lm_sensors-devel
42 doktor5000 789596 BuildRequires: pkgconfig(xrender)
43     BuildRequires: pkgconfig(alsa)
44 doktor5000 779828
45 wally 675026 Obsoletes: razorqt-panel < 0.5.3-1
46 doktor5000 624942
47     %description
48     Panel for the LXQt desktop
49    
50     %prep
51 doktor5000 779828 %setup -q %{name}-%{version}
52 doktor5000 658715 %apply_patches
53 doktor5000 779828 %if "%{qt5}" == "1"
54     %cmake -DUSE_QT5=ON
55     %else
56 doktor5000 783748 %cmake %_cmake_lib_suffix64
57 doktor5000 779828 %endif
58 doktor5000 624942
59     %build
60     %make -C build
61    
62     %install
63     %makeinstall_std -C build
64    
65 doktor5000 783748 %files
66 doktor5000 624942 %{_sysconfdir}/lxqt/panel.conf
67     %{_bindir}/%{name}
68     %{_datadir}/lxqt/%{name}
69 doktor5000 783748 %if "%{qt5}" == "1"
70     %{_datadir}/lxqt-qt5/translations/
71     %endif
72 doktor5000 624942 %{_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.30