A new user interface for you! Read more...

File cciss_vol_status.spec of Package cciss_vol_status

Name:           cciss_vol_status
Version:        1.11	
Release:        1
License:        GPL
Source:         http://prdownloads.sourceforge.net/cciss/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
BuildRequires:  kernel-devel
%else
BuildRequires:  kernel-source
BuildRequires:  autoconf automake
%endif
Group:          System Environment
Summary:        HP Smart Array Status Display

%description
Show status of logical drives attached to HP Smart Array controllers.

%prep
%setup

%build
autoreconf
./configure --prefix=%{_prefix}
make

%install
rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT%{_sbindir}
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man8
install -m 755 cciss_vol_status $RPM_BUILD_ROOT%{_sbindir}/
install -m 644 cciss_vol_status.8 $RPM_BUILD_ROOT%{_mandir}/man8/

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
/usr/sbin/cciss_vol_status
%{_mandir}/*/*