Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:civ75:macbook
madwifi-ng
madwifi-ng.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File madwifi-ng.spec of Package madwifi-ng
# # spec file for package madwifi (Version madwifi-ng-r3366+ar5007) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: madwifi BuildRequires: kernel-source kernel-syms module-init-tools sharutils %define kernel_version %(uname -r) Summary: Tools for configuring atheros card. Work with AR5418 Version: ng_3726 Release: 0 Group: Hardware/Other License: BSD License and BSD-like BuildRoot: %{_tmppath}/%{name}-%{version}-build URL: http://madwifi.org/ Autoreqprov: on Source: madwifi-ng-r3726.tar.bz2 Source1: preamble ExclusiveArch: %ix86 x86_64 %suse_kernel_module_package -n madwifi -p %_sourcedir/preamble kdump um %description Tools for configuring atheros card. Work with AR5418 (macbook) Authors: -------- Sam Leffler <sam@errno.com> (madwifi) Greg Chesson <madwifi@atheros.com> (madwifi) %debug_package %package devel Group: Hardware/Other License: BSD License and BSD-like Summary: Tools for configuring atheros cards %description devel Tools for configuring atheros cards Authors: -------- Sam Leffler <sam@errno.com> (madwifi) Greg Chesson <madwifi@atheros.com> (madwifi) %package -n madwifi-KMP Group: System/Kernel License: BSD License and BSD-like Summary: kernel modules for atheros cards %description -n madwifi-KMP kernel modules for atheros card. Work with AR5418 (macbook) Authors: -------- Sam Leffler <sam@errno.com> (madwifi) Greg Chesson <madwifi@atheros.com> (madwifi) %prep %setup -n madwifi-ng-r3726 %build echo "#define SVNVERSION \"%{version}\"" > svnversion.h # madwifi also has some userspace tools CFLAGS="$RPM_OPT_FLAGS" make -C tools # build modules cd .. mkdir -p obj for flavor in %flavors_to_build; do rm -rf obj/$flavor cp -r madwifi-ng-r3726 obj/$flavor make -k -C /usr/src/linux-obj/%_target_cpu/$flavor modules \ M=$PWD/obj/$flavor KERNELPATH=/usr/src/linux-obj/%_target_cpu/$flavor done %install CFLAGS="$RPM_OPT_FLAGS" make -C tools install DESTDIR=$RPM_BUILD_ROOT BINDIR=%{_bindir} MANDIR=%{_mandir} mkdir -p $RPM_BUILD_ROOT/usr/include/%{name}/net80211 cp -a include $RPM_BUILD_ROOT/usr/include/%{name} cp -a net80211/*.h $RPM_BUILD_ROOT/usr/include/%{name}/net80211 cd .. # install kernel modules export INSTALL_MOD_PATH=$RPM_BUILD_ROOT export INSTALL_MOD_DIR=updates for flavor in %flavors_to_build; do make -C /usr/src/linux-obj/%_target_cpu/$flavor modules_install \ M=$PWD/obj/$flavor done %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/* %doc %attr(644,root,root) %{_mandir}/man*/* %doc README COPYRIGHT THANKS INSTALL %files devel %defattr(-,root,root) %{_includedir}/%{name} %changelog * Tue Jun 17 2008 - vsteenhoute@novell.com - madwifi-ng release 3726 from svn. Work fine with AR5418 wireless cards
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor