1 Summary: User-space programs for Dell Inspiron and Latitude laptops
2 Summary(pl.UTF-8): Programy przestrzeni użytkownika dla laptopów Dell Inspiron i Latitude
7 Group: Applications/System
8 Source0: https://launchpad.net/i8kutils/trunk/%{version}/+download/%{name}_%{version}.tar.xz
9 # Source0-md5: 7470b2908b39a41e3f26b8b3398e189d
10 Patch0: %{name}-build.patch
12 Source2: i8kbuttons.aumix
13 Source3: i8kbuttons.conf
14 URL: https://launchpad.net/i8kutils
18 ExclusiveArch: %{ix86} %{x8664}
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 This package contains a user-space programs for accessing the SMM BIOS
23 of Dell Inspiron and Latitude laptops. The SMM BIOS is used on many
24 recent laptops to implement APM functionalities and to access custom
25 hardware, for example the cooling fans and volume buttons.
27 %description -l pl.UTF-8
28 Ten pakiet zawiera programy działające w przestrzeni użytkownika
29 służące do dostępu do SMM BIOS-u laptopów Dell Inspiron i Latitude.
30 SMM BIOS w nowych laptopach służy do implementowania funkcjonalności
31 APM i dostępu do specyficznego sprzętu, na przykład wiatraczków
32 chłodzących i przycisków głośności.
41 CFLAGS="%{rpmcppflags} %{rpmcflags} -Wall"
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{_bindir}
46 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
47 install -d $RPM_BUILD_ROOT%{_mandir}/man1
49 cp -p i8kmon.conf $RPM_BUILD_ROOT%{_sysconfdir}
50 cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
51 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}
52 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}
53 cp -p i8kctl.1 i8kmon.1 $RPM_BUILD_ROOT%{_mandir}/man1
55 cp -p i8kctl i8kfan i8kmon probe_i8k_calls_time \
56 $RPM_BUILD_ROOT%{_bindir}
59 rm -rf $RPM_BUILD_ROOT
63 echo "Now modprobe i8k module."
65 echo "Since than you'll be able to control fans and buttons."
69 %defattr(644,root,root,755)
70 %doc README.i8kutils TODO
71 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/i8kbuttons.conf
72 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/i8kmon.conf
73 %attr(754,root,root) /etc/rc.d/init.d/i8kutils
74 %attr(755,root,root) %{_bindir}/i8kbuttons.aumix
75 %attr(755,root,root) %{_bindir}/i8kctl
76 %attr(755,root,root) %{_bindir}/i8kfan
77 %attr(755,root,root) %{_bindir}/i8kmon
78 %attr(755,root,root) %{_bindir}/probe_i8k_calls_time
79 %{_mandir}/man1/i8kctl.1*
80 %{_mandir}/man1/i8kmon.1*