Package kernel-source-bcmwl: 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 | # -*- rpm-spec -*- %define module_name bcmwl %define module_version 6.30.223.271 %define real_version 6.30.223.271 # for patched version %define git 6adc981 #### MODULE SOURCES #### Name: kernel-source-%module_name Version: %module_version Release: alt6.g%{git} Provides: kernel-source-%module_name-%module_version Summary: Linux %module_name Broadcom WiFi chipset series module sources License: Propreitary Group: Development/Kernel Url: https://github.com/antoineco/broadcom-wl Packager: Kernel Maintainer Team <kernel@packages.altlinux.org> Source0: %name-%real_version.tar ExclusiveArch: x86_64 BuildPreReq: kernel-build-tools %description %module_name module sources for Linux kernel. Patched for Linux >= 4.7 %package -n bcmwl-kernel-conf Summary: bcmwl kernel module configuration Group: System/Kernel and hardware BuildArch: noarch %description -n bcmwl-kernel-conf bcmwl kernel module configuration. %prep %setup -c -q %install # blacklist several modules (see ALT bugs #26265, #26250) mkdir -p %buildroot/%_sysconfdir/modprobe.d cat > %buildroot/%_sysconfdir/modprobe.d/blacklist-bcm.conf << __EOF__ blacklist bcm43xx blacklist ssb blacklist b43 __EOF__ cat > %buildroot/%_sysconfdir/modprobe.d/blacklist-bcm2.conf << __EOF__ blacklist b44 blacklist b43legacy blacklist bcma blacklist brcmsmac blacklist brcmfmac blacklist bcma-pci-bridge __EOF__ mkdir -p %kernel_srcdir tar jcf %kernel_srcdir/%name-%version.tar.bz2 %name-%version/bcmwl %files %attr(0644,root,root) %kernel_src/%name-%version.tar.bz2 %files -n bcmwl-kernel-conf %config(noreplace) %_sysconfdir/modprobe.d/blacklist-bcm.conf %config(noreplace) %_sysconfdir/modprobe.d/blacklist-bcm2.conf %changelog * Wed Apr 05 2023 L.A. Kostis <lakostis@altlinux.ru> 6.30.223.271-alt6.g6adc981 - Add kernel-module configuration subpkg (closes #45082). * Wed Oct 19 2022 L.A. Kostis <lakostis@altlinux.ru> 6.30.223.271-alt5.g6adc981 - GIT 6adc981 from github (kernel 6.x compatible). * Sat Apr 16 2022 L.A. Kostis <lakostis@altlinux.ru> 6.30.223.271-alt4.gb76c5dc - GIT b76c5dc from github (kernel 5.18 compatible). - Drop %%ix86 support (who cares). * Fri Dec 10 2021 L.A. Kostis <lakostis@altlinux.ru> 6.30.223.271-alt3 - Make sources arch dependant. * Tue May 18 2021 L.A. Kostis <lakostis@altlinux.ru> 6.30.223.271-alt2 - Use version from github patch for 4.7+ compatibility. * Wed Jun 29 2016 L.A. Kostis <lakostis@altlinux.ru> 6.30.223.271-alt1 - 6.30.223.271. * Wed Aug 07 2013 Anton V. Boyarshinov <boyarsh@altlinux.ru> 6.30.223.30-alt1 - 6.30.223.30 * Thu Jan 12 2012 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.100.82.112-alt1 - 5.100.82.112 * Thu Sep 02 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.60.48.36-alt1 - 5.60.48.36 * Mon Jan 11 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.10.91.9.3-alt3 - Build on i586 fixed * Wed Dec 30 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 5.10.91.9.3-alt2 - 5.10.91.9.3 * Tue May 26 2009 Michail Yakushin <silicium@altlinux.ru> 5.10.91.9-alt1 - 5.10.91.9 * Tue Apr 07 2009 Michail Yakushin <silicium@altlinux.ru> 5.10.79.10-alt2 - fix Summary * Wed Mar 25 2009 Michail Yakushin <silicium@altlinux.ru> 5.10.79.10-alt1 - initial build |