2007-01-16 00:35:29 +01:00
|
|
|
#
|
2013-12-23 22:19:58 +01:00
|
|
|
# spec file for package rtasdispd
|
2007-01-16 00:35:29 +01:00
|
|
|
#
|
2024-03-27 14:15:32 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2007-01-16 00:35:29 +01:00
|
|
|
#
|
2008-10-15 12:34:18 +02:00
|
|
|
# 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.
|
|
|
|
|
2024-03-27 14:15:32 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:35:29 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-12-01 14:55:05 +01:00
|
|
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
|
|
|
%if ! %{defined _fillupdir}
|
2024-03-27 14:15:32 +01:00
|
|
|
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
2017-12-01 14:55:05 +01:00
|
|
|
%endif
|
2007-01-16 00:35:29 +01:00
|
|
|
Name: rtasdispd
|
|
|
|
Version: 0.1
|
2013-12-23 22:19:58 +01:00
|
|
|
Release: 0
|
2007-01-16 00:35:29 +01:00
|
|
|
Summary: Shows System Status Messages on pSeries Panel Displays
|
2024-03-27 14:15:32 +01:00
|
|
|
License: GPL-2.0-or-later
|
2007-01-16 00:35:29 +01:00
|
|
|
Group: System/Monitoring
|
|
|
|
Source: rtasdispd-%{version}.tar.gz
|
|
|
|
Source1: sysconfig.rtasdispd
|
|
|
|
Source2: rc.rtasdispd
|
2007-11-26 21:01:26 +01:00
|
|
|
Patch1: rtasdispd.open-mode.patch
|
2024-03-27 14:15:32 +01:00
|
|
|
# FIXME: use proper Requires(pre/post/preun/...)
|
|
|
|
PreReq: %fillup_prereq
|
|
|
|
PreReq: %insserv_prereq
|
2013-12-23 22:19:58 +01:00
|
|
|
ExclusiveArch: ppc ppc64 ppc64le
|
2007-01-16 00:35:29 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This daemon can show system status information, such as load, uptime,
|
|
|
|
memory usage, and more on the 2 line front panel display of IBM pSeries
|
|
|
|
machines.
|
|
|
|
|
|
|
|
%prep
|
2024-03-27 14:15:32 +01:00
|
|
|
%autosetup -p1
|
2007-01-16 00:35:29 +01:00
|
|
|
|
|
|
|
%build
|
2024-03-27 14:15:32 +01:00
|
|
|
%make_build CFLAGS="%{optflags} -Wall"
|
2007-01-16 00:35:29 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
mv rtasdispd.1 rtasdispd.8
|
2024-03-27 14:15:32 +01:00
|
|
|
make DESTDIR=%{buildroot} install MANS=rtasdispd.8
|
|
|
|
mkdir -p %{buildroot}%{_initddir}
|
|
|
|
mkdir -p %{buildroot}%{_fillupdir}
|
|
|
|
install -m 755 %{SOURCE2} %{buildroot}%{_initddir}/rtasdispd
|
|
|
|
ln -s ../..%{_initddir}/rtasdispd %{buildroot}%{_sbindir}/rcrtasdispd
|
|
|
|
install -m 644 %{SOURCE1} %{buildroot}%{_fillupdir}/sysconfig.rtasdispd
|
2007-01-16 00:35:29 +01:00
|
|
|
|
|
|
|
%post
|
|
|
|
%{fillup_and_insserv -y rtasdispd}
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%insserv_cleanup
|
|
|
|
|
|
|
|
%files
|
2024-03-27 14:15:32 +01:00
|
|
|
%license COPYING
|
|
|
|
%config %{_initddir}/rtasdispd
|
|
|
|
%{_sbindir}/*
|
2007-01-16 00:35:29 +01:00
|
|
|
%{_mandir}/man8/*
|
2017-12-01 14:55:05 +01:00
|
|
|
%{_fillupdir}/sysconfig.rtasdispd
|
2007-01-16 00:35:29 +01:00
|
|
|
|
2007-11-26 21:01:26 +01:00
|
|
|
%changelog
|