SPECS (AC-branch): ndiswrapper.spec - revert wrong branch commit

glen glen at pld-linux.org
Fri Apr 4 23:07:51 CEST 2008


Author: glen                         Date: Fri Apr  4 21:07:51 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- revert wrong branch commit

---- Files affected:
SPECS:
   ndiswrapper.spec (1.37.2.35 -> 1.37.2.36) 

---- Diffs:

================================================================
Index: SPECS/ndiswrapper.spec
diff -u SPECS/ndiswrapper.spec:1.37.2.35 SPECS/ndiswrapper.spec:1.37.2.36
--- SPECS/ndiswrapper.spec:1.37.2.35	Fri Apr  4 23:05:30 2008
+++ SPECS/ndiswrapper.spec	Fri Apr  4 23:07:46 2008
@@ -3,6 +3,8 @@
 %bcond_without	dist_kernel	# without distribution kernel
 %bcond_without	kernel		# don't build kernel modules
 %bcond_without	userspace	# don't build userspace tools
+%bcond_without	smp		# don't build SMP module
+%bcond_without	up		# don't build UP module
 %bcond_with	verbose		# verbose build (V=1)
 
 %if %{without kernel}
@@ -81,6 +83,34 @@
 
 Ten pakiet zawiera moduł jądra Linuksa.
 
+%package -n kernel%{_alt_kernel}-smp-net-ndiswrapper
+Summary:	Loadable Linux SMP kernel module that "wraps around" NDIS drivers
+Summary(pl.UTF-8):	Moduł jądra Linuksa SMP "owijający" sterowniki NDIS
+Group:		Base/Kernel
+Requires(post,postun):	/sbin/depmod
+%{?with_dist_kernel:Requires:	kernel%{_alt_kernel}-smp(vermagic) = %{_kernel_ver}}
+# loose dep intentional
+Requires:	%{pname} = %{epoch}:%{version}
+Requires:	dev >= 2.7.7-10
+
+%description -n kernel%{_alt_kernel}-smp-net-ndiswrapper
+Some wireless LAN vendors refuse to release hardware specifications or
+drivers for their products for operating systems other than Microsoft
+Windows. The ndiswrapper project makes it possible to use such
+hardware with Linux by means of a loadable kernel module that "wraps
+around" NDIS (Windows network driver API) drivers.
+
+This package contains Linux SMP kernel module.
+
+%description -n kernel%{_alt_kernel}-smp-net-ndiswrapper -l pl.UTF-8
+Niektórzy producenci bezprzewodowych kart sieciowych nie udostępniają
+specyfikacji lub sterowników dla swoich produktów, dla systemów innych
+niż Microsoft Windows. Projekt ndiswrapper umożliwia użycie takiego
+sprzętu w systemie Linux, dostarczając moduł jądra który "owija"
+sterowniki NDIS (API sterowników sieciowych w Windows).
+
+Ten pakiet zawiera moduł jądra Linuksa SMP.
+
 %prep
 %setup -q -n %{pname}-%{version}
 %patch0 -p1
@@ -136,6 +166,12 @@
 %postun	-n kernel%{_alt_kernel}-net-ndiswrapper
 %depmod %{_kernel_ver}
 
+%post	-n kernel%{_alt_kernel}-smp-net-ndiswrapper
+%depmod %{_kernel_ver}smp
+
+%postun -n kernel%{_alt_kernel}-smp-net-ndiswrapper
+%depmod %{_kernel_ver}smp
+
 %if %{with userspace}
 %files
 %defattr(644,root,root,755)
@@ -146,17 +182,28 @@
 %endif
 
 %if %{with kernel}
+%if %{with up} || %{without dist_kernel}
 %files -n kernel%{_alt_kernel}-net-ndiswrapper
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}/misc/ndiswrapper.ko*
 %endif
 
+%if %{with smp} && %{with dist_kernel}
+%files -n kernel%{_alt_kernel}-smp-net-ndiswrapper
+%defattr(644,root,root,755)
+/lib/modules/%{_kernel_ver}smp/misc/ndiswrapper.ko*
+%endif
+%endif
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.37.2.36  2008-04-04 21:07:46  glen
+- revert wrong branch commit
+
 Revision 1.37.2.35  2008-04-04 21:05:30  glen
 - 2.6.22 build for ac
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ndiswrapper.spec?r1=1.37.2.35&r2=1.37.2.36&f=u



More information about the pld-cvs-commit mailing list