]> git.pld-linux.org Git - packages/igb.git/blobdiff - igb.spec
- release 12
[packages/igb.git] / igb.spec
index 07e9461631d263019f6929fe8aaf24c175f0e116..a9fbe5067b756fbb54c1d7530cc83b3868356f83 100644 (file)
--- a/igb.spec
+++ b/igb.spec
 %undefine      with_userspace
 %endif
 
-%define                rel     2
+%define                rel     12
 %define                pname   igb
 Summary:       Intel(R) PRO/1000 driver for Linux
 Summary(pl.UTF-8):     Sterownik do karty Intel(R) PRO/1000
 Name:          %{pname}%{_alt_kernel}
-Version:       1.2.44.3
+Version:       3.3.6
 Release:       %{rel}
 License:       GPL v2
 Group:         Base/Kernel
-Source0:       http://dl.sourceforge.net/e1000/%{pname}-%{version}.tar.gz
-# Source0-md5: d1c02b55411ca6de7d4242b67b297a13
+Source0:       http://downloads.sourceforge.net/e1000/%{pname}-%{version}.tar.gz
+# Source0-md5: b9267beb43f41d364f73b4d5b9040f1e
 URL:           http://sourceforge.net/projects/e1000/
 %{?with_dist_kernel:BuildRequires:     kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
 BuildRequires: rpmbuild(macros) >= 1.379
@@ -32,11 +32,11 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 This package contains the Linux driver for the Intel(R) PRO/1000
-adapters with 82575 chipset.
+adapters with 82575EB/GB or 82576 chipsets.
 
 %description -l pl.UTF-8
 Ten pakiet zawiera sterownik dla Linuksa do kart sieciowych z rodziny
-Intel(R) PRO/1000 opartych o układ 82575.
+Intel(R) PRO/1000 opartych o układy 82575EB/GB lub 82576.
 
 %package -n kernel%{_alt_kernel}-net-igb
 Summary:       Intel(R) PRO/1000 driver for Linux
@@ -51,27 +51,32 @@ Requires(postun):   %releq_kernel
 
 %description -n kernel%{_alt_kernel}-net-igb
 This package contains the Linux driver for the Intel(R) PRO/1000
-adapters with 82575 chipset.
+adapters with 82575EB/GB or 82576 chipsets.
 
 %description -n kernel%{_alt_kernel}-net-igb -l pl.UTF-8
 Ten pakiet zawiera sterownik dla Linuksa do kart sieciowych z rodziny
-Intel(R) PRO/1000 opartych o układ 82575.
+Intel(R) PRO/1000 opartych o układy 82575EB/GB lub 82576.
 
 %prep
 %setup -q -n %{pname}-%{version}
 cat > src/Makefile <<'EOF'
 obj-m := igb.o
-igb-objs := e1000_82575.o e1000_mac.o e1000_nvm.o e1000_phy.o e1000_manage.o \
-kcompat.o e1000_api.o igb_main.o igb_param.o igb_ethtool.o
+igb-objs := igb_main.o e1000_82575.o e1000_mac.o e1000_nvm.o e1000_phy.o \
+e1000_manage.o igb_param.o igb_ethtool.o kcompat.o e1000_api.o e1000_mbx.o igb_vmdq.o
 
 EXTRA_CFLAGS=-DDRIVER_IGB
 EOF
 
+# Large Receive Offload - Do Not Use LRO When Routing Packets
+# CFLAGS_EXTRA=-DIGB_LRO
+
 %build
 %build_kernel_modules -C src -m %{pname}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_mandir}/man7
+
 %install_kernel_modules -m src/%{pname} -d kernel/drivers/net -n %{pname} -s current
 # blacklist kernel module
 cat > $RPM_BUILD_ROOT/etc/modprobe.d/%{_kernel_ver}/%{pname}.conf <<'EOF'
@@ -79,6 +84,8 @@ blacklist igb
 alias igb igb-current
 EOF
 
+cp -a igb.7 $RPM_BUILD_ROOT%{_mandir}/man7
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -90,6 +97,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -n kernel%{_alt_kernel}-net-igb
 %defattr(644,root,root,755)
-%doc igb.7 README
-/etc/modprobe.d/%{_kernel_ver}/%{pname}.conf
+%doc README
+%config(noreplace,missingok) %verify(not md5 mtime size) /etc/modprobe.d/%{_kernel_ver}/%{pname}.conf
 /lib/modules/%{_kernel_ver}/kernel/drivers/net/%{pname}*.ko*
+%{_mandir}/man7/igb.7*
This page took 0.076649 seconds and 4 git commands to generate.