📄 at76c503a.spec
字号:
%define KERNELVER %(uname -r)%define PACKVER cvs20030728# RPM Release number of this version%define TNREL 1# Real stuffSummary: Linux driver for Atmel AT76C503A based USB WLAN adaptersName: at76c503aVersion: %{PACKVER}Release: tn%{TNREL}Copyright: GPLGroup: System Environment/Kernel Packager: Tim Niemueller <tim@niemueller.de>Source: %{name}.tar.gzURL: http://at76c503a.berlios.de/Prefix: %{_prefix}BuildRequires: kernel-source = %{KERNELVER}BuildRoot: %{_tmppath}/%{name}-%{PACKVER}%descriptionThis is another driver for the Atmel AT76C503A based USB WLAN adapters.%prep%setup -n %{name}#if [ ! -e /usr/src/linux-2.4/.config ]; then# echo "You need to run 'make menuconfig' once in /usr/src/linux-2.4"# echo "Then exit immediately and save the configuration. The "# echo "config file is needed to compile hostap. Thanx."# exit 1#fi%buildecho "=================================================================="echo "Building atmel driver %{PACKVER} for %{KERNELVER}"echo "Target is %{_target}"echo "=================================================================="sleep 5make%installrm -rf $RPM_BUILD_ROOTmkdir -p $RPM_BUILD_ROOT/lib/modules/%{KERNELVER}make DESTDIR=$RPM_BUILD_ROOT install%clean rm -rf $RPM_BUILD_ROOT%post/sbin/depmod -a%postun/sbin/depmod -a%files%defattr(-,root,root)/lib/modules/%{KERNELVER}/kernel/drivers/usb/*.o%changelog* Mon Jul 28 2003 Tim Niemueller <tim@niemueller.de>- Initial rpm release- Wrote spec file and compiled for current RedHat 9 kernel
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -