]>
Commit | Line | Data |
---|---|---|
40db6017 | 1 | Summary: User-space programs for Dell Inspiron and Latitude laptops |
5a37aa0b | 2 | Summary(pl.UTF-8): Programy przestrzeni użytkownika dla laptopów Dell Inspiron i Latitude |
ebf6d934 | 3 | Name: i8kutils |
cc13fba7 | 4 | Version: 1.42 |
e34f700a | 5 | Release: 1 |
ebf6d934 | 6 | License: GPL |
40db6017 | 7 | Group: Applications/System |
cc13fba7 AM |
8 | Source0: https://launchpad.net/i8kutils/trunk/%{version}/+download/%{name}_%{version}.tar.xz |
9 | # Source0-md5: 7470b2908b39a41e3f26b8b3398e189d | |
10 | Patch0: %{name}-build.patch | |
c2860241 | 11 | Source1: %{name}.init |
94170c8a | 12 | Source2: i8kbuttons.aumix |
13 | Source3: i8kbuttons.conf | |
cc13fba7 | 14 | URL: https://launchpad.net/i8kutils |
40db6017 | 15 | Requires: aumix |
cc13fba7 AM |
16 | Requires: tcl |
17 | Requires: tk | |
18 | ExclusiveArch: %{ix86} %{x8664} | |
ebf6d934 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
ebf6d934 MC |
20 | |
21 | %description | |
40db6017 JB |
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 | |
ebf6d934 MC |
24 | recent laptops to implement APM functionalities and to access custom |
25 | hardware, for example the cooling fans and volume buttons. | |
26 | ||
c83694c9 JR |
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. | |
40db6017 | 33 | |
ebf6d934 | 34 | %prep |
cc13fba7 AM |
35 | %setup -q -n %{name} |
36 | %patch0 -p1 | |
ebf6d934 MC |
37 | |
38 | %build | |
89b0c65f JB |
39 | %{__make} \ |
40 | CC="%{__cc}" \ | |
cc13fba7 | 41 | CFLAGS="%{rpmcppflags} %{rpmcflags} -Wall" |
ebf6d934 MC |
42 | |
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
4ab196c2 | 45 | install -d $RPM_BUILD_ROOT%{_bindir} |
2b9c6666 | 46 | install -d $RPM_BUILD_ROOT/etc/rc.d/init.d |
ebf6d934 | 47 | install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
40db6017 | 48 | |
cc13fba7 AM |
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 | |
40db6017 | 54 | |
cc13fba7 | 55 | cp -p i8kctl i8kfan i8kmon probe_i8k_calls_time \ |
4ab196c2 | 56 | $RPM_BUILD_ROOT%{_bindir} |
40db6017 JB |
57 | |
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
ebf6d934 MC |
60 | |
61 | %post | |
62 | echo | |
63 | echo "Now modprobe i8k module." | |
64 | echo | |
65 | echo "Since than you'll be able to control fans and buttons." | |
66 | echo | |
67 | ||
ebf6d934 MC |
68 | %files |
69 | %defattr(644,root,root,755) | |
cc13fba7 AM |
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 | |
2b9c6666 | 73 | %attr(754,root,root) /etc/rc.d/init.d/i8kutils |
cc13fba7 | 74 | %attr(755,root,root) %{_bindir}/i8kbuttons.aumix |
4ab196c2 AM |
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 | |
cc13fba7 AM |
79 | %{_mandir}/man1/i8kctl.1* |
80 | %{_mandir}/man1/i8kmon.1* | |
81 |