1 Summary: Get RAID status out of mpt (and other) HW RAID controllers
6 Group: Applications/System
7 URL: http://www.drugphish.ch/~ratz/mpt-status/
8 Source: http://www.drugphish.ch/~ratz/mpt-status/%{name}-%{version}.tar.gz
9 Source10: mpt-status.init
10 Patch1: mpt-status.header_path.patch
11 Patch2: mpt-status.includes.patch
12 BuildRequires: pciutils-devel
14 Requires (preun): /sbin/chkconfig
15 Requires (preun): /sbin/service
16 Requires (post): /sbin/chkconfig
18 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
21 The mpt-status software is a query tool to access the running
22 configuration and status of LSI SCSI HBAs. mpt-status allows
23 you to monitor the health and status of your RAID setup.
26 %setup -q -n %{name}-%{version}
34 %{__rm} -rf %{buildroot}
35 %{__install} -D -m0755 mpt-status %{buildroot}%{_sbindir}/mpt-status
36 %{__install} -D -m0755 %{SOURCE10} %{buildroot}/%{_sysconfdir}/rc.d/init.d/mpt-statusd
39 %{__rm} -rf %{buildroot}
42 %defattr(-, root, root, 0755)
44 %{_sbindir}/mpt-status
45 %{_sysconfdir}/rc.d/init.d/mpt-statusd
48 /sbin/chkconfig --add mpt-statusd
51 /sbin/service mpt-statusd stop > /dev/null 2>&1
52 /sbin/chkconfig --del mpt-statusd
55 * Sun Oct 16 2011 Sven Hoexter <sven@timegate.de> - 1.2.0-3
56 - Add mpt-status.init as Source10 and install it into the package.
57 - Require redhat-lsb, daemonize and chkconfig/service for post/preun.
58 - post and preun snippets to add/remove mpt-status from the
59 chkconfig service list.
61 * Thu Sep 22 2011 Sven Hoexter <sven@timegate.de> - 1.2.0-2
62 - Start summary with a capital letter (rpmlint).
63 - Change License to GPLv2+ (rpmlint).
64 - Remove 'Packager' tag (rpmlint).
65 - Remove macro from the prior changelog entry (rpmlint).
66 - Add -q to the 'setup' macro (rpmlint).
67 - Edit 'Source' tag to contain the upstream URL (rpmlint).
69 * Sun Sep 11 2011 Sven Hoexter <sven@timegate.de> - 1.2.0-1
70 - Add Patch1 and Patch2, taken from Debian and re-diffed for a
72 - Add BuildRequires pciutils-devel.
73 - Add 'dist' to the release version.
74 - Add BuildRoot format from one of the Fedora examples.
75 - Change Packager to Sven Hoexter <sven@timegate.de>.
76 - Copy the short and long description from the Debian package.
78 * Fri Jun 30 2006 Roberto Nibali (ratz@drugphish.ch)
79 - Changed release version
81 * Fri Jun 30 2006 Rich Edelman (rich.edelman@openwave.com)
82 - Upgraded to version 1.2.0-RC7
83 - Changed Makefile to use /lib/modules/`uname -r`/build as the KERNEL_PATH
84 directory, instead of /usr/src/linux. This should make building this package
85 across different distributions easier. (Patch mpt-status-fix-kernel-path.diff)
87 * Thu Jul 14 2005 Jean-Philippe CIVADE <jp.civade@100p100.net> - 1.1.3-0