SPECS: softmac.spec - package headers (needed by bcm43xx)

sparky sparky at pld-linux.org
Fri Jan 20 16:23:13 CET 2006


Author: sparky                       Date: Fri Jan 20 15:23:13 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package headers (needed by bcm43xx)

---- Files affected:
SPECS:
   softmac.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/softmac.spec
diff -u SPECS/softmac.spec:1.2 SPECS/softmac.spec:1.3
--- SPECS/softmac.spec:1.2	Fri Jan 20 16:07:39 2006
+++ SPECS/softmac.spec	Fri Jan 20 16:23:08 2006
@@ -42,6 +42,14 @@
 %description -l pl
 ***
 
+%package devel
+Summary:	Kernel headers
+Release:	%{_rel}@%{_kernel_ver_str}
+Group:		Base/Kernel
+
+%description devel
+SoftMAC kernel headers.
+
 %package -n kernel-net-softmac
 Summary:	Layer intended to be a software MAC layer
 Summary(pl):	***
@@ -140,6 +148,7 @@
 
 %if %{with kernel}
 install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}{,smp}/kernel/net
+install -d $RPM_BUILD_ROOT%{_usr}/src/%{name}-include
 
 for MOD in ieee80211_crypt_ccmp ieee80211_crypt_tkip \
 	ieee80211 ieee80211_crypt ieee80211_crypt_wep; do
@@ -158,6 +167,8 @@
 install softmac/ieee80211softmac-smp.ko \
 	$RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/kernel/net/ieee80211softmac.ko
 %endif
+
+cp -rf net $RPM_BUILD_ROOT%{_usr}/src/%{name}-include/
 %endif
 
 %clean
@@ -180,6 +191,10 @@
 %defattr(644,root,root,755)
 %endif
 
+%files devel
+%defattr(644,root,root,755)
+%{_usr}/src/%{name}-include
+
 %if %{with kernel}
 %files -n kernel-net-softmac
 %defattr(644,root,root,755)
@@ -198,6 +213,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/01/20 15:23:08  sparky
+- package headers (needed by bcm43xx)
+
 Revision 1.2  2006/01/20 15:07:39  sparky
 - adapterised
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/softmac.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list