Group :: System/Kernel and hardware
RPM: hostapd
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define madwifi_version 0.9.14.9
Name: hostapd
Version: 0.3.9
Release: alt2
License: GPL
Group: System/Kernel and hardware
Summary: User space daemon for extended IEEE 802.11 management
Url: http://hostap.epitest.fi/
Source0: %name-%version.tar.gz
Source1: hostapd.sysconfig
Source2: hostapd.init
Source3: defconfig
BuildRequires: libssl-devel
BuildRequires: kernel-source-madwifi = %madwifi_version
BuildRequires: kernel-build-tools >= 0.7
PreReq: coreutils
PreReq: modutils
Obsoletes: hostap-tools
%description
This is a Linux driver for wireless LAN cards based on Intersil's
Prism2/2.5/3 chipset. The driver supports a so called Host AP mode, i.e.,
it takes care of IEEE 802.11 management functions in the host computer
and acts as an access point.
%prep
%setup -q
rm -rf kernel-source-madwifi-%madwifi_version
tar -jxvf %kernel_src/kernel-source-madwifi-%madwifi_version.tar.bz2
%build
%__cp %SOURCE3 .config
%__subst 's|-I../head|-I./kernel-source-madwifi-%madwifi_version|' .config
%make_build
%install
mkdir -p %buildroot%_initdir
mkdir -p %buildroot%_sysconfdir/sysconfig
mkdir -p %buildroot%_sysconfdir/%name
mkdir -p %buildroot%_sbindir
%__install %SOURCE1 %buildroot%_sysconfdir/sysconfig/%name
%__install %SOURCE2 %buildroot%_initdir/%name
%__install hostapd %buildroot%_sbindir
%__install hostapd.conf %buildroot%_sysconfdir/%name
%__install hostapd.accept %buildroot%_sysconfdir/%name
%__install hostapd.deny %buildroot%_sysconfdir/%name
%files
%config(noreplace) %_sysconfdir/sysconfig/%name
%dir %attr(0700,root,root) %_sysconfdir/%name
%config(noreplace) %attr(0600,root,root) %_sysconfdir/%name/*
%config %_initdir/%name
%_sbindir/*
%doc README
%changelog
…
Full changelog you can see here
Name: hostapd
Version: 0.3.9
Release: alt2
License: GPL
Group: System/Kernel and hardware
Summary: User space daemon for extended IEEE 802.11 management
Url: http://hostap.epitest.fi/
Source0: %name-%version.tar.gz
Source1: hostapd.sysconfig
Source2: hostapd.init
Source3: defconfig
BuildRequires: libssl-devel
BuildRequires: kernel-source-madwifi = %madwifi_version
BuildRequires: kernel-build-tools >= 0.7
PreReq: coreutils
PreReq: modutils
Obsoletes: hostap-tools
%description
This is a Linux driver for wireless LAN cards based on Intersil's
Prism2/2.5/3 chipset. The driver supports a so called Host AP mode, i.e.,
it takes care of IEEE 802.11 management functions in the host computer
and acts as an access point.
%prep
%setup -q
rm -rf kernel-source-madwifi-%madwifi_version
tar -jxvf %kernel_src/kernel-source-madwifi-%madwifi_version.tar.bz2
%build
%__cp %SOURCE3 .config
%__subst 's|-I../head|-I./kernel-source-madwifi-%madwifi_version|' .config
%make_build
%install
mkdir -p %buildroot%_initdir
mkdir -p %buildroot%_sysconfdir/sysconfig
mkdir -p %buildroot%_sysconfdir/%name
mkdir -p %buildroot%_sbindir
%__install %SOURCE1 %buildroot%_sysconfdir/sysconfig/%name
%__install %SOURCE2 %buildroot%_initdir/%name
%__install hostapd %buildroot%_sbindir
%__install hostapd.conf %buildroot%_sysconfdir/%name
%__install hostapd.accept %buildroot%_sysconfdir/%name
%__install hostapd.deny %buildroot%_sysconfdir/%name
%files
%config(noreplace) %_sysconfdir/sysconfig/%name
%dir %attr(0700,root,root) %_sysconfdir/%name
%config(noreplace) %attr(0600,root,root) %_sysconfdir/%name/*
%config %_initdir/%name
%_sbindir/*
%doc README
%changelog
…
Full changelog you can see here