Dominique Leuenberger 2015-02-03 10:39:30 +00:00 committed by Git OBS Bridge
parent a45851b1ed
commit 329cbe07dd
2 changed files with 22 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 26 00:59:25 UTC 2015 - sfalken@opensuse.org
- Added conditionals to enable Fedora Builds
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 19 12:49:32 UTC 2014 - andrea@opensuse.org Wed Nov 19 12:49:32 UTC 2014 - andrea@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package lxqt-panel # spec file for package lxqt-panel
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -30,20 +30,21 @@ BuildRequires: cmake
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libsensors4-devel BuildRequires: libsensors4-devel
BuildRequires: pkgconfig(Qt5Xdg) >= 1.0.0
BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(icu-i18n) BuildRequires: pkgconfig(icu-i18n)
BuildRequires: pkgconfig(libmenu-cache) BuildRequires: pkgconfig(libmenu-cache)
BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libstatgrab) BuildRequires: pkgconfig(libstatgrab)
BuildRequires: pkgconfig(lxqt-qt5) >= 0.8.0
BuildRequires: pkgconfig(lxqt-globalkeys-qt5) BuildRequires: pkgconfig(lxqt-globalkeys-qt5)
BuildRequires: pkgconfig(lxqt-qt5) >= 0.8.0
BuildRequires: pkgconfig(lxqtmount-qt5) >= 0.8.0 BuildRequires: pkgconfig(lxqtmount-qt5) >= 0.8.0
BuildRequires: pkgconfig(Qt5Xdg) >= 1.0.0
BuildRequires: pkgconfig(sysstat-qt5) BuildRequires: pkgconfig(sysstat-qt5)
BuildRequires: pkgconfig(xcomposite) BuildRequires: pkgconfig(xcomposite)
BuildRequires: pkgconfig(xrender) BuildRequires: pkgconfig(xrender)
Requires: menu-cache BuildRequires: pkgconfig(Qt5UiTools)
Requires: lxmenu-data Requires: lxmenu-data
Requires: menu-cache
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -63,11 +64,19 @@ Lxqt panel development files and headers
%patch1 -p1 %patch1 -p1
%build %build
%cmake -DUSE_QT5=ON mkdir build
pushd build
cmake \
-DUSE_QT5=ON \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
..
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
popd
%install %install
%cmake_install pushd build
make DESTDIR=$RPM_BUILD_ROOT install
popd
%fdupes -s %{buildroot}/%{_datadir} %fdupes -s %{buildroot}/%{_datadir}
%post -p /sbin/ldconfig %post -p /sbin/ldconfig