]> git.pld-linux.org Git - packages/eeepc-acpi-utilities.git/blame - eeepc-acpi-utilities.spec
- initial
[packages/eeepc-acpi-utilities.git] / eeepc-acpi-utilities.spec
CommitLineData
06440297
SP
1Summary: ACPI scripts for EeePC netbook computers
2Summary(pl.UTF-8): Skrypty ACPI dla notebooków EeePC
3Name: eeepc-acpi-utilities
4Version: 1.0.9
5Release: 0.1
6License: GPL
7Group: X11/Applications
8Source0: http://dl.sourceforge.net/eeepc-acpi-util/%{name}_%{version}.tar.gz
9# Source0-md5: cc32bd733b980d76beaac051f6b2cf4e
10URL: http://eeepc-acpi-util.sourceforge.net/
11Requires: acpid
12BuildArch: noarch
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16ACPI scripts for EeePC netbook computers.
17
18Keys are configured as follows by default:
19
20Top row (4 keys)
21
22- Touchpad On / Off
23- Screen resolution cycle (1024x600, 800x600, 640x480)
24- Bluetooth On / Off
25- Webcam On / Off
26
27Alternately any two of the following can be enabled instead of
28Bluetooth / 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
35The 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
48Features: Zero resident memory footprint unless keys are pressed, fast
49response, parameter save / restore, fan management, CPU frequency
50management, and more.
51
52%prep
53%setup -q
54
55%build
56
57%install
58rm -rf $RPM_BUILD_ROOT
59install -d $RPM_BUILD_ROOT%{_sysconfdir}/{acpi,cron.d,default,rc.d/init.d,xdg}
60install -d $RPM_BUILD_ROOT%{_sysconfdir}/acpi/{eeepc,events}
61install -d $RPM_BUILD_ROOT%{_datadir}/{,applications,pixmaps}
62install -d $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart
63
64install acpi/eeepc/*.sh $RPM_BUILD_ROOT%{_sysconfdir}/acpi/eeepc/
65install acpi/events/eeepc-hotkeys $RPM_BUILD_ROOT%{_sysconfdir}/acpi/events/
66install cron.d/eeepc-fan $RPM_BUILD_ROOT/etc/cron.d/
67install default/eeepc-acpi $RPM_BUILD_ROOT%{_sysconfdir}/default/
68install init.d/eeepc-restore $RPM_BUILD_ROOT/etc/rc.d/init.d/
69install usr/share/applications/eeepc.desktop $RPM_BUILD_ROOT%{_datadir}/applications/
70install usr/share/pixmaps/eee.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/
71install xdg/autostart/eeepc-acpi-util.desktop $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/
72
73%clean
74rm -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
This page took 0.028271 seconds and 4 git commands to generate.