Name: xsensors Version: 0.70 Release: 1%{?dist} Summary: Displays all information from motherboard sensors License: GPLv2 Group: Applications/System URL: http://www.linuxhardware.org/xsensors/ Source: http://www.linuxhardware.org/xsensors/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: lm_sensors-devel, gtk2-devel, desktop-file-utils %description XSensors is a program designed to display all the related information from motherboard sensors. This information is gathered via lm_sensors, the software drivers that retrieves the sensor information from the hardware. %prep %setup -q %build %configure make %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} #menu entry mkdir -p %{buildroot}%{_datadir}/applications cat << EOF > %{buildroot}%{_datadir}/applications/%{name}.desktop [Desktop Entry] Name=Xsensors Comment=Displays all information from motherboard sensors Exec=%{name} Icon=%{_datadir}/pixmaps/xsensors/default.xpm Type=Application Terminal=false Categories=System; EOF desktop-file-install --vendor "" --delete-original \ --dir %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/%{name}.desktop %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc TODO README INSTALL COPYING AUTHORS ABOUT-NLS ChangeLog %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}/default.xpm %changelog * Sat Oct 16 2010 Paulo Roma 0.70-1 - Updated to 0.70 * Sat Dec 01 2007 Paulo Roma 0.60-1 - Updated to 0.60 * Mon Jun 04 2007 Paulo Roma 0.50-1 - Updated to 0.50 - Patched for supporting EMC6D102 * Tue Apr 10 2007 Paulo Roma 0.47-1 - Rebuilt for Fedora 6. - Improved spec file. * Tue Nov 01 2005 Scott Grayban 0.47-4bgn - Updated to 0.47. * Fri Dec 10 2004 Scott Grayban 0.46-4bgn - Added requires GTK2 and lm_sensors to install * Wed Nov 10 2004 Scott Grayban 0.46-3bgn - Re-Build for MDK 10.1 - New perl 5.8.5 required rebuild for 10.1 * Fri Jul 23 2004 0.46.3 - Rebuilded for new release extension - Rebuilded for i586 arch. * Mon Jul 19 2004 0.46.2 - rebuilded for correct desktop menu for KDE * Mon Jul 19 2004 0.46.1 - added desktop menu * Mon Jul 19 2004 0.46 - rebuilded and compiled for Mandrake 10.x