Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndnoVember:LXQT
qshutdown
qshutdown.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qshutdown.spec of Package qshutdown
# # spec file for package qshutdown # # Copyright (c) 2017 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: qshutdown Version: 1.7.3 Release: 0 Summary: Timebased shutdown/reboot/suspend/hibernate License: GPL-3.0 Group: System/X11/Utilities Url: https://github.com/hakaishi/shutdown-qapps Source: %{name}-%{version}.tar.xz BuildRequires: cmake BuildRequires: cmake(Qt5LinguistTools) BuildRequires: gcc-c++ BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: update-desktop-files BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Qt program to shutdown/reboot/suspend/hibernate the system qshutdown is a Qt program to shutdown/reboot/suspend/hibernate the computer at a given time or after a certain number of minutes. It shows the time until the corresponding request is send to either the Gnome- or KDE-session-manager, to HAL or to DeviceKit and if none of these works the command 'sudo shutdown -P now' is used. This program may be useful for people who want to work with the computer only for a certain time. %lang_package %package -n qprogram-starter Summary: Starting commands and programs on a certain time Group: System/X11/Utilities %description -n qprogram-starter Qt program to start programs or commands qprogram-starter is a Qt program to start programs or commands. You can set a time or date when the processes should start, log error output and normal output each in a file. After the processes are finished qprogram-starter shows a "finished" message box, or if you want it can quit or shutdown the system. %lang_package -n qprogram-starter %prep %setup -q %build lrelease-qt5 %{name}/%{name}.pro lrelease-qt5 qprogram-starter/qprogram-starter.pro %qmake5 make %{?_smp_mflags} %install %qmake5_install %suse_update_desktop_file -r -G "Timebased shutdown" %{name} System Utility TimeUtility %suse_update_desktop_file -r -G "Starting commands on a certain time" qprogram-starter System Utility TimeUtility install -Dm 0644 debian/%{name}.1 %{buildroot}/%{_mandir}/man1/%{name}.1 install -Dm 0644 debian/qprogram-starter.1 %{buildroot}/%{_mandir}/man1/qprogram-starter.1 %files %defattr(-,root,root) %doc %{name}/{COPYING,NEWS,README} %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/%{name} %{_datadir}/pixmaps/red_glasses* %{_mandir}/man?/%{name}.?%{ext_man} %exclude %{_datadir}/%{name}/translations %files lang %defattr(-,root,root) %dir %{_datadir}/%{name}/translations %{_datadir}/%{name}/translations/%{name}*.qm %files -n qprogram-starter %doc qprogram-starter/{COPYING,NEWS,README} %{_bindir}/qprogram-starter %{_datadir}/pixmaps/qprogram-starter.xpm %{_datadir}/applications/qprogram-starter.desktop %{_mandir}/man?/qprogram-starter.?%{ext_man} %files -n qprogram-starter-lang %defattr(-,root,root) %dir %{_datadir}/qprogram-starter %dir %{_datadir}/qprogram-starter/translations %{_datadir}/qprogram-starter/translations/qprogram-starter*.qm %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor