- initial PLD version - v. 4.1.7
authorPaweł Gołaszewski <blues@pld-linux.org>
Thu, 25 Apr 2002 22:49:51 +0000 (22:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Gigabit driver for Intel Network Adapter

Changed files:
    e1000.spec -> 1.1

e1000.spec [new file with mode: 0644]

diff --git a/e1000.spec b/e1000.spec
new file mode 100644 (file)
index 0000000..0cd1be2
--- /dev/null
@@ -0,0 +1,94 @@
+# conditional build
+# _without_dist_kernel          without distribution kernel
+
+%define                _orig_name      e1000
+%define                _rel 1
+
+Summary:       Intel(R) PRO/1000 driver for Linux
+Summary(pl):   Sterownik do karty Intel(R) PRO/1000
+Name:          kernel-net-%{_orig_name}
+Version:       4.1.7
+Release:       %{_rel}@%{_kernel_ver_str}
+License:       BSD
+Vendor:                Intel Corporation
+Group:         Base/Kernel
+Source0:       ftp://aiedownload.intel.com/df-support/2897/eng/%{_orig_name}-%{version}.tar.gz
+%{!?_without_dist_kernel:BuildRequires:         kernel-headers }
+BuildRequires: %{kgcc_package}
+URL:           http://support.intel.com/support/network/adapter/pro100/
+Obsoletes:     e1000
+Obsoletes:     linux-net-e1000
+Provides:      kernel(e1000)
+Prereq:                /sbin/depmod
+%{!?_without_dist_kernel:%requires_releq_kernel_up}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains the Linux driver for the Intel(R) PRO/1000 family
+of 10/100/1000 Ethernet network adapters.
+
+%description -l pl
+Ten pakiet zawiera sterownik dla Linuksa do kart sieciowych 10/100/1000Mbit
+z rodziny Intel(R) PRO/1000.
+
+%package -n kernel-smp-net-%{_orig_name}
+Summary:       Intel(R) PRO/1000 driver for Linux SMP
+Summary(pl):   Sterownik do karty Intel(R) PRO/1000
+Release:       %{_rel}@%{_kernel_ver_str}
+Group:         Base/Kernel
+Prereq:                /sbin/depmod
+%{!?_without_dist_kernel:%requires_releq_kernel_smp}
+Obsoletes:     e1000
+Obsoletes:     linux-net-e1000
+Provides:      kernel(e1000)
+
+%description -n kernel-smp-net-%{_orig_name}
+This package contains the Linux SMP driver for the Intel(R) PRO/1000
+family of 10/100/1000 Ethernet network adapters.
+
+%description -n kernel-smp-net-%{_orig_name} -l pl
+Ten pakiet zawiera sterownik dla Linuksa SMP do kart sieciowych
+10/100/1000Mbit z rodziny Intel(R) PRO/1000.
+
+%prep
+%setup -q -n %{_orig_name}-%{version}
+
+%build
+%{__make} -C src SMP=1 CC="%{kgcc} -DCONFIG_X86_LOCAL_APIC -DSTB_WA"
+mv -f src/%{_orig_name}.o src/%{_orig_name}-smp.o
+%{__make} -C src clean
+%{__make} -C src CC="%{kgcc} -DSTB_WA"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/misc
+install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/misc
+install src/%{_orig_name}-smp.o $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/misc/%{_orig_name}.o
+install src/%{_orig_name}.o $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/misc/%{_orig_name}.o
+
+gzip -9nf %{_orig_name}.7 README ldistrib.txt
+
+%clean 
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/depmod -a
+
+%postun
+/sbin/depmod -a
+
+%post -n kernel-smp-net-%{_orig_name}
+/sbin/depmod -a
+
+%postun -n kernel-smp-net-%{_orig_name}
+/sbin/depmod -a
+
+%files
+%defattr(644,root,root,755)
+%doc *.gz
+/lib/modules/%{_kernel_ver}/misc/*
+
+%files -n kernel-smp-net-%{_orig_name}
+%defattr(644,root,root,755)
+%doc *.gz
+/lib/modules/%{_kernel_ver}smp/misc/*
This page took 0.035432 seconds and 4 git commands to generate.