[packages/psensor] new, version 0.4.4

glen glen at pld-linux.org
Fri Feb 8 13:23:04 CET 2013


commit 7f2e242da3fe8f9a2707174de3d6823aa17fd7f5
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Feb 8 14:22:16 2013 +0200

    new, version 0.4.4
    
    based on src.rpm
    http://download.opensuse.org/repositories/X11:/xfce:/nilda/openSUSE_Factory/src/psensor-0.4.4-1.5.src.rpm

 psensor.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)
---
diff --git a/psensor.spec b/psensor.spec
new file mode 100644
index 0000000..d2725f8
--- /dev/null
+++ b/psensor.spec
@@ -0,0 +1,60 @@
+Summary:	A Graphical Temperature Monitor
+Name:		psensor
+Version:	0.4.4
+Release:	1
+License:	GPL v2
+Group:		X11/Applications
+URL:		http://wpitchoune.net/psensor
+Source0:	http://wpitchoune.net/psensor/files/%{name}-%{version}-src.tar.gz
+# Source0-md5:	6765f61fa2b0c4118e88b0771e628130
+BuildRequires:	GConf2-devel
+BuildRequires:	cairo-devel
+BuildRequires:	gcc
+BuildRequires:	gtk+2-devel
+BuildRequires:	sed >= 4.0
+BuildRequires:	lm_sensors-devel
+Requires:	hddtemp
+Requires:	lm_sensors
+ExclusiveArch:	%{ix86} %{x8664}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Psensor is a graphical hardware temperature monitor for Linux.
+
+It is based on:
+- lm-sensors for retrieving hardware temperatures
+- GTK for the UI
+- Cairo for the graph drawing
+- NVidia library for retrieving NVidia GPUs temperature (not included
+  - licensing problem)
+
+%prep
+%setup -q
+
+%{__sed} -i -e 's,-Wall -O3,$(OPTFLAGS),' Makefile
+
+
+%build
+%{__make} \
+	CC="%{__cc}" \
+	OPTFLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_desktopdir}}
+
+install -Dp %{name} $RPM_BUILD_ROOT%{_bindir}
+install -Dp %{name}-server $RPM_BUILD_ROOT%{_bindir}
+cp -p %{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
+cp -p %{name}-32x32.png $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE CHANGES README
+%attr(755,root,root) %{_bindir}/%{name}
+%attr(755,root,root) %{_bindir}/%{name}-server
+%{_datadir}/%{name}
+%{_desktopdir}/%{name}.desktop
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/psensor.git/commitdiff/7f2e242da3fe8f9a2707174de3d6823aa17fd7f5



More information about the pld-cvs-commit mailing list