1 Summary: Wake-On-Lan support for nVidia nForce ethernet drivers
2 Summary(pl.UTF-8): Wsparcie dla Wake-On-Lan dla kart sieciowych nVidia nForce
8 Source0: ftp://ep09.pld-linux.org/people/siefca/software/%{name}-%{version}.tar.gz
9 # Source0-md5: cae4cce72d9316a37106b03d9a2ba1aa
10 BuildRequires: rpmbuild(macros) >= 1.268
11 Requires(post,preun): /sbin/chkconfig
14 ExclusiveArch: %{ix86} %{x8664}
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define localedir /etc/sysconfig/locale
18 %define _sbindir /sbin
21 nVidia nForce on-board ethernet drivers cannot correctly enter in the
22 sleep state. This causes problems with Wake-On-Lan feature. This
23 package implements work-around to fix it. For fine working the patched
24 forcedeth kernel driver is also required.
26 %description -l pl.UTF-8
27 Sterowniki dla kart sieciowych nVidia nForce nie potrafią tak ustawić
28 karty, aby mogła ona samodzielnie wejść w stan uśpienia. Sprawia to
29 kłopoty z obsługą funkcji Wake-On-Lan. Ten pakiet implementuje
30 obejście, aby ta funkcjonalność była możliwa. Do prawidłowego
31 działania wymagany jest dodatkowo odpowiednio spreparowany moduł jądra
39 --with-localedir=%{localedir}
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 /sbin/chkconfig --add forcedeth-wol
54 %service forcedeth-wol restart
57 if [ "$1" = "0" ]; then
58 %service forcedeth-wol stop
59 /sbin/chkconfig --del forcedeth-wol
63 %defattr(644,root,root,755)
64 %doc AUTHORS ChangeLog NEWS README
65 %doc doc/README*.txt doc/linux-*WON.patch
66 %attr(754,root,root) /etc/rc.d/init.d/forcedeth-wol
67 %attr(755,root,root) %{_sbindir}/pci-config
69 %lang(pl) %{localedir}/pl/LC_MESSAGES/forcedeth-wol.mo