Summary: Display values read from your PC on an analog gauge Name: gauge Version: 3.9 Release: 1%{?dist} License: GPLv3+ URL: https://www.theknight.co.uk/ Packager: Chris Knight Group: Applications/Productivity Source: https://www.theknight.co.uk/releases/source/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: gtk3-devel desktop-file-utils libcurl-devel libxml2-devel json-glib-devel pango-devel zlib-devel gcc BuildRequires: libdial libdial-devel %if 0%{?suse_version} BuildRequires: libsensors4-devel %else BuildRequires: lm_sensors-devel %endif %description Analog Gauge can display gauges showing CPU, Memory and more information. %prep %setup -q %build %if 0%{?mageia} %configure2_5x %else %configure %endif make CDEBUGFLAGS="$RPM_OPT_FLAGS" CXXDEBUGFLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT mkdir $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications mkdir -p $RPM_BUILD_ROOT%{_datadir}/metainfo mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps install -p -m 755 gauge $RPM_BUILD_ROOT%{_bindir}/gauge install -p -m 644 icons/scalable/gauge.svg $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/gauge.svg install -p -m 644 icons/128x128/gauge.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/gauge.png install -p -m 644 icons/48x48/gauge.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/gauge.png install -p -m 644 uk.co.theknight.gauge.metainfo.xml ${RPM_BUILD_ROOT}%{_datadir}/metainfo/uk.co.theknight.gauge.metainfo.xml desktop-file-install --vendor="" --dir=${RPM_BUILD_ROOT}%{_datadir}/applications gauge.desktop %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_bindir}/gauge %{_datadir}/applications/gauge.desktop %{_datadir}/icons/hicolor/scalable/apps/gauge.svg %{_datadir}/icons/hicolor/128x128/apps/gauge.png %{_datadir}/icons/hicolor/48x48/apps/gauge.png %{_datadir}/metainfo/uk.co.theknight.gauge.metainfo.xml %doc COPYING AUTHORS %changelog * Wed Mar 22 2023 Chris Knight 3.9-1 - Fixes and support for new compilers. * Mon Jan 01 2018 Chris Knight 2.1.7-1 - New release with support for Fedora 27 and ubuntu 17.10. * Thu Nov 17 2011 Chris Knight 2.0.1-1 - Lots of work porting to GTK3 for Gnome 3 desktops. * Tue Mar 09 2010 Chris Knight 1.0.0-1 - Made suggested changes to the spec file