2014-11-24 11:08:35 +01:00
|
|
|
#
|
|
|
|
# spec file for package lxqt-panel
|
|
|
|
#
|
2015-02-03 11:39:30 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-11-24 11:08:35 +01:00
|
|
|
#
|
|
|
|
# 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
|
2017-02-26 13:18:20 +01:00
|
|
|
Version: 0.11.1
|
2014-11-24 11:08:35 +01:00
|
|
|
Release: 0
|
2015-07-19 11:45:45 +02:00
|
|
|
Summary: Desktop Panel for LXQt
|
2014-11-24 11:08:35 +01:00
|
|
|
License: GPL-2.0+
|
2015-07-19 11:45:45 +02:00
|
|
|
Group: System/GUI/LXQt
|
2016-09-24 23:28:55 +02:00
|
|
|
Url: http://www.lxqt.org
|
2015-02-16 21:08:20 +01:00
|
|
|
Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz
|
2016-09-24 23:28:55 +02:00
|
|
|
Source1: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz.asc
|
|
|
|
Source2: %{name}.keyring
|
2017-02-26 13:18:20 +01:00
|
|
|
# PATCH-FIX-UPSTREAM 0001-lxqt_panel_override_explicit_keyword.patch https://github.com/lxde/lxqt/issues/1251 sfalken@opensuse.org -- Fixes compile failures
|
|
|
|
Patch0: 0001-lxqt_panel_override_explicit_keyword.patch
|
2015-11-13 23:35:55 +01:00
|
|
|
BuildRequires: cmake >= 3.0.2
|
2015-02-25 02:17:44 +01:00
|
|
|
BuildRequires: extra-cmake-modules
|
2017-02-26 13:18:20 +01:00
|
|
|
BuildRequires: lxqt-build-tools-devel
|
2014-11-24 11:08:35 +01:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libsensors4-devel
|
2016-09-24 23:28:55 +02:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: cmake(KF5Solid) >= 5.5.0
|
|
|
|
BuildRequires: cmake(KF5WindowSystem) >= 5.5.0
|
|
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
|
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
|
|
|
BuildRequires: pkgconfig(Qt5Xml)
|
2014-11-24 11:08:35 +01:00
|
|
|
BuildRequires: pkgconfig(alsa)
|
2015-11-13 23:35:55 +01:00
|
|
|
BuildRequires: pkgconfig(dbusmenu-qt5)
|
2016-09-24 23:28:55 +02:00
|
|
|
BuildRequires: pkgconfig(libmenu-cache) >= 0.3.3
|
2014-11-24 11:08:35 +01:00
|
|
|
BuildRequires: pkgconfig(libpulse)
|
|
|
|
BuildRequires: pkgconfig(libstatgrab)
|
2015-11-13 23:35:55 +01:00
|
|
|
BuildRequires: pkgconfig(lxqt) >= %{version}
|
2015-02-16 21:08:20 +01:00
|
|
|
BuildRequires: pkgconfig(lxqt-globalkeys) >= %{version}
|
2016-09-24 23:28:55 +02:00
|
|
|
BuildRequires: pkgconfig(lxqt-globalkeys-ui)
|
2014-11-24 11:08:35 +01:00
|
|
|
BuildRequires: pkgconfig(sysstat-qt5)
|
2016-09-24 23:28:55 +02:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xcb)
|
|
|
|
BuildRequires: pkgconfig(xcb-damage)
|
|
|
|
BuildRequires: pkgconfig(xcb-util)
|
|
|
|
BuildRequires: pkgconfig(xcb-xkb)
|
2014-11-24 11:08:35 +01:00
|
|
|
BuildRequires: pkgconfig(xcomposite)
|
2016-09-24 23:28:55 +02:00
|
|
|
BuildRequires: pkgconfig(xdamage)
|
|
|
|
BuildRequires: pkgconfig(xkbcommon)
|
2016-05-24 16:26:07 +02:00
|
|
|
BuildRequires: pkgconfig(xkbcommon-x11)
|
2015-02-03 11:39:30 +01:00
|
|
|
BuildRequires: pkgconfig(xrender)
|
2016-09-24 23:28:55 +02:00
|
|
|
Recommends: %{name}-lang
|
2015-12-23 14:45:14 +01:00
|
|
|
Requires: lxmenu-data
|
2014-11-24 11:08:35 +01:00
|
|
|
Requires: menu-cache
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2015-07-19 11:45:45 +02:00
|
|
|
Brand new desktop Panel for LXQt
|
2014-11-24 11:08:35 +01:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel files for lxqt-panel
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
2015-11-13 23:35:55 +01:00
|
|
|
LXQt panel development files and headers
|
2014-11-24 11:08:35 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2017-02-26 13:18:20 +01:00
|
|
|
%patch0 -p1
|
2014-11-24 11:08:35 +01:00
|
|
|
|
|
|
|
%build
|
2017-02-26 13:18:20 +01:00
|
|
|
export CXXFLAGS="%{optflags} -I/usr/include/pkg/libxkbcommon"
|
2016-09-24 23:28:55 +02:00
|
|
|
%cmake -DPULL_TRANSLATIONS=No -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now"
|
2015-11-13 23:35:55 +01:00
|
|
|
make %{?_smp_mflags}
|
2014-11-24 11:08:35 +01:00
|
|
|
|
|
|
|
%install
|
2015-02-25 02:17:44 +01:00
|
|
|
%cmake_install
|
2014-11-24 11:08:35 +01:00
|
|
|
%fdupes -s %{buildroot}/%{_datadir}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2015-11-13 23:35:55 +01:00
|
|
|
%doc AUTHORS LICENSE
|
2014-11-24 11:08:35 +01:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%dir %{_sysconfdir}/xdg/
|
|
|
|
%dir %{_sysconfdir}/xdg/lxqt
|
|
|
|
%config %{_sysconfdir}/xdg/lxqt/panel.conf
|
|
|
|
%{_libdir}/%{name}
|
2016-09-24 23:28:55 +02:00
|
|
|
%dir %{_datadir}/lxqt
|
2015-02-16 21:08:20 +01:00
|
|
|
%{_datadir}/lxqt/lxqt-panel
|
2016-09-24 23:28:55 +02:00
|
|
|
%{_mandir}/man1/lxqt-panel.1%{ext_man}
|
2014-11-24 11:08:35 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/lxqt
|
|
|
|
|
|
|
|
%changelog
|