Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:escarzador
qshutdown
_service:set_version:qshutdown.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:set_version: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.8.0.git+1648307783.77f05c3 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 %prep %setup -q %build cd %{name} lrelease-qt5 %{name}.pro %qmake5 make %{?_smp_mflags} %install cd %{name} %qmake5_install %suse_update_desktop_file -r -G "Timebased shutdown" %{name} System Utility TimeUtility install -Dm 0644 ../debian/%{name}.1 %{buildroot}/%{_mandir}/man1/%{name}.1 %files %defattr(-,root,root) %doc %{name}/{COPYING,NEWS,README} %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/%{name} %{_datadir}/icons/hicolor/32x32/apps/red_glasses.xpm %{_mandir}/man?/%{name}.?%{ext_man} %exclude %{_datadir}/%{name}/translations %files lang %defattr(-,root,root) %dir %{_datadir}/%{name}/translations %{_datadir}/%{name}/translations/%{name}*.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