2007-01-16 00:35:29 +01:00
|
|
|
#
|
|
|
|
# spec file for package rtasdispd (Version 0.1)
|
|
|
|
#
|
2008-10-15 12:34:18 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2007-01-16 00:35:29 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-10-15 12:34:18 +02:00
|
|
|
|
2007-01-16 00:35:29 +01:00
|
|
|
Name: rtasdispd
|
|
|
|
Version: 0.1
|
2008-10-15 12:34:18 +02:00
|
|
|
Release: 386
|
2007-01-16 00:35:29 +01:00
|
|
|
Summary: Shows System Status Messages on pSeries Panel Displays
|
2011-12-06 19:00:53 +01:00
|
|
|
License: GPL-2.0+
|
2007-01-16 00:35:29 +01:00
|
|
|
Group: System/Monitoring
|
2007-11-26 21:01:26 +01:00
|
|
|
AutoReqProv: on
|
|
|
|
PreReq: %insserv_prereq %fillup_prereq
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-16 00:35:29 +01:00
|
|
|
Source: rtasdispd-%{version}.tar.gz
|
|
|
|
Source1: sysconfig.rtasdispd
|
|
|
|
Source2: rc.rtasdispd
|
2007-11-26 21:01:26 +01:00
|
|
|
Patch1: rtasdispd.open-mode.patch
|
2008-10-15 12:34:18 +02:00
|
|
|
ExclusiveArch: ppc ppc64
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Roman Hodek <roman@hodek.net>
|
|
|
|
|
|
|
|
%prep
|
2007-11-26 21:01:26 +01:00
|
|
|
%setup -q
|
|
|
|
%patch1 -p1
|
2007-01-16 00:35:29 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
make CFLAGS="$RPM_OPT_FLAGS -Wall"
|
|
|
|
|
|
|
|
%install
|
|
|
|
mv rtasdispd.1 rtasdispd.8
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install MANS=rtasdispd.8
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
|
|
|
|
install -m 755 %{S:2} $RPM_BUILD_ROOT/etc/init.d/rtasdispd
|
|
|
|
ln -s ../../etc/init.d/rtasdispd $RPM_BUILD_ROOT/usr/sbin/rcrtasdispd
|
|
|
|
install -m 644 %{S:1} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.rtasdispd
|
|
|
|
|
|
|
|
%post
|
|
|
|
%{fillup_and_insserv -y rtasdispd}
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%insserv_cleanup
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING
|
|
|
|
%config /etc/init.d/rtasdispd
|
|
|
|
/usr/sbin/*
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
/var/adm/fillup-templates/sysconfig.rtasdispd
|
|
|
|
|
2007-11-26 21:01:26 +01:00
|
|
|
%changelog
|
2008-10-15 12:34:18 +02:00
|
|
|
* Wed Oct 15 2008 ro@suse.de
|
|
|
|
- added ExclusiveArch
|
|
|
|
* Mon Nov 26 2007 olh@suse.de
|
2007-11-26 21:01:26 +01:00
|
|
|
- add mode argument to open() call
|
2008-10-15 12:34:18 +02:00
|
|
|
* Tue Nov 07 2006 olh@suse.de
|
2007-01-16 00:35:29 +01:00
|
|
|
- add Should-Start: $remote_fs to runlevel script
|
2008-10-15 12:34:18 +02:00
|
|
|
* Tue Nov 07 2006 olh@suse.de
|
2007-01-16 00:35:29 +01:00
|
|
|
- rename rtasdispd.1 to rtasdispd.8 (184627 - LTC24650)
|
2008-10-15 12:34:18 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:35:29 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-10-15 12:34:18 +02:00
|
|
|
* Tue Aug 20 2002 olh@suse.de
|
2007-01-16 00:35:29 +01:00
|
|
|
- PreReq: insserv_prereq fillup_prereq
|
2008-10-15 12:34:18 +02:00
|
|
|
* Thu Feb 14 2002 rnhodek@suse.de
|
2007-01-16 00:35:29 +01:00
|
|
|
- initial package
|