# # spec file for package lxqt-panel # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: lxqt-panel Version: 0.8.0 Release: 0 Summary: Desktop Panel for LXDE-Qt License: GPL-2.0+ Group: System/GUI/LXDE-Qt Url: http://www.lxde.org Source0: %{name}-%{version}.tar.xz Patch0: %{name}-%{version}_fix_lxqt-mount_headers.patch Patch1: %{name}-%{version}_fix_undefined_reference.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libsensors4-devel BuildRequires: pkgconfig(Qt5Xdg) >= 1.0.0 BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(icu-i18n) BuildRequires: pkgconfig(libmenu-cache) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libstatgrab) BuildRequires: pkgconfig(lxqt-globalkeys-qt5) BuildRequires: pkgconfig(lxqt-qt5) >= 0.8.0 BuildRequires: pkgconfig(lxqtmount-qt5) >= 0.8.0 BuildRequires: pkgconfig(sysstat-qt5) BuildRequires: pkgconfig(xcomposite) BuildRequires: pkgconfig(xrender) BuildRequires: pkgconfig(Qt5UiTools) Requires: lxmenu-data Requires: menu-cache BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Brand new desktop Panel for LXDE-Qt %package devel Summary: Devel files for lxqt-panel Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description devel Lxqt panel development files and headers %prep %setup -q %patch0 -p1 %patch1 -p1 %build mkdir build pushd build cmake \ -DUSE_QT5=ON \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ .. %__make %{?_smp_mflags} popd %install pushd build make DESTDIR=$RPM_BUILD_ROOT install popd %fdupes -s %{buildroot}/%{_datadir} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING %{_bindir}/%{name} %dir %{_sysconfdir}/xdg/ %dir %{_sysconfdir}/xdg/lxqt %config %{_sysconfdir}/xdg/lxqt/panel.conf %{_libdir}/%{name} %{_datadir}/lxqt %{_datadir}/lxqt-qt5 %files devel %defattr(-,root,root) %{_includedir}/lxqt %changelog