]>
Commit | Line | Data |
---|---|---|
06440297 SP |
1 | Summary: ACPI scripts for EeePC netbook computers |
2 | Summary(pl.UTF-8): Skrypty ACPI dla notebooków EeePC | |
3 | Name: eeepc-acpi-utilities | |
4 | Version: 1.0.9 | |
5 | Release: 0.1 | |
6 | License: GPL | |
7 | Group: X11/Applications | |
8 | Source0: http://dl.sourceforge.net/eeepc-acpi-util/%{name}_%{version}.tar.gz | |
9 | # Source0-md5: cc32bd733b980d76beaac051f6b2cf4e | |
10 | URL: http://eeepc-acpi-util.sourceforge.net/ | |
11 | Requires: acpid | |
12 | BuildArch: noarch | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | ACPI scripts for EeePC netbook computers. | |
17 | ||
18 | Keys are configured as follows by default: | |
19 | ||
20 | Top row (4 keys) | |
21 | ||
22 | - Touchpad On / Off | |
23 | - Screen resolution cycle (1024x600, 800x600, 640x480) | |
24 | - Bluetooth On / Off | |
25 | - Webcam On / Off | |
26 | ||
27 | Alternately any two of the following can be enabled instead of | |
28 | Bluetooth / Webcam: | |
29 | ||
30 | - Rotate Screen (Cycles Left, Inverted, Right, then Normal) | |
31 | - CPU Mode cycle (Performance, On Demand, Power Saver) | |
32 | - Firefox (Customizable) | |
33 | - Pidgin (Customizable) | |
34 | ||
35 | The FN-[F1-F12] keys are set to the following by default: | |
36 | ||
37 | - F1 - Sleep (not managed by my ACPI Scripts) | |
38 | - F2 - WIFI (It will autodetect your adapter, or alternately you can | |
39 | select ndiswrapper mode) | |
40 | - F5-F6 Brightness (not managed by my ACPI Scripts) | |
41 | - F7 - LCD power Toggle On / Off | |
42 | - F8 - VGA Output toggle | |
43 | - F9 - Gnome System Monitor | |
44 | - F10 - Volume Mute | |
45 | - F11 - Volume - | |
46 | - F12 - Volume + | |
47 | ||
48 | Features: Zero resident memory footprint unless keys are pressed, fast | |
49 | response, parameter save / restore, fan management, CPU frequency | |
50 | management, and more. | |
51 | ||
52 | %prep | |
53 | %setup -q | |
54 | ||
55 | %build | |
56 | ||
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/{acpi,cron.d,default,rc.d/init.d,xdg} | |
60 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/acpi/{eeepc,events} | |
61 | install -d $RPM_BUILD_ROOT%{_datadir}/{,applications,pixmaps} | |
62 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart | |
63 | ||
64 | install acpi/eeepc/*.sh $RPM_BUILD_ROOT%{_sysconfdir}/acpi/eeepc/ | |
65 | install acpi/events/eeepc-hotkeys $RPM_BUILD_ROOT%{_sysconfdir}/acpi/events/ | |
66 | install cron.d/eeepc-fan $RPM_BUILD_ROOT/etc/cron.d/ | |
67 | install default/eeepc-acpi $RPM_BUILD_ROOT%{_sysconfdir}/default/ | |
68 | install init.d/eeepc-restore $RPM_BUILD_ROOT/etc/rc.d/init.d/ | |
69 | install usr/share/applications/eeepc.desktop $RPM_BUILD_ROOT%{_datadir}/applications/ | |
70 | install usr/share/pixmaps/eee.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/ | |
71 | install xdg/autostart/eeepc-acpi-util.desktop $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/ | |
72 | ||
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %files | |
77 | %defattr(644,root,root,755) | |
78 | %dir %{_sysconfdir}/acpi/eeepc | |
79 | %attr(755,root,root) %{_sysconfdir}/acpi/eeepc/*.sh | |
80 | %{_sysconfdir}/acpi/events/eeepc-hotkeys | |
81 | /etc/cron.d/eeepc-fan | |
82 | %{_sysconfdir}/default/eeepc-acpi | |
83 | %attr(754,root,root) /etc/rc.d/init.d/eeepc-restore | |
84 | %{_sysconfdir}/xdg/autostart/eeepc-acpi-util.desktop | |
85 | %{_desktopdir}/eeepc.desktop | |
86 | %{_pixmapsdir}/eee.png |