Name: gsmartcontrol Version: 0.8.7 Release: 4 License: GPLv2, GPLv3 Url: http://gsmartcontrol.berlios.de Group: System/Kernel and hardware Source0: http://download.berlios.de/%{name}/%{name}-%{version}.tar.bz2 Source1: net.sourceforge.%{name}.policy Patch0: gsmartcontrol_parser_crash_fix.diff Summary: Hard Disk Health Inspection Tool Requires: gtkmm2.4 >= 2.12.0 Requires: smartmontools BuildRequires: pkgconfig(libpcre) BuildRequires: pkgconfig(gtkmm-2.4) >= 2.12.0 %description GSmartControl is a graphical user interface for smartctl, which is a tool for querying and controlling SMART (Self-Monitoring, Analysis, and Reporting Technology) data in hard disk drives. It allows you to inspect the drive's SMART data to determine its health, as well as run various tests on it. %prep %setup -q %apply_patches sed -i -e "s/Exec=.*gsmartcontrol-root\"/Exec=gsmartcontrol/" data/gsmartcontrol.desktop.in %build export CXX='%__cxx -std=c++11' %configure2_5x %make %install %makeinstall_std %__mkdir_p %{buildroot}%{_libexecdir} mv %{buildroot}/%{_bindir}/%{name} %{buildroot}%{_libexecdir}/%{name} # Policy Kit support for nice root access cat >%{buildroot}%{_bindir}/%{name} < 0.8.6-1mdv2011.0 + Revision: 712293 - Add patch0 to fix build with glib 2.31 - New version 0.8.6 * Sun Dec 05 2010 Oden Eriksson 0.8.5-2mdv2011.0 + Revision: 610986 - rebuild * Wed Jan 20 2010 Colin Guthrie 0.8.5-1mdv2010.1 + Revision: 493959 - New version: 0.8.5 - Drop an apparently unnneeded GCC 4.4 patch * Sun Jul 26 2009 Frederik Himpe 0.8.4-2mdv2010.0 + Revision: 400223 - Use consolehelper to launch gsmartcontrol as root when started from menu * Thu May 14 2009 Frederik Himpe 0.8.4-1mdv2010.0 + Revision: 375788 - Update to new version 0.8.4 - Remove unused source - Fix source URL * Sat Dec 27 2008 Funda Wang 0.8.3-1mdv2009.1 + Revision: 319963 - drop BR - New version 0.8.3 * Fri Nov 28 2008 Funda Wang 0.8.1-2mdv2009.1 + Revision: 307457 - drop requries on libpcre, it was already generated by binary dependency * Thu Nov 13 2008 Erwan Velu 0.8.1-1mdv2009.1 + Revision: 302911 - Adding missing buildrequires - Using new _root.sh script from the author - import gsmartcontrol * Mon Oct 06 2008 Alexander Shaduri - Updated .spec file to support OpenSUSE < 10.3, Fedora and friends, Mandriva (for OpenSUSE Build Service). * Mon Sep 15 2008 Alexander Shaduri - Initial .spec file.