Projects
Essentials
broadcom-wl
broadcom-wl.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File broadcom-wl.spec of Package broadcom-wl (Revision 2)
Currently displaying revision
2
,
Show latest
# vim: set ts=4 sw=4 et: # # spec file for package broadcom-wl # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # #!BuildIgnore: enough-build-resources %define underversion 6_30_223_271 %ifarch x86_64 %define driverarch _64 %else %define driverarch %{nil} %endif Name: broadcom-wl Version: 6.30.223.271 Release: 0 Summary: Wireless driver for Broadcom 43xx series of chips License: SUSE-NonFree Group: System/Kernel Url: http://www.broadcom.com/support/802.11/linux_sta.php Source0: hybrid-v35%{driverarch}-nodebug-pcoem-%{underversion}.tar.gz Source1: README.SUSE Source2: broadcom-wl-blacklist Patch0: broadcom-sta-6.30.223.141-eth-to-wlan.patch Patch1: broadcom-sta-6.30.223.141-gcc.patch Patch2: broadcom-sta-6.30.223.141-makefile.patch Patch3: broadcom-sta-6.30.223.248-r3-Wno-date-time.patch Patch4: broadcom-sta-6.30.223.271-r1-linux-3.18.patch Patch5: broadcom-sta-6.30.223.271-r2-linux-4.3-v2.patch Patch6: broadcom-sta-6.30.223.271-r4-linux-4.7.patch Patch7: broadcom-sta-6.30.223.271-r4-linux-4.8.patch BuildRequires: %{kernel_module_package_buildreqs} Requires: broadcom-wl-kmp Provides: wl-kmod-common = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %{ix86} x86_64 %kernel_module_package %description These packages contain Broadcom's IEEE 802.11a/b/g/n hybrid Linux® device driver for use with Broadcom's BCM4311-, BCM4312-, BCM4321-, and BCM4322-based hardware. %package KMP Summary: Wireless driver for Broadcom 43xx series of chips Group: System/Kernel %description KMP These packages contain Broadcom's IEEE 802.11a/b/g/n hybrid Linux® device driver for use with Broadcom's BCM4311-, BCM4312-, BCM4321-, and BCM4322-based hardware. %prep %setup -q -c hybrid-v35%{driverarch}-nodebug-pcoem-%{underversion} %patch0 -p1 %patch1 -p1 %patch2 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 sed -i 's/\r$//' lib/LICENSE.txt set -- * mkdir source mv "$@" source/ mkdir obj %build export EXTRA_CFLAGS='-DVERSION=\"%{version}\"' for flavor in %{flavors_to_build}; do rm -rf obj/$flavor cp -r source obj/$flavor make -C %{_prefix}/src/linux-obj/%{_target_cpu}/$flavor modules \ M=$PWD/obj/$flavor V=1 done %install # blacklist mkdir -p %{buildroot}%{_sysconfdir}/modprobe.d/ mkdir -p %{buildroot}%{_docdir}/%{name}/ install -p -m0644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/modprobe.d/ install -p -m0644 %{SOURCE1} %{buildroot}%{_docdir}/%{name}/ install -p -m0644 source/lib/LICENSE.txt %{buildroot}%{_docdir}/%{name}/ mv %{buildroot}/%{_sysconfdir}/modprobe.d/broadcom-wl-blacklist %{buildroot}/%{_sysconfdir}/modprobe.d/50-broadcom-wl-blacklist.conf # Kernel module export INSTALL_MOD_PATH=%{buildroot} export INSTALL_MOD_DIR=updates for flavor in %{flavors_to_build}; do make -C %{_prefix}/src/linux-obj/%{_target_cpu}/$flavor modules_install \ M=$PWD/obj/$flavor done %files %defattr(-,root,root) %doc %dir %{_docdir}/%{name} %doc %{_docdir}/%{name}/LICENSE.txt %doc %{_docdir}/%{name}/README.SUSE %config(noreplace) %{_sysconfdir}/modprobe.d/50-broadcom-wl-blacklist.conf %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.