1 Summary: Get RAID status out of mpt (and other) HW RAID controllers
6 Group: Applications/System
7 URL: http://sven.stormbind.net/mpt-status-rhel/
8 Source: http://ftp.de.debian.org/debian/pool/main/m/mpt-status/%{name}_%{version}.orig.tar.gz
9 Source10: mpt-status.init
10 Patch1: mpt-status.header_path.patch
11 Patch2: mpt-status.includes.patch
12 Patch3: mpt-status.fsf_address.patch
13 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}
35 %{__rm} -rf %{buildroot}
36 %{__install} -D -m0755 mpt-status %{buildroot}%{_sbindir}/mpt-status
37 %{__install} -D -m0755 %{SOURCE10} %{buildroot}/%{_sysconfdir}/rc.d/init.d/mpt-statusd
38 %{__install} -D -m0644 man/mpt-status.8 %{buildroot}%{_mandir}/man8/mpt-status.8
41 %{__rm} -rf %{buildroot}
44 %defattr(-, root, root, 0755)
45 %doc doc/{AUTHORS,Changelog,COPYING,DeveloperNotes,FAQ,README,ReleaseNotes,TODO}
46 %{_sbindir}/mpt-status
47 %{_sysconfdir}/rc.d/init.d/mpt-statusd
48 %{_mandir}/man8/mpt-status.*
51 /sbin/chkconfig --add mpt-statusd
54 /sbin/service mpt-statusd stop > /dev/null 2>&1
55 /sbin/chkconfig --del mpt-statusd
58 * Tue Aug 05 2014 Sven Hoexter <sven@timegate.de> - 1.2.0-5
59 - Do not install the INSTALL file from doc - copied the approach
60 form the openSuSE spec file.
61 - Reference the orig.tar.gz from the Debian pool as Source - another
62 approach copied from openSuSE.
63 - Point URL to my own website since the original website is gone.
64 * Mon Aug 04 2014 Sven Hoexter <sven@timegate.de> - 1.2.0-4
65 - Changed chkconfig and LSB header to not activate the init script
67 - Removed depedency on daemonize, if you would like to use
68 the init script monitoring facility you have to aquire a
69 daemonize by yourself.
70 - Remove URL and shorten Source - original author website is
72 - Add mpt-status.fsf_address.patch to update the FSF address.
73 - Install the mpt-status manpage.
75 * Sun Oct 16 2011 Sven Hoexter <sven@timegate.de> - 1.2.0-3
76 - Add mpt-status.init as Source10 and install it into the package.
77 - Require daemonize and chkconfig/service for post/preun.
78 - post and preun snippets to add/remove mpt-status from the
79 chkconfig service list.
81 * Thu Sep 22 2011 Sven Hoexter <sven@timegate.de> - 1.2.0-2
82 - Start summary with a capital letter (rpmlint).
83 - Change License to GPLv2+ (rpmlint).
84 - Remove 'Packager' tag (rpmlint).
85 - Remove macro from the prior changelog entry (rpmlint).
86 - Add -q to the 'setup' macro (rpmlint).
87 - Edit 'Source' tag to contain the upstream URL (rpmlint).
89 * Sun Sep 11 2011 Sven Hoexter <sven@timegate.de> - 1.2.0-1
90 - Add Patch1 and Patch2, taken from Debian and re-diffed for a
92 - Add BuildRequires pciutils-devel.
93 - Add 'dist' to the release version.
94 - Add BuildRoot format from one of the Fedora examples.
95 - Change Packager to Sven Hoexter <sven@timegate.de>.
96 - Copy the short and long description from the Debian package.
98 * Fri Jun 30 2006 Roberto Nibali (ratz@drugphish.ch)
99 - Changed release version
101 * Fri Jun 30 2006 Rich Edelman (rich.edelman@openwave.com)
102 - Upgraded to version 1.2.0-RC7
103 - Changed Makefile to use /lib/modules/`uname -r`/build as the KERNEL_PATH
104 directory, instead of /usr/src/linux. This should make building this package
105 across different distributions easier. (Patch mpt-status-fix-kernel-path.diff)
107 * Thu Jul 14 2005 Jean-Philippe CIVADE <jp.civade@100p100.net> - 1.1.3-0