]> git.pld-linux.org Git - packages/r8168.git/blobdiff - r8168.spec
- note about version that work with older (2.6.27) kernels
[packages/r8168.git] / r8168.spec
index f2e30f95b68382edca012db5365970bdd871ebe6..36ff961eb1770efecf52d045d310bc899824d465 100644 (file)
@@ -1,3 +1,5 @@
+# NOTE:
+# - if you want to use it with ltm kernel, use LINUX_2_6_27 branch
 #
 # Conditional build:
 %bcond_without dist_kernel     # allow non-distribution kernel
 Summary:       Linux driver for RTL8111/8168B PCI Express Gigabit Ethernet controllers
 Summary(pl.UTF-8):     Linuksowy sterownik dla kart sieciowych RTL8111/8168B PCI Express Gigabit Ethernet
 Name:          r8168
-Version:       8.003.00
+Version:       8.018.00
 Release:       %{rel}
 License:       GPL
 Group:         Base/Kernel
 URL:           http://www.realtek.com.tw/
-Source0:       ftp://202.65.194.212/cn/nic/r8168-%{version}.tar.bz2
-# Source0-md5: f22797f85eaba7d657365945aa92fecf
+# Check for new versions at
+# http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false
+# unfortunately this download is not DF-friendly.
+Source0:       http://execve.pl/PLD/%{name}-%{version}.tar.bz2
+# Source0-md5: f73f91690ef18e76434cb083b10f3b44
 %if %{with kernel}
-%{?with_dist_kernel:BuildRequires:     kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
+%if %{with dist_kernel}
+BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2
+%endif
 BuildRequires: rpmbuild(macros) >= 1.379
 %endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -54,7 +61,7 @@ Sterownik (moduł jądra Linuksa) dla kart sieciowych RTL8111/8168B PCI
 Express Gigabit Ethernet.
 
 %prep
-%setup -q -n r8168-%{version}
+%setup -q
 
 %build
 %if %{with kernel}
@@ -79,6 +86,6 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with kernel}
 %files -n kernel%{_alt_kernel}-net-r8168
 %defattr(644,root,root,755)
-%doc release_note.txt readme
+%doc README
 /lib/modules/%{_kernel_ver}/kernel/drivers/net/*.ko*
 %endif
This page took 0.040925 seconds and 4 git commands to generate.