X-Git-Url: https://git.sven.stormbind.net/?p=sven%2Fmpt-status.git;a=blobdiff_plain;f=mpt-status.spec;h=b71a4b3eae8cd66dd5e594cf024722ff7ba41a5f;hp=b9915077c6a2176a570fb120ddd65f9a1652b3b9;hb=HEAD;hpb=1c91116ee14743415e1517d9675c5e01a12a6cb6 diff --git a/mpt-status.spec b/mpt-status.spec index b991507..b71a4b3 100644 --- a/mpt-status.spec +++ b/mpt-status.spec @@ -1,10 +1,11 @@ Summary: Get RAID status out of mpt (and other) HW RAID controllers Name: mpt-status Version: 1.2.0 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ Group: Applications/System -Source: %{name}-%{version}.tar.gz +URL: http://sven.stormbind.net/mpt-status-rhel/ +Source: http://ftp.de.debian.org/debian/pool/main/m/mpt-status/%{name}_%{version}.orig.tar.gz Source10: mpt-status.init Patch1: mpt-status.header_path.patch Patch2: mpt-status.includes.patch @@ -32,7 +33,6 @@ you to monitor the health and status of your RAID setup. %install %{__rm} -rf %{buildroot} -mkdir -p %{buildroot}%{_mandir}/man8 %{__install} -D -m0755 mpt-status %{buildroot}%{_sbindir}/mpt-status %{__install} -D -m0755 %{SOURCE10} %{buildroot}/%{_sysconfdir}/rc.d/init.d/mpt-statusd %{__install} -D -m0644 man/mpt-status.8 %{buildroot}%{_mandir}/man8/mpt-status.8 @@ -42,9 +42,10 @@ mkdir -p %{buildroot}%{_mandir}/man8 %files %defattr(-, root, root, 0755) -%doc doc/* +%doc doc/{AUTHORS,Changelog,COPYING,DeveloperNotes,FAQ,README,ReleaseNotes,TODO} %{_sbindir}/mpt-status %{_sysconfdir}/rc.d/init.d/mpt-statusd +%{_mandir}/man8/mpt-status.* %post /sbin/chkconfig --add mpt-statusd @@ -54,7 +55,14 @@ mkdir -p %{buildroot}%{_mandir}/man8 /sbin/chkconfig --del mpt-statusd %changelog -* Wed Aug 04 2014 Sven Hoexter - 1.2.0-4 +* Tue Aug 05 2014 Sven Hoexter - 1.2.0-5 +- Do not install the INSTALL file from doc - copied the approach + form the openSuSE spec file. +- Reference the orig.tar.gz from the Debian pool as Source - another + approach copied from openSuSE. +- Point URL to my own website since the original website is gone. + +* Mon Aug 04 2014 Sven Hoexter - 1.2.0-4 - Changed chkconfig and LSB header to not activate the init script by default. - Removed depedency on daemonize, if you would like to use