]> git.pld-linux.org Git - packages/forcedeth-wol.git/commitdiff
- major improvements: do not disable work-around on runlevel changes
authorsiefca <siefca@pld-linux.org>
Mon, 27 Nov 2006 13:01:38 +0000 (13:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    forcedeth-wol.spec -> 1.2

forcedeth-wol.spec

index 14c413fc79b319d376b7a92bb1f25de7b044e275..53ca9378edc9369536016c0cc40ab36d6e0dc382 100644 (file)
@@ -5,12 +5,11 @@ Version:      1.0
 Release:       1
 License:       GPL
 Group:         Base
-Source0:       ftp://ep09.pld-linux.org/people/siefca/software/%{name}-%{version}.tar.gz
-# Source0-md5: 650fa5aeb21e8fa62aa7f7b1d76c7a26
-Requires:      rc-scripts
-Requires:      ethtool
+Source0:       ftp://ftp.pld-linux.org/people/siefca/software/%{name}-%{version}.tar.gz
 Requires(post,preun):  /sbin/chkconfig
 Requires(post,preun):  rc-scripts
+Requires:      ethtool
+Requires:      rc-scripts
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -18,17 +17,18 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                _sbindir        /sbin
 
 %description
-nVidia nForce on-board ethernet drivers cannot correctly enter
-in the sleep state. This causes problems with Wake-On-Lan feature.
-This package implements work-around to fix it. For fine working
-the patched forcedeth kernel driver is also required.
+nVidia nForce on-board ethernet drivers cannot correctly enter in the
+sleep state. This causes problems with Wake-On-Lan feature. This
+package implements work-around to fix it. For fine working the patched
+forcedeth kernel driver is also required.
 
 %description -l pl
 Sterowniki dla kart sieciowych nVidia nForce nie potrafi± tak ustawiæ
 karty, aby mog³a ona samodzielnie wej¶æ w stan u¶pienia. Sprawia to
-k³opoty z obs³ug± funkcji Wake-On-Lan. Ten pakiet implementuje obej¶cie,
-aby ta funkcjonalno¶æ by³a mo¿liwa. Do prawid³owego dzia³ania wymagany
-jest dodatkowo odpowiednio spreparowany modu³ kernela forcedeth.
+k³opoty z obs³ug± funkcji Wake-On-Lan. Ten pakiet implementuje
+obej¶cie, aby ta funkcjonalno¶æ by³a mo¿liwa. Do prawid³owego
+dzia³ania wymagany jest dodatkowo odpowiednio spreparowany modu³
+kernela forcedeth.
 
 %prep
 %setup -q
@@ -43,23 +43,26 @@ rm -rf $RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-       
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/chkconfig --add forcedeth-wol
+/etc/rc.d/init.d/forcedeth-wol start >/dev/null 2>&1
 
-%postun
+%preun
 if [ "$1" = "0" ]; then
+       %service forcedeth-wol stop >/dev/null 2>&1
        /sbin/chkconfig --del forcedeth-wol
 fi
 
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%doc doc/*.txt doc/linux-*WON.patch
+%doc doc/README*.txt doc/linux-*WON.patch
 
 %attr(754,root,root) /etc/rc.d/init.d/forcedeth-wol
 %attr(755,root,root) %{_sbindir}/pci-config
This page took 0.067913 seconds and 4 git commands to generate.