/[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 816499 by tmb, Sun Feb 22 17:38:40 2015 UTC revision 818125 by doktor5000, Sun Mar 8 18:07:36 2015 UTC
# Line 1  Line 1 
 %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+
# Line 31  BuildRequires: kguiaddons-devel Line 29  BuildRequires: kguiaddons-devel
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
# Line 38  Panel for the LXQt desktop Line 38  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
# Line 47  Panel for the LXQt desktop Line 47  Panel for the LXQt desktop
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}

Legend:
Removed from v.816499  
changed lines
  Added in v.818125

  ViewVC Help
Powered by ViewVC 1.1.30