forked from pool/lxqt-powermanagement
Accepting request 1174616 from X11:LXQt
OBS-URL: https://build.opensuse.org/request/show/1174616 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lxqt-powermanagement?expand=0&rev=25
This commit is contained in:
commit
4504757ec0
@ -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>
|
Mon Jan 1 07:29:25 UTC 2024 - Shawn Dunn <sfalken@opensuse.org>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package lxqt-powermanagement
|
# 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
|
# 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
|
||||||
@ -17,39 +17,35 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: lxqt-powermanagement
|
Name: lxqt-powermanagement
|
||||||
Version: 1.4.0
|
Version: 2.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Power Management and Auto-suspend
|
Summary: Power Management and Auto-suspend
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
Group: System/GUI/LXQt
|
Group: System/GUI/LXQt
|
||||||
URL: http://www.lxqt.org
|
URL: https://github.com/lxqt/lxqt-powermanagement
|
||||||
Source: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||||
Source1: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
|
Source1: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
|
||||||
Source2: %{name}.keyring
|
Source2: %{name}.keyring
|
||||||
BuildRequires: cmake >= 3.1.0
|
BuildRequires: cmake >= 3.18.0
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libQt5Gui-private-headers-devel
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: lxqt-build-tools-devel >= 0.13.0
|
|
||||||
BuildRequires: lxqt-globalkeys-devel
|
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: cmake(KF5IdleTime)
|
BuildRequires: qt6-gui-private-devel
|
||||||
BuildRequires: cmake(KF5Solid)
|
BuildRequires: cmake(KF6IdleTime)
|
||||||
BuildRequires: cmake(KF5WindowSystem) >= 5.36.0
|
BuildRequires: cmake(KF6Solid)
|
||||||
BuildRequires: cmake(Qt5LinguistTools)
|
BuildRequires: cmake(KF6WindowSystem)
|
||||||
BuildRequires: pkgconfig(Qt5DBus)
|
BuildRequires: cmake(Qt6DBus)
|
||||||
BuildRequires: pkgconfig(Qt5Gui) >= 5.15.0
|
BuildRequires: cmake(Qt6LinguistTools)
|
||||||
BuildRequires: pkgconfig(Qt5Svg)
|
BuildRequires: cmake(Qt6Svg)
|
||||||
BuildRequires: pkgconfig(Qt5UiTools)
|
BuildRequires: cmake(Qt6Widgets)
|
||||||
BuildRequires: pkgconfig(Qt5Widgets)
|
BuildRequires: cmake(lxqt2-build-tools)
|
||||||
BuildRequires: pkgconfig(Qt5X11Extras)
|
BuildRequires: pkgconfig(lxqt)
|
||||||
BuildRequires: pkgconfig(Qt5Xdg)
|
BuildRequires: pkgconfig(lxqt-globalkeys-ui) >= 2.0.0
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(xcb-dpms)
|
||||||
BuildRequires: pkgconfig(lxqt) >= %{version}
|
BuildRequires: pkgconfig(xcb-screensaver)
|
||||||
#BuildRequires: pkgconfig(xcb)
|
|
||||||
Requires: upower
|
Requires: upower
|
||||||
%requires_eq libQt5Gui5
|
Recommends: %{name}-lang = %{version}-%{release}
|
||||||
Recommends: %{name}-lang
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
LXQt daemon for power management and auto-suspend
|
LXQt daemon for power management and auto-suspend
|
||||||
@ -57,33 +53,32 @@ LXQt daemon for power management and auto-suspend
|
|||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup
|
||||||
# Changing LXQt into X-LXQt in desktop files to be freedesktop compliant and shut rpmlint warnings
|
sed -i '/^Categories/s/\(LXQt\;\)/X-\1/' config/lxqt-config-powermanagement.desktop.in
|
||||||
#find -name '*desktop.in*' -exec sed -ri 's/(LXQt;)/X-\1/' {} +
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -DPULL_TRANSLATIONS=No
|
%cmake_qt6
|
||||||
|
%{qt6_build}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%{qt6_install}
|
||||||
%fdupes -s %{buildroot}%{_datadir}
|
%fdupes -s %{buildroot}%{_datadir}
|
||||||
|
|
||||||
%find_lang %{name} --with-qt
|
%find_lang %{name} --with-qt --all-name
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc AUTHORS README.md
|
%doc AUTHORS CHANGELOG README.md
|
||||||
%dir %{_datadir}/icons/hicolor/scalable
|
%{_bindir}/%{name}
|
||||||
%{_datadir}/icons/hicolor/scalable/devices
|
%{_bindir}/lxqt-config-powermanagement
|
||||||
%{_bindir}/lxqt*
|
%{_datadir}/applications/lxqt-config-powermanagement.desktop
|
||||||
%{_datadir}/applications/*.desktop
|
%{_datadir}/icons/hicolor/*/devices/*.svg
|
||||||
%{_datadir}/icons/hicolor/scalable/devices/*.svg
|
%config %{_sysconfdir}/xdg/autostart/%{name}.desktop
|
||||||
%config %{_sysconfdir}/xdg/autostart/lxqt-powermanagement.desktop
|
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
%dir %{_datadir}/lxqt
|
%dir %{_datadir}/lxqt
|
||||||
%dir %{_datadir}/lxqt/translations
|
%dir %{_datadir}/lxqt/translations
|
||||||
%{_datadir}/lxqt/translations/lxqt-powermanagement
|
%dir %{_datadir}/lxqt/translations/lxqt-config-powermanagement
|
||||||
%{_datadir}/lxqt/translations/lxqt-config-powermanagement
|
%dir %{_datadir}/lxqt/translations/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user