X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=mpt-status.spec;h=ac09ad4aedf4fc82fc161be43b5165393d7eb050;hb=5cf3af2b471101f5bc15a389c3e480fcdb3a8b5a;hp=6b6c5605317e2c73d3b01f8d89bab65fe5ffbf28;hpb=788c5fd8d6135b9fa39134677028fdaf3664dc2d;p=sven%2Fmpt-status.git diff --git a/mpt-status.spec b/mpt-status.spec index 6b6c560..ac09ad4 100644 --- a/mpt-status.spec +++ b/mpt-status.spec @@ -1,16 +1,15 @@ Summary: Get RAID status out of mpt (and other) HW RAID controllers Name: mpt-status Version: 1.2.0 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ Group: Applications/System -URL: http://www.drugphish.ch/~ratz/mpt-status/ -Source: http://www.drugphish.ch/~ratz/mpt-status/%{name}-%{version}.tar.gz +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 +Patch3: mpt-status.fsf_address.patch BuildRequires: pciutils-devel -Requires: redhat-lsb, daemonize Requires (preun): /sbin/chkconfig Requires (preun): /sbin/service Requires (post): /sbin/chkconfig @@ -26,6 +25,7 @@ you to monitor the health and status of your RAID setup. %setup -q -n %{name}-%{version} %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build %{__make} @@ -34,15 +34,17 @@ you to monitor the health and status of your RAID setup. %{__rm} -rf %{buildroot} %{__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 %clean %{__rm} -rf %{buildroot} %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 @@ -52,9 +54,25 @@ you to monitor the health and status of your RAID setup. /sbin/chkconfig --del mpt-statusd %changelog +* 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. +* 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 + the init script monitoring facility you have to aquire a + daemonize by yourself. +- Remove URL and shorten Source - original author website is + no longer online. +- Add mpt-status.fsf_address.patch to update the FSF address. +- Install the mpt-status manpage. + * Sun Oct 16 2011 Sven Hoexter - 1.2.0-3 - Add mpt-status.init as Source10 and install it into the package. -- Require redhat-lsb, daemonize and chkconfig/service for post/preun. +- Require daemonize and chkconfig/service for post/preun. - post and preun snippets to add/remove mpt-status from the chkconfig service list.