diff --git a/.gitignore b/.gitignore index 6634138..6386141 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /xsensors-0.72.tar.gz /xsensors-0.73.tar.gz /0.75.tar.gz +/0.80.tar.gz diff --git a/sources b/sources index e09b4ad..9fc20bd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -de33ff917e5a4d90148d5f47a3cb4fcb 0.75.tar.gz +785ab0c26c4f6faf113b922088b5d4ec 0.80.tar.gz diff --git a/xsensors.spec b/xsensors.spec index 9e4e392..a3a9c75 100644 --- a/xsensors.spec +++ b/xsensors.spec @@ -1,5 +1,5 @@ Name: xsensors -Version: 0.75 +Version: 0.80 Release: 1%{?dist} Summary: An X11 interface to lm_sensors @@ -7,12 +7,16 @@ License: GPLv2+ Url: https://github.com/Mystro256/xsensors Source: https://github.com/Mystro256/%{name}/archive/%{version}.tar.gz +%if 0%{?rhel} >= 7 || 0%{?fedora} +BuildRequires: gtk3-devel +BuildRequires: libappstream-glib +%else BuildRequires: gtk2-devel +%endif BuildRequires: lm_sensors-devel BuildRequires: cairo-devel BuildRequires: glib2-devel BuildRequires: desktop-file-utils -BuildRequires: libappstream-glib %description Xsensors is a simple GUI program that allows you to read useful data from the @@ -30,18 +34,27 @@ make %{?_smp_mflags} make install DESTDIR=%{buildroot} desktop-file-validate \ %{buildroot}%{_datadir}/applications/%{name}.desktop +%if 0%{?rhel} >= 7 || 0%{?fedora} appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml +%endif %files %doc AUTHORS COPYING README ChangeLog -%{_datadir}/pixmaps/%{name}.xpm +%{_datadir}/%{name}/theme.tiff %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_mandir}/man1/%{name}.1* +%if 0%{?rhel} >= 7 || 0%{?fedora} %{_datadir}/appdata/%{name}.appdata.xml +%else +%exclude %{_datadir}/appdata/%{name}.appdata.xml +%endif %changelog +* Tue Nov 15 2016 Jeremy Newton - 0.80-1 +- Update to 0.80 + * Sun Sep 25 2016 Jeremy Newton - 0.75-1 - Update to 0.75