1 Summary: Get RAID status out of mpt (and other) HW RAID controllers
6 Group: Applications/System
7 Source: %{name}-%{version}.tar.gz
8 Source10: mpt-status.init
9 Patch1: mpt-status.header_path.patch
10 Patch2: mpt-status.includes.patch
11 BuildRequires: pciutils-devel
12 Requires (preun): /sbin/chkconfig
13 Requires (preun): /sbin/service
14 Requires (post): /sbin/chkconfig
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
19 The mpt-status software is a query tool to access the running
20 configuration and status of LSI SCSI HBAs. mpt-status allows
21 you to monitor the health and status of your RAID setup.
24 %setup -q -n %{name}-%{version}
32 %{__rm} -rf %{buildroot}
33 %{__install} -D -m0755 mpt-status %{buildroot}%{_sbindir}/mpt-status
34 %{__install} -D -m0755 %{SOURCE10} %{buildroot}/%{_sysconfdir}/rc.d/init.d/mpt-statusd
37 %{__rm} -rf %{buildroot}
40 %defattr(-, root, root, 0755)
42 %{_sbindir}/mpt-status
43 %{_sysconfdir}/rc.d/init.d/mpt-statusd
46 /sbin/chkconfig --add mpt-statusd
49 /sbin/service mpt-statusd stop > /dev/null 2>&1
50 /sbin/chkconfig --del mpt-statusd
53 * Wed Jul 30 2014 Sven Hoexter <sven@timegate.de> - 1.2.0-4
54 - Changed chkconfig and LSB header to not activate the init script
56 - Removed depedency on daemonize, if you would like to use
57 the init script monitoring facility you have to aquire a
58 daemonize by yourself.
59 - Remove URL and shorten Source - original author website is
61 * Sun Oct 16 2011 Sven Hoexter <sven@timegate.de> - 1.2.0-3
62 - Add mpt-status.init as Source10 and install it into the package.
63 - Require daemonize and chkconfig/service for post/preun.
64 - post and preun snippets to add/remove mpt-status from the
65 chkconfig service list.
67 * Thu Sep 22 2011 Sven Hoexter <sven@timegate.de> - 1.2.0-2
68 - Start summary with a capital letter (rpmlint).
69 - Change License to GPLv2+ (rpmlint).
70 - Remove 'Packager' tag (rpmlint).
71 - Remove macro from the prior changelog entry (rpmlint).
72 - Add -q to the 'setup' macro (rpmlint).
73 - Edit 'Source' tag to contain the upstream URL (rpmlint).
75 * Sun Sep 11 2011 Sven Hoexter <sven@timegate.de> - 1.2.0-1
76 - Add Patch1 and Patch2, taken from Debian and re-diffed for a
78 - Add BuildRequires pciutils-devel.
79 - Add 'dist' to the release version.
80 - Add BuildRoot format from one of the Fedora examples.
81 - Change Packager to Sven Hoexter <sven@timegate.de>.
82 - Copy the short and long description from the Debian package.
84 * Fri Jun 30 2006 Roberto Nibali (ratz@drugphish.ch)
85 - Changed release version
87 * Fri Jun 30 2006 Rich Edelman (rich.edelman@openwave.com)
88 - Upgraded to version 1.2.0-RC7
89 - Changed Makefile to use /lib/modules/`uname -r`/build as the KERNEL_PATH
90 directory, instead of /usr/src/linux. This should make building this package
91 across different distributions easier. (Patch mpt-status-fix-kernel-path.diff)
93 * Thu Jul 14 2005 Jean-Philippe CIVADE <jp.civade@100p100.net> - 1.1.3-0