]> git.pld-linux.org Git - packages/thermal-daemon.git/blame - thermal-daemon.spec
make printing time_t more portable
[packages/thermal-daemon.git] / thermal-daemon.spec
CommitLineData
1f900f61 1Summary: The "Linux Thermal Daemon" program from 01.org
213541ca 2Summary(pl.UTF-8): Linux Thermal Daemon z 01.org
1f900f61 3Name: thermal-daemon
307266a4 4Version: 2.2
1f900f61
AM
5Release: 1
6License: GPL v2+
7Group: Base
7e1ac1df 8Source0: https://github.com/01org/thermal_daemon/archive/v%{version}/%{name}-%{version}.tar.gz
307266a4 9# Source0-md5: 4e86f9c2fedcdfc10bb2654edcc96414
84428206 10Patch0: print-time_t.patch
568e1a64 11URL: https://github.com/01org/thermal_daemon
213541ca
JB
12BuildRequires: autoconf >= 2.50
13BuildRequires: automake >= 1:1.11
14BuildRequires: dbus-devel >= 1.1
15BuildRequires: dbus-glib-devel >= 0.94
16BuildRequires: glib2-devel >= 1:2.22
17BuildRequires: libxml2-devel >= 2.4
18BuildRequires: pkgconfig
568e1a64 19BuildRequires: rpmbuild(macros) >= 1.671
1f900f61 20Requires(post,preun,postun): systemd-units >= 38
213541ca
JB
21Requires: dbus >= 1.1
22Requires: dbus-glib >= 0.94
23Requires: glib2 >= 1:2.22
24Requires: libxml2 >= 2.4
1f900f61 25Requires: systemd-units >= 38
568e1a64 26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
1f900f61
AM
27
28%description
29Thermal Daemon monitors and controls platform temperature.
30
213541ca
JB
31%description -l pl.UTF-8
32Thermal Daemon monitoruje i kontroluje temperaturę komputera.
33
1f900f61
AM
34%prep
35%setup -q -n thermal_daemon-%{version}
84428206 36%patch0 -p1
1f900f61
AM
37
38%build
39install -d build-aux
40%{__aclocal}
41%{__autoconf}
42%{__autoheader}
43%{__automake}
44%configure
1f900f61
AM
45%{__make}
46
47%install
48rm -rf $RPM_BUILD_ROOT
1f900f61
AM
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
51
22c6fe93
JP
52cp -p data/thermal-conf.xml $RPM_BUILD_ROOT/%{_sysconfdir}/thermald
53
1f900f61
AM
54%clean
55rm -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
1f900f61 69%dir %{_sysconfdir}/thermald
22c6fe93 70%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/thermald/thermal-conf.xml
1f900f61 71%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/thermald/thermal-cpu-cdev-order.xml
568e1a64
ER
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
1f900f61
AM
75%{_mandir}/man5/thermal-conf.xml.5*
76%{_mandir}/man8/thermald.8*
77%{systemdunitdir}/thermald.service
This page took 0.087385 seconds and 4 git commands to generate.