1 Summary: The "Linux Thermal Daemon" program from 01.org
2 Summary(pl.UTF-8): Linux Thermal Daemon z 01.org
8 Source0: https://github.com/01org/thermal_daemon/archive/v%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5: 4e86f9c2fedcdfc10bb2654edcc96414
10 URL: https://github.com/01org/thermal_daemon
11 BuildRequires: autoconf >= 2.50
12 BuildRequires: automake >= 1:1.11
13 BuildRequires: dbus-devel >= 1.1
14 BuildRequires: dbus-glib-devel >= 0.94
15 BuildRequires: glib2-devel >= 1:2.22
16 BuildRequires: libxml2-devel >= 2.4
17 BuildRequires: pkgconfig
18 BuildRequires: rpmbuild(macros) >= 1.671
19 Requires(post,preun,postun): systemd-units >= 38
21 Requires: dbus-glib >= 0.94
22 Requires: glib2 >= 1:2.22
23 Requires: libxml2 >= 2.4
24 Requires: systemd-units >= 38
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Thermal Daemon monitors and controls platform temperature.
30 %description -l pl.UTF-8
31 Thermal Daemon monitoruje i kontroluje temperaturÄ™ komputera.
34 %setup -q -n thermal_daemon-%{version}
46 rm -rf $RPM_BUILD_ROOT
48 DESTDIR=$RPM_BUILD_ROOT
50 cp -p data/thermal-conf.xml $RPM_BUILD_ROOT/%{_sysconfdir}/thermald
53 rm -rf $RPM_BUILD_ROOT
56 %systemd_post thermald.service
59 %systemd_preun thermald.service
65 %defattr(644,root,root,755)
67 %dir %{_sysconfdir}/thermald
68 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/thermald/thermal-conf.xml
69 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/thermald/thermal-cpu-cdev-order.xml
70 %config(noreplace) /etc/dbus-1/system.d/org.freedesktop.thermald.conf
71 %attr(755,root,root) %{_sbindir}/thermald
72 %{_datadir}/dbus-1/system-services/org.freedesktop.thermald.service
73 %{_mandir}/man5/thermal-conf.xml.5*
74 %{_mandir}/man8/thermald.8*
75 %{systemdunitdir}/thermald.service