Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:bmwiedemann:reproducible:distribution:ring1
rebootmgr
rebootmgr.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rebootmgr.spec of Package rebootmgr
# # spec file for package rebootmgr # # 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 # 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 https://bugs.opensuse.org/ # %if ! %{defined _distconfdir} %define _distconfdir %{_sysconfdir} %define with_config 1 %else %define with_config 0 %endif Name: rebootmgr Version: 2.4+git20240524.30e5383 Release: 0 Summary: Automatic controlled reboot during a maintenance window License: GPL-2.0-only AND LGPL-2.1-or-later Group: System/Base URL: https://github.com/SUSE/rebootmgr Source: %{name}-%{version}.tar.xz BuildRequires: autoconf BuildRequires: automake BuildRequires: docbook-xsl-stylesheets BuildRequires: fdupes BuildRequires: pkgconfig BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(libeconf) %description RebootManager is a dbus service to execute a controlled reboot after updates in a defined maintenance window. If you updated a system with e.g. transactional updates or a kernel update was applied, you can tell rebootmgrd with rebootmgrctl, that the machine should be reboot at the next possible time. This can either be immediately or during a defined maintenance window. %prep %setup -q %build ./autogen.sh %configure make %{?_smp_mflags} %install %make_install if [ ! -d %{buildroot}%{_distconfdir} ]; then mkdir -p %{buildroot}%{_distconfdir} mv %{buildroot}%{_sysconfdir}/rebootmgr.conf %{buildroot}%{_distconfdir} fi %fdupes %{buildroot}%{_mandir} %pre %service_add_pre rebootmgr.service test -f /etc/rebootmgr.conf.rpmsave && mv -v /etc/rebootmgr.conf.rpmsave /etc/rebootmgr.conf.rpmsave.old ||: %post %service_add_post rebootmgr.service %preun %service_del_preun rebootmgr.service %postun %service_del_postun rebootmgr.service %posttrans test -f /etc/rebootmgr.conf.rpmsave && mv -v /etc/rebootmgr.conf.rpmsave /etc/rebootmgr.conf ||: %files %license COPYING COPYING.LIB %doc NEWS %if %{with_config} %config %{_sysconfdir}/rebootmgr.conf %else %{_distconfdir}/rebootmgr.conf %endif %{_unitdir}/rebootmgr.service %{_sbindir}/rebootmgrctl %{_sbindir}/rebootmgrd %{_datadir}/dbus-1/interfaces/org.opensuse.RebootMgr.xml %{_datadir}/dbus-1/system.d/org.opensuse.RebootMgr.conf %{_mandir}/man1/rebootmgrctl.1%{?ext_man} %{_mandir}/man5/rebootmgr.conf.5%{?ext_man} %{_mandir}/man8/rebootmgrd.8%{?ext_man} %{_mandir}/man8/org.opensuse.RebootMgr.conf.8%{?ext_man} %{_mandir}/man8/rebootmgr.service.8%{?ext_man} %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