File mpt-status.spec of Package mpt-status
#
# spec file for package mpt-status (Version 1.2.0)
#
# Copyright (c) 2007 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/
#
# norootforbuild
Name: mpt-status
BuildRequires: kernel-source
Version: 1.2.0
Release: 50
Autoreqprov: on
Group: Hardware/Other
License: GPL v2 or later
URL: http://www.drugphish.ch/~ratz/mpt-status/
Summary: Program Showing the Status of LSI 1030 RAID Controller
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: %{name}-%{version}.tar.bz2
Patch0: mpt-status.linux-compiler.patch
%description
This program shows the status of the physical and logical drives
attached to a LSI 1030 RAID (mptlinux, fusion, mpt, ioc) controller.
Authors:
--------
Matt Braithwaite <mab@red-bean.com>
Roberto Nibali <ratz@drugphish.ch>
%prep
%setup -q
%patch0 -p1
%build
gcc $RPM_OPT_FLAGS -I/usr/src/linux/drivers/message/fusion -Iincl mpt-status.c -o mpt-status
%install
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man8
install -m 755 mpt-status $RPM_BUILD_ROOT%{_bindir}
install -m 644 man/mpt-status.8 $RPM_BUILD_ROOT%{_mandir}/man8
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc doc/*
%doc %{_mandir}/man?/*
%{_bindir}/*
%changelog
* Sun Aug 05 2007 - olh@suse.de
- remove inclusion of linux/compiler.h
* Tue Nov 14 2006 - mjancar@suse.cz
- update to 1.2.0
* works on 64bit architectures (FATE #301702)
* Fri Apr 07 2006 - mjancar@suse.cz
- update to 1.1.6
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Aug 01 2005 - anicka@suse.cz
- package created