lxqt-panel/lxqt-panel.spec
Michael Vetter c7e4ab7115 - Update to 0.12.0:
* Set patch version
  * quicklaunch: Show popup menu aligned to clicked button
  * quicklaunch: Add "Desktop Action" support
  * l10n: Update Polish translation
  * Fix Danish spelling
  * plugin-tray: Fix dupe icon display error
  * Don't export github templates
  * Use worldclock by default instead of clock.
  * clock: Show deprecation message on startup/add
  * Fix clock text update
  * Avoid calling text() in MatchAction on a QAction == 0
  * volume: Do check for OSS availability in run-time
  * Update Polish .desktop entry
  * Remove space from end of "Show popup on mouse hover " string
  * Updated Lithuanian translation
  * Add/update Lithuanian translation
  * Update directorymenu_it.desktop
  * mainmenu: Don't hold the references for menu-cache
  * mainmenu: Fix menu-cache usage
  * set Qt::AA_UseHighDpiPixmaps to true
  * l10n: Updated Polish translation
  * Improved lxqt-panel version display
  * Added default CMAKE_BUILD_TYPE and LXQT_PANEL_PATCH_VERSION
  * plugins: Make widgets/buttons use whole space
  * LXQtPanelLayout: Honor item's expanding size policy
  * mainmenu: Install eventFiler for all (sub)menus
  * volume: Add all changes notifications (configurable)
  * Fixes a FTBFS in superbuild mode
  * Added merged autostart and menu to CMakeLists.txt

OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lxqt-panel?expand=0&rev=9
2017-10-23 11:17:01 +00:00

118 lines
3.7 KiB
RPMSpec

#
# 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.12.0
Release: 0
Summary: Desktop Panel for LXQt
License: GPL-2.0+
Group: System/GUI/LXQt
Url: http://www.lxqt.org
Source: https://github.com/lxde/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
Source1: https://github.com/lxde/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring
BuildRequires: cmake >= 3.0.2
BuildRequires: extra-cmake-modules
BuildRequires: lxqt-build-tools-devel >= 0.4.0
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: libsensors4-devel
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)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(dbusmenu-qt5)
BuildRequires: pkgconfig(libmenu-cache) >= 0.3.3
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libstatgrab)
BuildRequires: pkgconfig(lxqt) >= %{version}
BuildRequires: pkgconfig(lxqt-globalkeys) >= %{version}
BuildRequires: pkgconfig(lxqt-globalkeys-ui)
BuildRequires: pkgconfig(sysstat-qt5)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-damage)
BuildRequires: pkgconfig(xcb-util)
BuildRequires: pkgconfig(xcb-xkb)
BuildRequires: pkgconfig(xcomposite)
BuildRequires: pkgconfig(xdamage)
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: pkgconfig(xkbcommon-x11)
BuildRequires: pkgconfig(xrender)
Requires: lxmenu-data
Requires: menu-cache
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Brand new desktop Panel for LXQt
%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
%build
export CXXFLAGS="%{optflags} -I/usr/include/pkg/libxkbcommon"
%cmake -DPULL_TRANSLATIONS=No -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now"
make %{?_smp_mflags}
%install
%cmake_install
%fdupes -s %{buildroot}/%{_datadir}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS LICENSE
%{_bindir}/%{name}
%dir %{_sysconfdir}/xdg/
%dir %{_sysconfdir}/xdg/autostart/
%dir %{_sysconfdir}/xdg/menus/
%dir %{_sysconfdir}/xdg/lxqt/
%dir %{_datadir}/desktop-directories/
%dir %{_datadir}/lxqt
%config %{_sysconfdir}/xdg/lxqt/panel.conf
%config %{_sysconfdir}/xdg/menus/lxqt-applications.menu
%{_bindir}/%{name}
%{_libdir}/%{name}
%{_datadir}/lxqt/lxqt-panel
%{_mandir}/man1/lxqt-panel.1%{ext_man}
%{_sysconfdir}/xdg/autostart/lxqt-panel.desktop
%{_datadir}/desktop-directories/lxqt-leave.directory
%{_datadir}/desktop-directories/lxqt-settings.directory
%files devel
%defattr(-,root,root)
%{_includedir}/lxqt
%changelog