]> git.sven.stormbind.net Git - sven/mpt-status.git/blob - mpt-status.spec
Initial import mpt-status 1.2.0-1 packaging
[sven/mpt-status.git] / mpt-status.spec
1 Summary: get RAID status out of mpt (and other) HW RAID controllers
2 Name: mpt-status
3 Version: 1.2.0
4 Release: 1%{?dist}
5 License: GPL
6 Group: Applications/System
7 URL: http://www.drugphish.ch/~ratz/mpt-status/
8 Packager: Sven Hoexter (sven@timegate.de)
9 Source: mpt-status-%{version}.tar.gz
10 Patch1: mpt-status.header_path.patch
11 Patch2: mpt-status.includes.patch
12 BuildRequires: pciutils-devel
13
14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15
16 %description
17 The mpt-status software is a query tool to access the running
18 configuration and status of LSI SCSI HBAs. mpt-status allows
19 you to monitor the health and status of your RAID setup.
20
21 %prep
22 %setup -n mpt-status-%{version}
23 %patch1 -p1
24 %patch2 -p1
25
26 %build
27 %{__make}
28
29 %install
30 %{__rm} -rf %{buildroot}
31 %{__install} -D -m0755 mpt-status %{buildroot}%{_sbindir}/mpt-status
32
33 %clean
34 %{__rm} -rf %{buildroot}
35
36 %files
37 %defattr(-, root, root, 0755)
38 %doc doc/*
39 %{_sbindir}/mpt-status
40
41 %changelog
42 * Sun Sep 11 2011 Sven Hoexter <sven@timegate.de> - 1.2.0-1
43 - Add Patch1 and Patch2, taken from Debian and re-diffed for a
44   generic path.
45 - Add BuildRequires pciutils-devel.
46 - Add %{dist} to the release version.
47 - Add BuildRoot format from one of the Fedora examples.
48 - Change Packager to Sven Hoexter <sven@timegate.de>.
49 - Copy the short and long description from the Debian package.
50
51 * Fri Jun 30 2006 Roberto Nibali (ratz@drugphish.ch)
52 - Changed release version
53
54 * Fri Jun 30 2006 Rich Edelman (rich.edelman@openwave.com)
55 - Upgraded to version 1.2.0-RC7
56 - Changed Makefile to use /lib/modules/`uname -r`/build as the KERNEL_PATH 
57   directory, instead of /usr/src/linux. This should make building this package
58   across different distributions easier. (Patch mpt-status-fix-kernel-path.diff)
59
60 * Thu Jul 14 2005 Jean-Philippe CIVADE <jp.civade@100p100.net> - 1.1.3-0
61 - Initial package.