/[packages]/cauldron/lxqt-panel/current/SPECS/lxqt-panel.spec
ViewVC logotype

Diff of /cauldron/lxqt-panel/current/SPECS/lxqt-panel.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 816433 by doktor5000, Tue Dec 16 23:27:35 2014 UTC revision 816434 by doktor5000, Sun Feb 22 14:53:12 2015 UTC
# Line 1  Line 1 
 %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)
# Line 50  Panel for the LXQt desktop Line 36  Panel for the LXQt desktop
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
# Line 66  Panel for the LXQt desktop Line 49  Panel for the LXQt desktop
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
# Line 79  Panel for the LXQt desktop Line 60  Panel for the LXQt 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    

Legend:
Removed from v.816433  
changed lines
  Added in v.816434

  ViewVC Help
Powered by ViewVC 1.1.28