77 lines
2.1 KiB
RPMSpec
77 lines
2.1 KiB
RPMSpec
|
#
|
||
|
# spec file for package rtasdispd (Version 0.1)
|
||
|
#
|
||
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
|
||
|
Name: rtasdispd
|
||
|
Version: 0.1
|
||
|
Release: 287
|
||
|
Summary: Shows System Status Messages on pSeries Panel Displays
|
||
|
License: GNU General Public License (GPL) - all versions
|
||
|
Group: System/Monitoring
|
||
|
Autoreqprov: on
|
||
|
Source: rtasdispd-%{version}.tar.gz
|
||
|
Source1: sysconfig.rtasdispd
|
||
|
Source2: rc.rtasdispd
|
||
|
PreReq: %insserv_prereq %fillup_prereq
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%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
|
||
|
%setup
|
||
|
|
||
|
%build
|
||
|
make CFLAGS="$RPM_OPT_FLAGS -Wall"
|
||
|
|
||
|
%install
|
||
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
||
|
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
|
||
|
|
||
|
%changelog -n rtasdispd
|
||
|
* Tue Nov 07 2006 - olh@suse.de
|
||
|
- add Should-Start: $remote_fs to runlevel script
|
||
|
* Tue Nov 07 2006 - olh@suse.de
|
||
|
- rename rtasdispd.1 to rtasdispd.8 (184627 - LTC24650)
|
||
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
- converted neededforbuild to BuildRequires
|
||
|
* Tue Aug 20 2002 - olh@suse.de
|
||
|
- PreReq: insserv_prereq fillup_prereq
|
||
|
* Thu Feb 14 2002 - rnhodek@suse.de
|
||
|
- initial package
|