diff --git a/.gitignore b/.gitignore index e69de29..c5eb76b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/xsensors-0.72.tar.gz diff --git a/sources b/sources index e69de29..44f52d7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e852ce37de630594ce1850d179b9570e xsensors-0.72.tar.gz diff --git a/xsensors.spec b/xsensors.spec new file mode 100644 index 0000000..ffb1743 --- /dev/null +++ b/xsensors.spec @@ -0,0 +1,60 @@ +Name: xsensors +Version: 0.72 +Release: 1%{?dist} +Summary: An X11 interface to lm_sensors + +License: GPLv2+ +Url: https://github.com/Mystro256/xsensors +#Download here: https://github.com/Mystro256/xsensors/archive/0.72.tar.gz +Source: %{name}-%{version}.tar.gz + +BuildRequires: gtk2-devel +BuildRequires: lm_sensors-devel +BuildRequires: cairo-devel +BuildRequires: glib2-devel +BuildRequires: desktop-file-utils + +%description +Xsensors is a simple GUI program that allows you to read useful data from the +lm_sensors library in a digital read-out like fashion, such as the temperature, +voltage ratings and fan speeds of the running computer. + +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} + +%install +make install DESTDIR=%{buildroot} +desktop-file-validate \ + %{buildroot}%{_datadir}/applications/%{name}.desktop +install -p -D -m 0644 xdg/%{name}.1 %{buildroot}/%{_mandir}/man1/%{name}.1 + +%files +%doc AUTHORS COPYING README ChangeLog +%{_datadir}/pixmaps/%{name}.xpm +%{_bindir}/%{name} +%{_datadir}/applications/%{name}.desktop +%{_mandir}/man1/%{name}.1* + +%changelog +* Fri Jan 3 2014 Jeremy Newton - 0.72-1 +- New version, minor fixes +- Removed unnecessary configure flag +- Removed unnecessary post actions +- Fixed website + +* Sat Apr 9 2011 Jeremy Newton - 0.71-2 +- Added missing build flags + +* Sat Apr 9 2011 Jeremy Newton - 0.71-1 +- Switched to new upstream source + +* Sat Feb 19 2011 Jeremy Newton - 0.70-2 +- Removed build flags +- Added missing dependancy + +* Sat Feb 19 2011 Jeremy Newton - 0.70-1 +- Initial package SPEC created