1
0
lxqt-globalkeys/lxqt-globalkeys.spec

119 lines
3.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package lxqt-globalkeys
#
# Copyright (c) 2018 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-globalkeys
Version: 0.13.0
Release: 0
Summary: Global keyboard shortcuts registration
License: LGPL-2.1-or-later
Group: System/GUI/LXQt
URL: http://www.lxqt.org
- Update to 0.12.0: * Set patch version * Don't export github templates * fix deadlock - don't accept keyPress when processing dbus call (#56) * Added Lithuanian language * lxqt-config-globalkeys: set Qt::AA_UseHighDpiPixmaps to true * Added QCommandLineParser and basic cli interface to lxqt-config-globalkeys * Adeed LXQT_GLOBALKEYS_PATCH_VERSION * Fixes a FTBFS in superbuild mode (#51) * Added autostart and xdg to CMakeLists.txt * changed xdg/CmakeLists.txt * fixed xdg/CMakeLists.txt renamed config to xdg - merge preparation * Use const iterators * globalkeys: Open "empty" browser on activation * Updated *_da.desktop files and removed *_da_DK.desktop files * Update AUTHORS * Open https://duckduckgo.com instead of google.com as default * Update desktop entries and Replace fr_FR by fr * lxqt-rc.xml: Change default config install path * Settings Openbox updated. * Screenshot (Shift+Print), file manager (ctl+Alt+e) and web browser (Ctl+atl+i) key shortcuts added. * Default key shortcuts added to lxqt-globalkeysd. * Update Greek translation (el) Remove country variant from language code * CMake: Adds Runtime and Devel install COMPONENTs * Coding style changes * Adds double quotes to everything that may break * Updates the build system to use the Targets infrastructure * Drops hardcoded /etc/xdg paths * Updated german translation, replaced Qt4 by Qt in all xsession/translations * Updates translations infrastructure OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lxqt-globalkeys?expand=0&rev=5
2017-10-23 12:54:45 +02:00
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: fdupes
BuildRequires: gcc-c++
BuildRequires: lxqt-build-tools-devel >= 0.5.0
BuildRequires: pkgconfig
BuildRequires: cmake(KF5WindowSystem)
BuildRequires: pkgconfig(Qt5UiTools)
BuildRequires: pkgconfig(lxqt) >= %{version}
Requires(post): desktop-file-utils
Requires(pre): desktop-file-utils
Obsoletes: lxqt-globalkeys-qt5 < %{version}
Provides: lxqt-globalkeys-qt5 = %{version}
%description
Daemon and library for global keyboard shortcuts registration
%package devel
Summary: Development files for lxqt-globalkeys
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: liblxqt-globalkeys-ui0 = %{version}
Requires: liblxqt-globalkeys0 = %{version}
Requires: pkgconfig
%description devel
Development files for lxqt-globalkeys including headers and libraries
%package -n liblxqt-globalkeys0
Summary: Lxqt-globalkeys libraries
Group: System/Libraries
%description -n liblxqt-globalkeys0
lxqt-globalkeys main system library
%package -n liblxqt-globalkeys-ui0
Summary: UI lxqt-globalkeys libraries
Group: System/Libraries
Recommends: %{name}-lang
%description -n liblxqt-globalkeys-ui0
UI system libraries for lxqt-globalkeys
%prep
%setup -q
# Changing LXQt into X-LXQt in desktop files to be freedesktop compliant and shut rpmlint warnings
#find -name '*desktop.in*' -exec sed -ri 's/(LXQt;)/X-\1/' {} +
%build
%cmake -DPULL_TRANSLATIONS=No
make %{?_smp_mflags}
%install
%cmake_install
%fdupes -s %{buildroot}
%post -n liblxqt-globalkeys0 -p /sbin/ldconfig
%postun -n liblxqt-globalkeys0 -p /sbin/ldconfig
%post -n liblxqt-globalkeys-ui0 -p /sbin/ldconfig
%postun -n liblxqt-globalkeys-ui0 -p /sbin/ldconfig
%files
%license LICENSE
%doc AUTHORS
- Update to 0.12.0: * Set patch version * Don't export github templates * fix deadlock - don't accept keyPress when processing dbus call (#56) * Added Lithuanian language * lxqt-config-globalkeys: set Qt::AA_UseHighDpiPixmaps to true * Added QCommandLineParser and basic cli interface to lxqt-config-globalkeys * Adeed LXQT_GLOBALKEYS_PATCH_VERSION * Fixes a FTBFS in superbuild mode (#51) * Added autostart and xdg to CMakeLists.txt * changed xdg/CmakeLists.txt * fixed xdg/CMakeLists.txt renamed config to xdg - merge preparation * Use const iterators * globalkeys: Open "empty" browser on activation * Updated *_da.desktop files and removed *_da_DK.desktop files * Update AUTHORS * Open https://duckduckgo.com instead of google.com as default * Update desktop entries and Replace fr_FR by fr * lxqt-rc.xml: Change default config install path * Settings Openbox updated. * Screenshot (Shift+Print), file manager (ctl+Alt+e) and web browser (Ctl+atl+i) key shortcuts added. * Default key shortcuts added to lxqt-globalkeysd. * Update Greek translation (el) Remove country variant from language code * CMake: Adds Runtime and Devel install COMPONENTs * Coding style changes * Adds double quotes to everything that may break * Updates the build system to use the Targets infrastructure * Drops hardcoded /etc/xdg paths * Updated german translation, replaced Qt4 by Qt in all xsession/translations * Updates translations infrastructure OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lxqt-globalkeys?expand=0&rev=5
2017-10-23 12:54:45 +02:00
%dir %{_sysconfdir}/xdg/
%dir %{_sysconfdir}/xdg/autostart/
%dir %{_sysconfdir}/xdg/lxqt/
%{_bindir}/lxqt-globalkeysd
%{_bindir}/lxqt-config-globalkeyshortcuts
%{_datadir}/applications/lxqt-config-globalkeyshortcuts.desktop
- Update to 0.12.0: * Set patch version * Don't export github templates * fix deadlock - don't accept keyPress when processing dbus call (#56) * Added Lithuanian language * lxqt-config-globalkeys: set Qt::AA_UseHighDpiPixmaps to true * Added QCommandLineParser and basic cli interface to lxqt-config-globalkeys * Adeed LXQT_GLOBALKEYS_PATCH_VERSION * Fixes a FTBFS in superbuild mode (#51) * Added autostart and xdg to CMakeLists.txt * changed xdg/CmakeLists.txt * fixed xdg/CMakeLists.txt renamed config to xdg - merge preparation * Use const iterators * globalkeys: Open "empty" browser on activation * Updated *_da.desktop files and removed *_da_DK.desktop files * Update AUTHORS * Open https://duckduckgo.com instead of google.com as default * Update desktop entries and Replace fr_FR by fr * lxqt-rc.xml: Change default config install path * Settings Openbox updated. * Screenshot (Shift+Print), file manager (ctl+Alt+e) and web browser (Ctl+atl+i) key shortcuts added. * Default key shortcuts added to lxqt-globalkeysd. * Update Greek translation (el) Remove country variant from language code * CMake: Adds Runtime and Devel install COMPONENTs * Coding style changes * Adds double quotes to everything that may break * Updates the build system to use the Targets infrastructure * Drops hardcoded /etc/xdg paths * Updated german translation, replaced Qt4 by Qt in all xsession/translations * Updates translations infrastructure OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lxqt-globalkeys?expand=0&rev=5
2017-10-23 12:54:45 +02:00
%{_sysconfdir}/xdg/autostart/lxqt-globalkeyshortcuts.desktop
%config %{_sysconfdir}/xdg/lxqt/globalkeyshortcuts.conf
%files devel
%{_includedir}/%{name}
%{_includedir}/lxqt-globalkeys-ui
%{_libdir}/pkgconfig/*.pc
%{_libdir}/liblxqt-globalkeys.so
%{_libdir}/liblxqt-globalkeys-ui.so
%dir %{_datadir}/cmake/lxqt-globalkeys
%dir %{_datadir}/cmake/lxqt-globalkeys-ui
%{_datadir}/cmake/lxqt-globalkeys/*
%{_datadir}/cmake/lxqt-globalkeys-ui/*
%files -n liblxqt-globalkeys0
%{_libdir}/liblxqt-globalkeys.so.*
%files -n liblxqt-globalkeys-ui0
%{_libdir}/liblxqt-globalkeys-ui.so.*
%changelog