Accepting request 1173404 from home:AndnoVember:branches:X11:LXQt
- Update to 2.0.0: * Ported to Qt6. OBS-URL: https://build.opensuse.org/request/show/1173404 OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lxqt-powermanagement?expand=0&rev=39
This commit is contained in:
parent
2b39e386f6
commit
27aa7db962
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a0d4e3c429a138453606d3067d189e0d163ff61ceaa8239100b2997b2e0b532d
|
||||
size 93280
|
@ -1,17 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmVHgkwVHHRzdWphbjIw
|
||||
MDBAZ21haWwuY29tAAoJEL55MAetIt9+xJEQAM4psBXIDIhL9FnVY/B7y4YHwigL
|
||||
5PbbUoyw9eMCfuqWi8oaoE4cSp7prP8WPL84DmJ7iYJpsZmh+iSrHIlyDC1ktDDp
|
||||
CSflCu2AflONVtFiKC7SWP3plNktM7zfcyv1PrqYQeDeqGaeuV7nQZsTBEHjmYDp
|
||||
W+zEiOVMd8TscUDZnPDGs46ZGHj3q254ASU5FTx6XMQDoem53uETVKNjc82TMyFJ
|
||||
CuHytwrLxKUmeUA19KqhG158z+uahpPZXRldhBBOrJWYle9petzL+ozG8j2Bd2Rv
|
||||
Tbhy9TQ0BA8I+Bj0nVHa2sEvaZK1EUDN46pD8nZRQ7IdyFGKw4GA3qkk6H66wg00
|
||||
thoSkJoGhQPytMiKnkO5GSqiYM4UEBA1JdZ13nmS6dkYHGDTKnsSLmm4txHMi33y
|
||||
v2qsTd5ff8EOB2mJmZalEMxs5KZkJ9OVV+MLGOWEG8fbabLLHfRx6dlDMlF2sZqb
|
||||
z4yJJAxaYwcX520S2FA4bBLGOlcZH4xR4Tq7gEiE7iPpjZt++06hDTtaaIxWhVAi
|
||||
yWmRTSPeQSed4eDE2ALcf2DKrQdp0q7MYAlEuIX9w3wHIXPgUtqwhHBGo3Jm1rLv
|
||||
Qg/IyvTe8QOb2vc7dHeBXtnt5DxUDWY+Zx405T+d/71iPJtrQRFSdyqIt3aOfO9v
|
||||
IGNy2ESZQuGNB3jd
|
||||
=Sv9P
|
||||
-----END PGP SIGNATURE-----
|
3
lxqt-powermanagement-2.0.0.tar.xz
Normal file
3
lxqt-powermanagement-2.0.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:300c4d50fd1fd78b57bd6a472eddbc7ab30ca3fb64650699184d4b07a8050b0e
|
||||
size 97220
|
17
lxqt-powermanagement-2.0.0.tar.xz.asc
Normal file
17
lxqt-powermanagement-2.0.0.tar.xz.asc
Normal file
@ -0,0 +1,17 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmYfrxoVHHRzdWphbjIw
|
||||
MDBAZ21haWwuY29tAAoJEL55MAetIt9+bEkQAJjacCOdzQ2oIrLjC0fNRUod4WFx
|
||||
2ROsxM0MesaTUAKh2S0hlZeJpmpyP6MAQpqb4SY9LV4nbfFCr5IPpCgIFqX5PJhH
|
||||
igfdoEfIIHu/z8FiLtDj4e233nMDuPua9b9Z7VjM7Xr1nK3pYyyS7QibTNeALIWT
|
||||
2CKZlLjwt5lkqxohkplVBWy0thdKAuiDaFlilGAz0m1hNLW13YX7qEXK8+Fvp3zJ
|
||||
wDyjp8sZlZH+RpiTMYJPLaHvmew5phjW9YGr3dkCI9kuB0x3N0j31EaQ7hrpAkVU
|
||||
ex+4AWBhnq7SU36Ec/6E3MLENSo6/lP4nJe27bT5AC3Ok5QMIk29KowBqdMOk99E
|
||||
Zij7nfJaFEz4fVkOGAPYBxuaqsHVYONdevpnqVfPlxZAobrz5bu4DhnVPQU/xOWN
|
||||
PIIpcbZiJZZ9/T6ZnlH8lQ046WWUgFG5RVzvCkhjeIZIV2Qq91TN+8ymgw5Rq6Sc
|
||||
BJF94/0DywhZIW6bVrGnsXEGTxnUQdrJgYzLxKmE0KpzMORvZVRsf5kAnNv4DWSQ
|
||||
ugzWTu1c5yeo4r3+Nq+xBLMs3vTz/aMz4QqLdCR02WX9G08MC/T9kR+M3ZCChPnJ
|
||||
pLwe1QiZRX1b2QwIrlfPFrkxGhSat+d1gGsjKIv+SV7tvi2FIXaPk5Ukc+aU+zJr
|
||||
pw5NVl6DlLqCBwAD
|
||||
=J+M5
|
||||
-----END PGP SIGNATURE-----
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat May 11 07:50:06 UTC 2024 - Андрей Алыпов <and.november@opensuse.org>
|
||||
|
||||
- Update to 2.0.0:
|
||||
* Ported to Qt6.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 1 07:29:25 UTC 2024 - Shawn Dunn <sfalken@opensuse.org>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package lxqt-powermanagement
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,39 +17,35 @@
|
||||
|
||||
|
||||
Name: lxqt-powermanagement
|
||||
Version: 1.4.0
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
Summary: Power Management and Auto-suspend
|
||||
License: LGPL-2.1-or-later
|
||||
Group: System/GUI/LXQt
|
||||
URL: http://www.lxqt.org
|
||||
Source: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||
Source1: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
|
||||
URL: https://github.com/lxqt/lxqt-powermanagement
|
||||
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||
Source1: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
|
||||
Source2: %{name}.keyring
|
||||
BuildRequires: cmake >= 3.1.0
|
||||
BuildRequires: cmake >= 3.18.0
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libQt5Gui-private-headers-devel
|
||||
BuildRequires: lxqt-build-tools-devel >= 0.13.0
|
||||
BuildRequires: lxqt-globalkeys-devel
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: cmake(KF5IdleTime)
|
||||
BuildRequires: cmake(KF5Solid)
|
||||
BuildRequires: cmake(KF5WindowSystem) >= 5.36.0
|
||||
BuildRequires: cmake(Qt5LinguistTools)
|
||||
BuildRequires: pkgconfig(Qt5DBus)
|
||||
BuildRequires: pkgconfig(Qt5Gui) >= 5.15.0
|
||||
BuildRequires: pkgconfig(Qt5Svg)
|
||||
BuildRequires: pkgconfig(Qt5UiTools)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(Qt5X11Extras)
|
||||
BuildRequires: pkgconfig(Qt5Xdg)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(lxqt) >= %{version}
|
||||
#BuildRequires: pkgconfig(xcb)
|
||||
BuildRequires: qt6-gui-private-devel
|
||||
BuildRequires: cmake(KF6IdleTime)
|
||||
BuildRequires: cmake(KF6Solid)
|
||||
BuildRequires: cmake(KF6WindowSystem)
|
||||
BuildRequires: cmake(Qt6DBus)
|
||||
BuildRequires: cmake(Qt6LinguistTools)
|
||||
BuildRequires: cmake(Qt6Svg)
|
||||
BuildRequires: cmake(Qt6Widgets)
|
||||
BuildRequires: cmake(lxqt2-build-tools)
|
||||
BuildRequires: pkgconfig(lxqt)
|
||||
BuildRequires: pkgconfig(lxqt-globalkeys-ui) >= 2.0.0
|
||||
BuildRequires: pkgconfig(xcb-dpms)
|
||||
BuildRequires: pkgconfig(xcb-screensaver)
|
||||
Requires: upower
|
||||
%requires_eq libQt5Gui5
|
||||
Recommends: %{name}-lang
|
||||
Recommends: %{name}-lang = %{version}-%{release}
|
||||
|
||||
%description
|
||||
LXQt daemon for power management and auto-suspend
|
||||
@ -57,33 +53,32 @@ LXQt daemon for power management and auto-suspend
|
||||
%lang_package
|
||||
|
||||
%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/' {} +
|
||||
%autosetup
|
||||
sed -i '/^Categories/s/\(LXQt\;\)/X-\1/' config/lxqt-config-powermanagement.desktop.in
|
||||
|
||||
%build
|
||||
%cmake -DPULL_TRANSLATIONS=No
|
||||
%cmake_qt6
|
||||
%{qt6_build}
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
%{qt6_install}
|
||||
%fdupes -s %{buildroot}%{_datadir}
|
||||
|
||||
%find_lang %{name} --with-qt
|
||||
%find_lang %{name} --with-qt --all-name
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc AUTHORS README.md
|
||||
%dir %{_datadir}/icons/hicolor/scalable
|
||||
%{_datadir}/icons/hicolor/scalable/devices
|
||||
%{_bindir}/lxqt*
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_datadir}/icons/hicolor/scalable/devices/*.svg
|
||||
%config %{_sysconfdir}/xdg/autostart/lxqt-powermanagement.desktop
|
||||
%doc AUTHORS CHANGELOG README.md
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/lxqt-config-powermanagement
|
||||
%{_datadir}/applications/lxqt-config-powermanagement.desktop
|
||||
%{_datadir}/icons/hicolor/*/devices/*.svg
|
||||
%config %{_sysconfdir}/xdg/autostart/%{name}.desktop
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
%dir %{_datadir}/lxqt
|
||||
%dir %{_datadir}/lxqt/translations
|
||||
%{_datadir}/lxqt/translations/lxqt-powermanagement
|
||||
%{_datadir}/lxqt/translations/lxqt-config-powermanagement
|
||||
%dir %{_datadir}/lxqt/translations/lxqt-config-powermanagement
|
||||
%dir %{_datadir}/lxqt/translations/%{name}
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user