]> git.pld-linux.org Git - SPECS.git/blob - thermal-daemon.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / thermal-daemon.spec
1 Summary:        The "Linux Thermal Daemon" program from 01.org
2 Summary(pl.UTF-8):      Linux Thermal Daemon z 01.org
3 Name:           thermal-daemon
4 Version:        2.2
5 Release:        2
6 License:        GPL v2+
7 Group:          Base
8 Source0:        https://github.com/01org/thermal_daemon/archive/v%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5:  4e86f9c2fedcdfc10bb2654edcc96414
10 Patch0:         print-time_t.patch
11 URL:            https://github.com/01org/thermal_daemon
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake >= 1:1.11
14 BuildRequires:  dbus-devel >= 1.1
15 BuildRequires:  dbus-glib-devel >= 0.94
16 BuildRequires:  glib2-devel >= 1:2.22
17 BuildRequires:  libxml2-devel >= 2.4
18 BuildRequires:  pkgconfig
19 BuildRequires:  rpmbuild(macros) >= 1.671
20 Requires(post,preun,postun):    systemd-units >= 38
21 Requires:       dbus >= 1.1
22 Requires:       dbus-glib >= 0.94
23 Requires:       glib2 >= 1:2.22
24 Requires:       libxml2 >= 2.4
25 Requires:       systemd-units >= 38
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Thermal Daemon monitors and controls platform temperature.
30
31 %description -l pl.UTF-8
32 Thermal Daemon monitoruje i kontroluje temperaturÄ™ komputera.
33
34 %prep
35 %setup -q -n thermal_daemon-%{version}
36 %patch0 -p1
37
38 %build
39 install -d build-aux
40 %{__aclocal}
41 %{__autoconf}
42 %{__autoheader}
43 %{__automake}
44 %configure
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 cp -p data/thermal-conf.xml $RPM_BUILD_ROOT/%{_sysconfdir}/thermald
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post
58 %systemd_post thermald.service
59
60 %preun
61 %systemd_preun thermald.service
62
63 %postun
64 %systemd_reload
65
66 %files
67 %defattr(644,root,root,755)
68 %doc README.txt
69 %dir %{_sysconfdir}/thermald
70 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/thermald/thermal-conf.xml
71 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/thermald/thermal-cpu-cdev-order.xml
72 %config(noreplace) /etc/dbus-1/system.d/org.freedesktop.thermald.conf
73 %attr(755,root,root) %{_sbindir}/thermald
74 %{_datadir}/dbus-1/system-services/org.freedesktop.thermald.service
75 %{_mandir}/man5/thermal-conf.xml.5*
76 %{_mandir}/man8/thermald.8*
77 %{systemdunitdir}/thermald.service
This page took 0.428629 seconds and 3 git commands to generate.