Release: 4%{?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
%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
/sbin/chkconfig --del mpt-statusd
%changelog
+* Tue Aug 05 2014 Sven Hoexter <sven@timegate.de> - 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 <sven@timegate.de> - 1.2.0-4
- Changed chkconfig and LSB header to not activate the init script
by default.