Summary: A utility to collect various linux performance data Name: collectl Version: 3.7.4 Release: %mkrel 1 License: GPL+ or Artistic Group: Monitoring Source0: http://prdownloads.sourceforge.net/%name/%{name}-%{version}.src.tar.gz Source1:collectl-mga #patch0: collectl-3.4.0-install.patch Url: http://collectl.sourceforge.net/ BuildArch: noarch %description A utility to collect linux performance data %prep %setup -q #%patch0 %build %install export DESTDIR=$RPM_BUILD_ROOT ./INSTALL chmod 644 ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}.conf # lspci is under /usr/bin echo "Lspci = /usr/bin/lspci" >> ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}.conf chmod 644 ${RPM_BUILD_ROOT}%{_datadir}/doc/%{name}/* %files %doc RELEASE-%{name} docs/*.html README GPL ARTISTIC COPYING %config(noreplace) %{_sysconfdir}/%{name}.conf #gw AFAIK logrotate is not needed as collectl does that itself %dir /var/log/%{name} %{_bindir}/* %{_mandir}/man1/* %{_sysconfdir}/init.d/%{name} %{_datadir}/%{name} %preun # If collectl is running, stop it before removing. /etc/init.d/%{name} stop chkconfig --del %{name} 2>&1 > /dev/null %post chkconfig --add %{name} 2>&1 > /dev/null /etc/init.d/%{name} start %changelog * Thu Oct 16 2014 bcornec <bcornec> 3.7.4-1.mga5 + Revision: 758917 - Update to upstream collectl 3.7.4 * Wed Oct 15 2014 umeabot <umeabot> 3.7.3-4.mga5 + Revision: 739788 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 3.7.3-3.mga5 + Revision: 678472 - Mageia 5 Mass Rebuild * Tue Apr 01 2014 bcornec <bcornec> 3.7.3-2.mga5 + Revision: 611123 - Update to upstream collectl 3.7.3 * Tue Oct 22 2013 umeabot <umeabot> 3.6.9-2.mga4 + Revision: 545691 - Mageia 4 Mass Rebuild + bcornec <bcornec> - Update to upstream 3.6.9 due to critical bug on 3.6.8 * Wed Oct 16 2013 bcornec <bcornec> 3.6.8-1.mga4 + Revision: 501578 - updated collectl sha1 - Update to upstream 3.6.8 (Fix change in install dirs and some restrictive modes at installation time) - Created package structure for collectl.