1 Summary: ACPI scripts for EeePC netbook computers
2 Summary(pl.UTF-8): Skrypty ACPI dla notebooków EeePC
3 Name: eeepc-acpi-utilities
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/
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 ACPI scripts for EeePC netbook computers.
18 Keys are configured as follows by default:
23 - Screen resolution cycle (1024x600, 800x600, 640x480)
27 Alternately any two of the following can be enabled instead of
30 - Rotate Screen (Cycles Left, Inverted, Right, then Normal)
31 - CPU Mode cycle (Performance, On Demand, Power Saver)
32 - Firefox (Customizable)
33 - Pidgin (Customizable)
35 The FN-[F1-F12] keys are set to the following by default:
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
48 Features: Zero resident memory footprint unless keys are pressed, fast
49 response, parameter save / restore, fan management, CPU frequency
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
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/
74 rm -rf $RPM_BUILD_ROOT
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
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