Пакет kernel-modules-ndiswrapper-std-pae: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | %define module_name ndiswrapper %define module_version 1.56 %define module_release alt7 %define flavour std-pae BuildRequires(pre): rpm-build-kernel BuildRequires(pre): kernel-headers-modules-std-pae %setup_kernel_module %flavour %define module_dir /lib/modules/%kversion-%flavour-%krelease/%module_name Name: kernel-modules-%module_name-%flavour Version: %module_version Release: %module_release.%kcode.%kbuildrelease Group: System/Kernel and hardware Summary: %module_name kernel module allows you to use Windows WLAN card drivers Packager: Kernel Maintainer Team <kernel@packages.altlinux.org> Url: http://ndiswrapper.sourceforge.net License: GPL ExclusiveOS: Linux BuildRequires(pre): rpm-build-kernel BuildRequires: kernel-headers-modules-%flavour = %kepoch%kversion-%krelease BuildRequires: kernel-source-%module_name-%module_version Provides: kernel-modules-%module_name-%kversion-%flavour-%krelease = %version-%release Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease < %version-%release Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease > %version-%release PreReq: kernel-image-%flavour = %kepoch%kversion-%krelease ExclusiveArch: %karch Patch1: ndiswrapper_kernel_2.6.27.patch Patch2: ndiswrapper-2.6.29.patch Patch3: 2.6.35.patch Patch4: 2.6.37.patch Patch5: 2.6.38.patch %description Some vendors do not release specifications of the hardware or provide a linux driver for their wireless network cards. The NdisWrapper project provides a linux kernel module that loads and runs Ndis (Windows network driver API) drivers supplied by the vendors. This package contains only kernel module. The userspace tools from NdisWrapper comes in a separate package (ndiswrapper...). %prep rm -rf kernel-source-%module_name-%module_version tar -xvf %kernel_src/kernel-source-%module_name-%module_version.tar.gz %setup -D -T -n %module_name-%module_version/driver %if "%kversion" == "2.6.29" %patch2 -p2 %endif %if "%kversion" >= "2.6.35" %patch3 -p2 %endif %if "%kversion" >= "2.6.37" %patch4 -p1 %endif %if "%kversion" >= "2.6.38" %patch5 -p2 %endif %build . %_usrsrc/linux-%kversion-%flavour/gcc_version.inc %make_build KPSUB=26 KBUILD=%_usrsrc/linux-%kversion-%flavour KSRC=%_usrsrc/linux-%kversion-%flavour \ %ifarch %ix86 CC="gcc-$GCC_VERSION -m32" %endif %install mkdir -p \ %buildroot/%module_dir cp -a %module_name.ko %buildroot//%module_dir %files %dir %module_dir/ %module_dir/* %changelog * %(date "+%%a %%b %%d %%Y") %{?package_signer:%package_signer}%{!?package_signer:%packager} %version-%release - Build for kernel-image-%flavour-%kversion-%krelease. * Mon Dec 17 2012 Gleb F-Malinovskiy <glebfm@altlinux.org> 1.56-alt7 - new template * Thu May 26 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.56-alt6 - More fix by (GalaxyMaster) galaxy@openwall.com * Wed May 25 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.56-alt5.1 - Thanks (GalaxyMaster) galaxy@openwall.com for previous fix * Fri May 13 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.56-alt5 - Fixed for 2.6.37 * Thu Mar 24 2011 Anton Protopopov <aspsk@altlinux.org> 1.56-alt4 - Merge with boyarsh@ * Thu Dec 09 2010 Anton Protopopov <aspsk@altlinux.org> 1.56-alt3 - technical * Thu Dec 09 2010 Anton Protopopov <aspsk@altlinux.org> 1.56-alt2 - technical * Wed Mar 03 2010 Anton Protopopov <aspsk@altlinux.org> 1.56-alt1 - 1.56 * Thu Aug 06 2009 Michail Yakushin <silicium@altlinux.ru> 1.55-alt2 - alt2 * Mon Jul 20 2009 Anton Protopopov <aspsk@altlinux.org> 1.55-alt1 - 1.55 * Thu Jan 29 2009 Michail Yakushin <silicium@altlinux.ru> 1.54-alt1 - 1.54 * Thu Jul 03 2008 Michail Yakushin <silicium@altlinux.ru> 1.53-alt1 - 1.53 * Mon Feb 11 2008 Michail Yakushin <silicium@altlinux.ru> 1.52-alt1 - 1.52 * Thu Dec 13 2007 Sergey Vlasov <vsu@altlinux.ru> 1.50-alt1 - Version 1.50. * Wed Aug 08 2007 L.A. Kostis <lakostis@altlinux.ru> 1.47-alt1 - Version 1.47. * Sun Jun 10 2007 L.A. Kostis <lakostis@altlinux.ru> 1.46-alt1 - Version 1.46. * Sun Apr 22 2007 L.A. Kostis <lakostis@altlinux.ru> 1.42-alt1 - Version 1.42. * Sat Feb 17 2007 L.A. Kostis <lakostis@altlinux.ru> 1.37-alt1 - Version 1.37. * Mon Jan 29 2007 Sergey Vlasov <vsu@altlinux.ru> 1.31-alt2 - Removed unneeded "Prereq: modutils". * Sat Dec 09 2006 L.A. Kostis <lakostis@altlinux.ru> 1.31-alt1 - Version 1.31. * Fri Dec 01 2006 L.A. Kostis <lakostis@altlinux.org> 1.30-alt1 - Version 1.30. * Wed Nov 29 2006 L.A. Kostis <lakostis@altlinux.org> 1.29-alt1 - Version 1.29. * Sun Nov 19 2006 L.A. Kostis <lakostis@altlinux.org> 1.28-alt1 - Version 1.28. * Mon Oct 23 2006 L.A. Kostis <lakostis@altlinux.org> 1.27-alt1 - Version 1.27. * Sun Oct 22 2006 L.A. Kostis <lakostis@altlinux.org> 1.26-alt1 - Version 1.26. * Wed Oct 11 2006 L.A. Kostis <lakostis@altlinux.org> 1.24-alt1 - Version 1.24. * Fri Sep 22 2006 L.A. Kostis <lakostis@altlinux.org> 1.22-alt2 - add hack for %%ix86 cross-build on x86_64 host. * Fri Aug 11 2006 L.A. Kostis <lakostis@altlinux.ru> 1.22-alt1 - Version 1.22. * Sun Jul 09 2006 L.A. Kostis <lakostis@altlinux.ru> 1.16-alt1 - Imported Sisyphus .spec (from oddity@) to kernel cvs. - Fix build process for 2.6 kernel (remove uname autoguessing). - Remove ifdef's for 2.4 - it's not build here anymore due gcc-3.4 dependency. * Mon Jul 18 2005 Ivan Zakharyaschev <imz@altlinux.ru> 1.1-alt1 - Initial revision. |