2024-01-06 06:36:50 +01:00
|
|
|
Name: lxqt-powermanagement
|
2024-01-06 06:36:50 +01:00
|
|
|
Version: 1.2.0
|
2024-01-06 06:36:50 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 06:36:50 +01:00
|
|
|
Summary: Tools to monitor power management events and optionally trigger actions
|
|
|
|
Group: Graphical Desktop/Applications/Utilities
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/lxqt/lxqt-powermanagement
|
|
|
|
Source: https://github.com/lxqt/lxqt-powermanagement.git/%{version}/lxqt-powermanagement-%{version}.tar.bz2
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 06:36:50 +01:00
|
|
|
BuildRequires: libQt5Svg-devel
|
|
|
|
BuildRequires: libQt5X11Extras-devel
|
|
|
|
BuildRequires: libX11-devel
|
2024-01-06 06:36:50 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libkidletime-devel
|
|
|
|
BuildRequires: libkwindowsystem-devel
|
|
|
|
BuildRequires: liblxqt-devel
|
2024-01-06 06:36:50 +01:00
|
|
|
BuildRequires: liblxqt-globalkeys-devel
|
2024-01-06 06:36:50 +01:00
|
|
|
BuildRequires: libqtxdg-devel
|
|
|
|
BuildRequires: libsolid-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-06 06:36:50 +01:00
|
|
|
BuildRequires: qt5-qtbase-devel
|
2024-01-06 06:36:50 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
2024-01-06 06:36:50 +01:00
|
|
|
BuildRequires: liblxqt-globalkeys-devel >= %{version}
|
2024-01-06 06:36:50 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Tools to monitor power management events and optionally trigger actions like e. g. shut down a system when laptop batteries are low on power.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
find %{buildroot}%{_datadir}/*/translations/ -name *.qm | \
|
|
|
|
while read line; do
|
|
|
|
bn=`echo ${line}|cut -d_ -f2-3`
|
|
|
|
echo "%lang(${bn/.*}) ${line/*-root}" >> %{name}.lang
|
|
|
|
done
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sysconfdir}/xdg/autostart/lxqt-powermanagement.desktop
|
|
|
|
%{_bindir}/lxqt-config-powermanagement
|
|
|
|
%{_bindir}/lxqt-powermanagement
|
|
|
|
%{_datadir}/applications/lxqt-config-powermanagement.desktop
|
|
|
|
%{_datadir}/icons/hicolor/scalable/devices/laptop-lid.svg
|
|
|
|
%doc AUTHORS LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 06:36:50 +01:00
|
|
|
* Fri Nov 11 2022 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:36:50 +01:00
|
|
|
* Wed Apr 20 2022 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:36:50 +01:00
|
|
|
* Wed Nov 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-2mamba
|
|
|
|
- rebuilt with liblxqt-globalkeys 1.0.0
|
|
|
|
|
|
|
|
* Sun Nov 21 2021 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:36:50 +01:00
|
|
|
* Sat Apr 24 2021 Automatic Build System <autodist@mambasoft.it> 0.17.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:36:50 +01:00
|
|
|
* Sat Apr 17 2021 Automatic Build System <autodist@mambasoft.it> 0.17.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:36:50 +01:00
|
|
|
* Mon Nov 09 2020 Automatic Build System <autodist@mambasoft.it> 0.16.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:36:50 +01:00
|
|
|
* Sat Oct 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.0-1mamba
|
|
|
|
- package created using the webbuild interface
|