alexjnewt@hotmail.com ce0e94d
Name:           xsensors
Mystro256 4c8d7c1
Version:        0.80
bdde07e
Release:        3%{?dist}
alexjnewt@hotmail.com ce0e94d
Summary:        An X11 interface to lm_sensors
alexjnewt@hotmail.com ce0e94d
alexjnewt@hotmail.com ce0e94d
License:        GPLv2+
alexjnewt@hotmail.com ce0e94d
Url:            https://github.com/Mystro256/xsensors
Jeremy Newton cb9692a
Source:         https://github.com/Mystro256/%{name}/archive/%{version}.tar.gz
alexjnewt@hotmail.com ce0e94d
Mystro256 4c8d7c1
%if 0%{?rhel} >= 7 || 0%{?fedora}
Mystro256 4c8d7c1
BuildRequires:  gtk3-devel
Mystro256 4c8d7c1
BuildRequires:  libappstream-glib
Mystro256 4c8d7c1
%else
alexjnewt@hotmail.com ce0e94d
BuildRequires:  gtk2-devel
Mystro256 4c8d7c1
%endif
alexjnewt@hotmail.com ce0e94d
BuildRequires:  lm_sensors-devel
alexjnewt@hotmail.com ce0e94d
BuildRequires:  cairo-devel
alexjnewt@hotmail.com ce0e94d
BuildRequires:  glib2-devel
alexjnewt@hotmail.com ce0e94d
BuildRequires:  desktop-file-utils
alexjnewt@hotmail.com ce0e94d
alexjnewt@hotmail.com ce0e94d
%description
alexjnewt@hotmail.com ce0e94d
Xsensors is a simple GUI program that allows you to read useful data from the
alexjnewt@hotmail.com ce0e94d
lm_sensors library in a digital read-out like fashion, such as the temperature,
alexjnewt@hotmail.com ce0e94d
voltage ratings and fan speeds of the running computer.
alexjnewt@hotmail.com ce0e94d
alexjnewt@hotmail.com ce0e94d
%prep
alexjnewt@hotmail.com ce0e94d
%setup -q
alexjnewt@hotmail.com ce0e94d
alexjnewt@hotmail.com ce0e94d
%build
alexjnewt@hotmail.com ce0e94d
%configure
alexjnewt@hotmail.com ce0e94d
make %{?_smp_mflags}
alexjnewt@hotmail.com ce0e94d
alexjnewt@hotmail.com ce0e94d
%install
alexjnewt@hotmail.com ce0e94d
make install DESTDIR=%{buildroot}
alexjnewt@hotmail.com ce0e94d
desktop-file-validate \
alexjnewt@hotmail.com ce0e94d
  %{buildroot}%{_datadir}/applications/%{name}.desktop
Mystro256 4c8d7c1
%if 0%{?rhel} >= 7 || 0%{?fedora}
Jeremy Newton cb9692a
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml
Mystro256 4c8d7c1
%endif
alexjnewt@hotmail.com ce0e94d
alexjnewt@hotmail.com ce0e94d
%files
alexjnewt@hotmail.com ce0e94d
%doc AUTHORS COPYING README ChangeLog
Mystro256 4c8d7c1
%{_datadir}/%{name}/theme.tiff
Jeremy Newton cb9692a
%{_datadir}/icons/hicolor/*/apps/%{name}.png
alexjnewt@hotmail.com ce0e94d
%{_bindir}/%{name}
alexjnewt@hotmail.com ce0e94d
%{_datadir}/applications/%{name}.desktop
alexjnewt@hotmail.com ce0e94d
%{_mandir}/man1/%{name}.1*
Mystro256 4c8d7c1
%if 0%{?rhel} >= 7 || 0%{?fedora}
Jeremy Newton cb9692a
%{_datadir}/appdata/%{name}.appdata.xml
Mystro256 4c8d7c1
%else
Mystro256 4c8d7c1
%exclude %{_datadir}/appdata/%{name}.appdata.xml
Mystro256 4c8d7c1
%endif
alexjnewt@hotmail.com ce0e94d
Mystro256 8244736
%post
Mystro256 8244736
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
Mystro256 8244736
Mystro256 8244736
%postun
Mystro256 8244736
if [ $1 -eq 0 ] ; then
Mystro256 8244736
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
Mystro256 8244736
    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Mystro256 8244736
fi
Mystro256 8244736
Mystro256 8244736
%posttrans
Mystro256 8244736
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Mystro256 8244736
alexjnewt@hotmail.com ce0e94d
%changelog
bdde07e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.80-3
bdde07e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
bdde07e
Mystro256 8244736
* Wed Nov 16 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.80-2
Mystro256 8244736
- Added missing scriplet to update iconcache
Mystro256 8244736
Mystro256 4c8d7c1
* Tue Nov 15 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.80-1
Mystro256 4c8d7c1
- Update to 0.80
Mystro256 4c8d7c1
Jeremy Newton cb9692a
* Sun Sep 25 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.75-1
Jeremy Newton cb9692a
- Update to 0.75
Jeremy Newton cb9692a
1d96dd2
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.73-5
1d96dd2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1d96dd2
3e6cc3b
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.73-4
3e6cc3b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3e6cc3b
7eae8da
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.73-3
7eae8da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
7eae8da
b944dff
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.73-2
b944dff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b944dff
Jeremy Newton cb9692a
* Thu Apr 3 2014 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.73-1
alexjnewt@hotmail.com 0ab6883
- New version, fixes bug RH#1076012
alexjnewt@hotmail.com 0ab6883
Jeremy Newton cb9692a
* Fri Jan 3 2014 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.72-1
alexjnewt@hotmail.com ce0e94d
- New version, minor fixes
alexjnewt@hotmail.com ce0e94d
- Removed unnecessary configure flag
alexjnewt@hotmail.com ce0e94d
- Removed unnecessary post actions
alexjnewt@hotmail.com ce0e94d
- Fixed website
alexjnewt@hotmail.com ce0e94d
Jeremy Newton cb9692a
* Sat Apr 9 2011 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.71-2
alexjnewt@hotmail.com ce0e94d
- Added missing build flags
alexjnewt@hotmail.com ce0e94d
Jeremy Newton cb9692a
* Sat Apr 9 2011 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.71-1
alexjnewt@hotmail.com ce0e94d
- Switched to new upstream source
alexjnewt@hotmail.com ce0e94d
Jeremy Newton cb9692a
* Sat Feb 19 2011 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.70-2
alexjnewt@hotmail.com ce0e94d
- Removed build flags
alexjnewt@hotmail.com ce0e94d
- Added missing dependancy
alexjnewt@hotmail.com ce0e94d
Jeremy Newton cb9692a
* Sat Feb 19 2011 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.70-1
alexjnewt@hotmail.com ce0e94d
- Initial package SPEC created