]> git.pld-linux.org Git - packages/r8168.git/commitdiff
- up to 8.014.00
authorpawelz <pawelz@pld-linux.org>
Mon, 26 Oct 2009 20:07:23 +0000 (20:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- does not build with 2.6.31, (BR and TODO added)
- use dropin. this ftp is password protected.
- adapterized

Changed files:
    r8168.spec -> 1.4

r8168.spec

index a38dbbb610a946206c877058154ebeee0889bcd9..7e71a91e650fe4e9a27dfa34305d5183da8499f6 100644 (file)
@@ -1,3 +1,5 @@
+# TODO:
+# - does not build with 2.6.31
 #
 # 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.010.00
+Version:       8.014.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: 585f881d542b55f8cbfdd2b7d24a4b2b
+# Download it manually from:
+# http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false
+Source0:       %{name}-%{version}.tar.bz2
+# Source0-md5: d69944138d576edf3f92adfe6242e753
 %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
+BuildRequires: kernel%{_alt_kernel}-module-build < 3:2.6.31
+%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}
This page took 0.035047 seconds and 4 git commands to generate.