Accepting request 1162914 from hardware
OBS-URL: https://build.opensuse.org/request/show/1162914 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rtasdispd?expand=0&rev=17
This commit is contained in:
commit
4c34560328
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 23 11:55:45 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Use %autosetup macro. Allows to eliminate the usage of deprecated
|
||||||
|
%patchN.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 23 13:43:40 UTC 2017 - rbrown@suse.com
|
Thu Nov 23 13:43:40 UTC 2017 - rbrown@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package rtasdispd
|
# spec file for package rtasdispd
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,27 +12,27 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||||
%if ! %{defined _fillupdir}
|
%if ! %{defined _fillupdir}
|
||||||
%define _fillupdir /var/adm/fillup-templates
|
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: rtasdispd
|
Name: rtasdispd
|
||||||
Version: 0.1
|
Version: 0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Shows System Status Messages on pSeries Panel Displays
|
Summary: Shows System Status Messages on pSeries Panel Displays
|
||||||
License: GPL-2.0+
|
License: GPL-2.0-or-later
|
||||||
Group: System/Monitoring
|
Group: System/Monitoring
|
||||||
PreReq: %insserv_prereq %fillup_prereq
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
Source: rtasdispd-%{version}.tar.gz
|
Source: rtasdispd-%{version}.tar.gz
|
||||||
Source1: sysconfig.rtasdispd
|
Source1: sysconfig.rtasdispd
|
||||||
Source2: rc.rtasdispd
|
Source2: rc.rtasdispd
|
||||||
Patch1: rtasdispd.open-mode.patch
|
Patch1: rtasdispd.open-mode.patch
|
||||||
|
# FIXME: use proper Requires(pre/post/preun/...)
|
||||||
|
PreReq: %fillup_prereq
|
||||||
|
PreReq: %insserv_prereq
|
||||||
ExclusiveArch: ppc ppc64 ppc64le
|
ExclusiveArch: ppc ppc64 ppc64le
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -40,27 +40,20 @@ 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
|
memory usage, and more on the 2 line front panel display of IBM pSeries
|
||||||
machines.
|
machines.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Roman Hodek <roman@hodek.net>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make CFLAGS="$RPM_OPT_FLAGS -Wall"
|
%make_build CFLAGS="%{optflags} -Wall"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mv rtasdispd.1 rtasdispd.8
|
mv rtasdispd.1 rtasdispd.8
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install MANS=rtasdispd.8
|
make DESTDIR=%{buildroot} install MANS=rtasdispd.8
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
mkdir -p %{buildroot}%{_initddir}
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_fillupdir}
|
mkdir -p %{buildroot}%{_fillupdir}
|
||||||
install -m 755 %{S:2} $RPM_BUILD_ROOT/etc/init.d/rtasdispd
|
install -m 755 %{SOURCE2} %{buildroot}%{_initddir}/rtasdispd
|
||||||
ln -s ../../etc/init.d/rtasdispd $RPM_BUILD_ROOT/usr/sbin/rcrtasdispd
|
ln -s ../..%{_initddir}/rtasdispd %{buildroot}%{_sbindir}/rcrtasdispd
|
||||||
install -m 644 %{S:1} $RPM_BUILD_ROOT%{_fillupdir}/sysconfig.rtasdispd
|
install -m 644 %{SOURCE1} %{buildroot}%{_fillupdir}/sysconfig.rtasdispd
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{fillup_and_insserv -y rtasdispd}
|
%{fillup_and_insserv -y rtasdispd}
|
||||||
@ -69,10 +62,9 @@ install -m 644 %{S:1} $RPM_BUILD_ROOT%{_fillupdir}/sysconfig.rtasdispd
|
|||||||
%insserv_cleanup
|
%insserv_cleanup
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%license COPYING
|
||||||
%doc COPYING
|
%config %{_initddir}/rtasdispd
|
||||||
%config /etc/init.d/rtasdispd
|
%{_sbindir}/*
|
||||||
/usr/sbin/*
|
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
%{_fillupdir}/sysconfig.rtasdispd
|
%{_fillupdir}/sysconfig.rtasdispd
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user