change references from IPMITOOL_PKG to IPMITOOL_BIN

remove -dev rpm
This commit is contained in:
Duncan Laurie 2004-04-10 05:02:21 +00:00
parent 45e3a3a04a
commit 99f7f7f61e

View File

@ -1,17 +1,13 @@
Name: @IPMITOOL_PKG@ Name: @IPMITOOL_BIN@
Summary: @IPMITOOL_PKG@ - Utility for interfacing with IPMI devices Summary: @IPMITOOL_BIN@ - Utility for IPMI control
Version: @VERSION@ Version: @VERSION@
Release: 1 Release: 1
Copyright: BSD Copyright: BSD
Group: Utilities Group: Utilities
Vendor: Sun Microsystems Vendor: Sun Microsystems
Packager: Duncan Laurie <duncan@sun.com> Packager: Duncan Laurie <duncan@sun.com>
Source: @IPMITOOL_PKG@-@VERSION@.tar.gz Source: @IPMITOOL_BIN@-@VERSION@.tar.gz
Buildroot: /var/tmp/@IPMITOOL_PKG@-root Buildroot: /var/tmp/@IPMITOOL_BIN@-root
%package dev
Summary: Development files for ipmitool
Group: Utilities
%description %description
This package contains a utility for interfacing with IPMI-enabled devices This package contains a utility for interfacing with IPMI-enabled devices
@ -20,10 +16,6 @@ It provides some basic functions for reading the SDR and displaying sensor
values, displaying the contents of the SEL, printing FRU information, values, displaying the contents of the SEL, printing FRU information,
reading and setting LAN configuration, and chassis power control. reading and setting LAN configuration, and chassis power control.
%description dev
Additional development files for creating applications or interface plugins
for ipmitool.
%prep %prep
if [ "$RPM_BUILD_ROOT" ] && [ "$RPM_BUILD_ROOT" != "/" ]; then if [ "$RPM_BUILD_ROOT" ] && [ "$RPM_BUILD_ROOT" != "/" ]; then
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -49,7 +41,7 @@ make
%install %install
make DESTDIR=$RPM_BUILD_ROOT install-strip make DESTDIR=$RPM_BUILD_ROOT install-strip
DOCDIR=$RPM_BUILD_ROOT%{_datadir}/doc/@IPMITOOL_PKG@-@VERSION@ DOCDIR=$RPM_BUILD_ROOT%{_datadir}/doc/@IPMITOOL_BIN@-@VERSION@
mkdir -p $DOCDIR mkdir -p $DOCDIR
for DOC in COPYING AUTHORS ChangeLog ; do for DOC in COPYING AUTHORS ChangeLog ; do
install -m 644 -o root -g root $DOC $DOCDIR/$DOC install -m 644 -o root -g root $DOC $DOCDIR/$DOC
@ -59,18 +51,13 @@ done
if [ "$RPM_BUILD_ROOT" ] && [ "$RPM_BUILD_ROOT" != "/" ]; then if [ "$RPM_BUILD_ROOT" ] && [ "$RPM_BUILD_ROOT" != "/" ]; then
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
fi fi
rm -rf $RPM_BUILD_DIR/@IPMITOOL_PKG@-@VERSION@ rm -rf $RPM_BUILD_DIR/@IPMITOOL_BIN@-@VERSION@
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc %{_mandir}/man1/* %doc %{_mandir}/man1/*
%{_bindir}/* %{_bindir}/*
%{_datadir}/doc/@IPMITOOL_PKG@-@VERSION@/* %{_datadir}/doc/@IPMITOOL_BIN@-@VERSION@/*
%files dev
%defattr(-,root,root)
%dir %{_includedir}/ipmitool
%{_includedir}/ipmitool/*.h
%changelog %changelog
* Sat May 27 2004 <duncan@sun.com> 1.5.9-1 * Sat May 27 2004 <duncan@sun.com> 1.5.9-1