Author: pluto                        Date: Sun Aug 24 15:25:29 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- driver for atheros AR8121/8113 pci-e cards.

---- Files affected:
SPECS:
   kernel-net-ar81.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/kernel-net-ar81.spec
diff -u /dev/null SPECS/kernel-net-ar81.spec:1.1
--- /dev/null   Sun Aug 24 17:25:29 2008
+++ SPECS/kernel-net-ar81.spec  Sun Aug 24 17:25:23 2008
@@ -0,0 +1,78 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without dist_kernel     # allow non-distribution kernel
+%bcond_with    verbose         # verbose build (V=1)
+%bcond_with    grsec_kernel    # build for kernel-grsecurity
+#
+%if %{with kernel} && %{with dist_kernel} && %{with grsec_kernel}
+%define        alt_kernel      grsecurity
+%endif
+#
+%define                _modname        rt2400
+Summary:       Linux driver for the Atheros AR8121/8131 PCI-E cards
+Name:          kernel%{_alt_kernel}-net-ar81
+Version:       1.0.1.0
+Release:       1
+License:       GPL v2
+Group:         Base/Kernel
+# Source0:     
http://dl.sourceforge.net/rt2400/%{name}-%{version}%{snap}.tar.gz
+Source0:       AR81Family-linux-v%{version}.tar.gz
+# Source0-md5: e9559d2ae25be6db327c7ec40e922438
+URL:           http://www.unav-micro.com/Drivers.aspx
+BuildRequires: dos2unix
+%{?with_dist_kernel:BuildRequires:     kernel%{_alt_kernel}-module-build >= 
3:2.6.20.2}
+BuildRequires: rpmbuild(macros) >= 1.379
+%{?with_dist_kernel:%requires_releq_kernel}
+%{?with_dist_kernel:Requires(postun):   kernel}
+BuildRequires: perl-base
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a Linux driver for the Atheros AR8121/8131 cards.
+
+This package contains Linux module.
+
+%prep
+%setup -q -c %{name}
+find . -type f | xargs dos2unix
+
+%build
+cat > src/Makefile << EOF
+CFILES = at_main.c at_hw.c at_param.c at_ethtool.c kcompat.c
+obj-m += atl1e.o
+atl1e-objs := \$(CFILES:.c=.o)
+EXTRA_CFLAGS += -DDBG=0
+EOF
+
+%build_kernel_modules -C src -m atl1e
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install atl1e.7 -D $RPM_BUILD_ROOT%{_mandir}/man7/atl1e.7
+
+%install_kernel_modules -m src/atl1e -d kernel/drivers/net
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%depmod %{_kernel_ver}
+
+%postun
+%depmod %{_kernel_ver}
+
+%files
+%defattr(644,root,root,755)
+%doc readme release_note.txt
+/lib/modules/%{_kernel_ver}/kernel/drivers/net/*.ko*
+%{_mandir}/man7/*.gz
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/08/24 15:25:23  pluto
+- driver for atheros AR8121/8113 pci-e cards.
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to