1 Summary: User-space programs for Dell Inspiron and Latitude laptops
2 Summary(pl): Programy przestrzeni u¿ytkownika dla laptopów Dell Inspiron i Latitude
7 Group: Applications/System
8 Source0: http://people.debian.org/~dz/i8k/%{name}_%{version}.tar.gz
9 # Source0-md5: 50c03dde689c5709406118a7c6c120db
11 Source2: i8kbuttons.aumix
12 Source3: i8kbuttons.conf
13 URL: http://people.debian.org/~dz/i8k/
17 ExclusiveArch: %{ix86}
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 This package contains a user-space programs for accessing the SMM BIOS
22 of Dell Inspiron and Latitude laptops. The SMM BIOS is used on many
23 recent laptops to implement APM functionalities and to access custom
24 hardware, for example the cooling fans and volume buttons.
27 Ten pakiet zawiera programy dzia³aj±ce w przestrzeni u¿ytkownika
28 s³u¿±ce do dostêpu do SMM BIOS-u laptopów Dell Inspiron i Latitude.
29 SMM BIOS w nowych laptopach s³u¿y do implementowania funkcjonalno¶ci
30 APM i dostêpu do specyficznego sprzêtu, na przyk³ad wiatraczków
31 ch³odz±cych i przycisków g³o¶no¶ci.
39 CFLAGS="%{rpmcflags} -Wall"
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_bindir}
44 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
45 install -d $RPM_BUILD_ROOT%{_mandir}/man1
47 install i8kmon.conf $RPM_BUILD_ROOT%{_sysconfdir}
48 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
49 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}
50 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}
51 install i8kbuttons.1 i8kctl.1 i8kmon.1 $RPM_BUILD_ROOT%{_mandir}/man1
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
61 echo "Now modprobe i8k module."
63 echo "Since than you'll be able to control fans and buttons."
67 %defattr(644,root,root,755)
68 %doc README.i8kutils examples
69 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*.conf
70 %attr(754,root,root) /etc/rc.d/init.d/i8kutils
71 %attr(755,root,root) %{_bindir}/*