[packages/thermal-daemon] - initial

arekm arekm at pld-linux.org
Mon Sep 15 21:31:14 CEST 2014


commit 1f900f61ade1841bfd1ee68df898c77176f25f04
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Sep 15 21:31:02 2014 +0200

    - initial

 thermal-daemon.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)
---
diff --git a/thermal-daemon.spec b/thermal-daemon.spec
new file mode 100644
index 0000000..c0947c7
--- /dev/null
+++ b/thermal-daemon.spec
@@ -0,0 +1,63 @@
+Summary:	The "Linux Thermal Daemon" program from 01.org
+Name:		thermal-daemon
+Version:	1.3
+Release:	1
+License:	GPL v2+
+Group:		Base
+URL:		https://github.com/01org/thermal_daemon
+Source0:	https://github.com/01org/thermal_daemon/archive/v%{version}.tar.gz
+# Source0-md5:	d80f6dd4e8c080cdeaa943afbfa87523
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	dbus-glib-devel
+BuildRequires:	glib2-devel
+BuildRequires:	libxml2-devel
+Requires(post,preun,postun):	systemd-units >= 38
+Requires:	systemd-units >= 38
+
+%description
+Thermal Daemon monitors and controls platform temperature.
+
+%prep
+%setup -q -n thermal_daemon-%{version}
+
+%build
+install -d build-aux
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%systemd_post thermald.service
+
+%preun
+%systemd_preun thermald.service
+
+%postun
+%systemd_reload
+
+%files
+%defattr(644,root,root,755)
+%doc README.txt
+%attr(755,root,root) %{_sbindir}/thermald
+%config(noreplace) /etc/dbus-1/system.d/org.freedesktop.thermald.conf
+%{_datadir}/dbus-1/system-services/org.freedesktop.thermald.service
+%dir %{_sysconfdir}/thermald
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/thermald/thermal-conf.xml
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/thermald/thermal-cpu-cdev-order.xml
+%{_mandir}/man5/thermal-conf.xml.5*
+%{_mandir}/man8/thermald.8*
+%{systemdunitdir}/thermald.service
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/thermal-daemon.git/commitdiff/1f900f61ade1841bfd1ee68df898c77176f25f04



More information about the pld-cvs-commit mailing list