]> git.pld-linux.org Git - packages/thermal-daemon.git/blob - thermal-daemon.spec
22ab883f7aff0fea96e0a8433f95cd895dcb6bb2
[packages/thermal-daemon.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:        1
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 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
20 Requires:       dbus >= 1.1
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)
26
27 %description
28 Thermal Daemon monitors and controls platform temperature.
29
30 %description -l pl.UTF-8
31 Thermal Daemon monitoruje i kontroluje temperaturÄ™ komputera.
32
33 %prep
34 %setup -q -n thermal_daemon-%{version}
35
36 %build
37 install -d build-aux
38 %{__aclocal}
39 %{__autoconf}
40 %{__autoheader}
41 %{__automake}
42 %configure
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 cp -p data/thermal-conf.xml $RPM_BUILD_ROOT/%{_sysconfdir}/thermald
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %post
56 %systemd_post thermald.service
57
58 %preun
59 %systemd_preun thermald.service
60
61 %postun
62 %systemd_reload
63
64 %files
65 %defattr(644,root,root,755)
66 %doc README.txt
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
This page took 0.082891 seconds and 2 git commands to generate.