SPECS: dazuko.spec - up to 2.3.2; _alt_kernel support; built-in ca...

zbyniu zbyniu at pld-linux.org
Thu Dec 28 13:15:35 CET 2006


Author: zbyniu                       Date: Thu Dec 28 12:15:35 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.3.2; _alt_kernel support; built-in capability module patch

---- Files affected:
SPECS:
   dazuko.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/dazuko.spec
diff -u SPECS/dazuko.spec:1.19 SPECS/dazuko.spec:1.20
--- SPECS/dazuko.spec:1.19	Mon Nov 13 15:53:20 2006
+++ SPECS/dazuko.spec	Thu Dec 28 13:15:29 2006
@@ -15,20 +15,20 @@
 Summary:	Linux Dazuko driver
 Summary(pl):	Sterownik Dazuko dla Linuksa
 Name:		dazuko
-Version:	2.2.0
+Version:	2.3.2
 Release:	%{_rel}
 Epoch:		0
 License:	BSD (library), GPL (Linux kernel module)
 Group:		Base/Kernel
 Source0:	http://www.dazuko.org/files/%{name}-%{version}.tar.gz
-# Source0-md5:	bbe7651888d9904fb6c82fdb02331d82
+# Source0-md5:	bb32e24ad60a31dbfc419d3341287f68
 Patch0:		%{name}-kbuild.patch
+Patch1:		%{name}-caps.patch
 URL:		http://www.dazuko.org/
 %if %{with kernel}
-%{?with_dist_kernel:BuildRequires:	kernel-module-build >= 3:2.6.14}
+%{?with_dist_kernel:BuildRequires:	kernel%{_alt_kernel}-module-build >= 3:2.6.14}
 BuildRequires:	rpmbuild(macros) >= 1.286
 %endif
-BuildRequires:	bash
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -55,7 +55,7 @@
 kernel-misc-dazuko lub kernel-smp-misc-dazuko.
 
 # kernel subpackages.
-%package -n kernel-misc-%{name}
+%package -n kernel%{_alt_kernel}-misc-%{name}
 Summary:	Linux driver for dazuko
 Summary(pl):	Linuksowy sterownik dazuko
 Release:	%{_rel}@%{_kernel_ver_str}
@@ -66,15 +66,15 @@
 Requires(postun):	%releq_kernel_up
 %endif
 
-%description -n kernel-misc-%{name}
+%description -n kernel%{_alt_kernel}-misc-%{name}
 This is driver for dazuko for Linux.
 
 This package contains Linux module.
 
-%description -n kernel-misc-%{name} -l pl
+%description -n kernel%{_alt_kernel}-misc-%{name} -l pl
 Ten pakiet zawiera sterownik dazuko dla Linuksa.
 
-%package -n kernel-smp-misc-%{name}
+%package -n kernel%{_alt_kernel}-smp-misc-%{name}
 Summary:	Linux SMP driver for dazuko
 Summary(pl):	Sterownik dazuko dla Linuksa SMP
 Release:	%{_rel}@%{_kernel_ver_str}
@@ -85,12 +85,12 @@
 Requires(postun):	%releq_kernel_smp
 %endif
 
-%description -n kernel-smp-misc-%{name}
+%description -n kernel%{_alt_kernel}-smp-misc-%{name}
 This is driver for dazuko for Linux.
 
 This package contains Linux SMP module.
 
-%description -n kernel-smp-misc-%{name} -l pl
+%description -n kernel%{_alt_kernel}-smp-misc-%{name} -l pl
 Ten pakiet zawiera sterownik dazuko dla Linuksa SMP.
 
 %package examples
@@ -134,6 +134,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %if %{with kernel}
@@ -156,7 +157,7 @@
 #	patching/creating makefile(s) (optional)
 
 	# NOTE: It's not autoconf configure.
-	bash ./configure \
+	./configure \
 		--kernelsrcdir=%{_kernelsrcdir} \
 		%{?debug:--enable-debug} \
 		--disable-compat1 \
@@ -181,7 +182,7 @@
 
 %if %{with userspace}
 # NOTE: It's not autoconf configure.
-bash ./configure \
+./configure \
 	%{?debug:--enable-debug} \
 	--disable-compat1 \
 	--without-module
@@ -224,25 +225,25 @@
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 
-%post	-n kernel-misc-dazuko
+%post	-n kernel%{_alt_kernel}-misc-dazuko
 %depmod %{_kernel_ver}
 
-%postun	-n kernel-misc-dazuko
+%postun	-n kernel%{_alt_kernel}-misc-dazuko
 %depmod %{_kernel_ver}
 
-%post	-n kernel-smp-misc-dazuko
+%post	-n kernel%{_alt_kernel}-smp-misc-dazuko
 %depmod %{_kernel_ver}smp
 
-%postun	-n kernel-smp-misc-dazuko
+%postun	-n kernel%{_alt_kernel}-smp-misc-dazuko
 %depmod %{_kernel_ver}smp
 
 %if %{with kernel}
-%files -n kernel-misc-dazuko
+%files -n kernel%{_alt_kernel}-misc-dazuko
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}/misc/*.ko*
 
 %if %{with smp} && %{with dist_kernel}
-%files -n kernel-smp-misc-dazuko
+%files -n kernel%{_alt_kernel}-smp-misc-dazuko
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}smp/misc/*.ko*
 %endif
@@ -274,6 +275,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2006/12/28 12:15:29  zbyniu
+- up to 2.3.2; _alt_kernel support; built-in capability module patch
+
 Revision 1.19  2006/11/13 14:53:20  sparky
 - don't use %{without ...}, it may not work after inverting bcond
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dazuko.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list