]> git.pld-linux.org Git - packages/rtl8812au.git/blobdiff - rtl8812au.spec
- rel 2
[packages/rtl8812au.git] / rtl8812au.spec
index f881f1214e691be42eb38fd2aca42d10660cf64f..d0623371a96eb1da49aee737cd4334354d77d070 100644 (file)
@@ -1,36 +1,26 @@
+#
 # Conditional build:
 %bcond_with    verbose         # verbose build (V=1)
 
 # nothing to be placed to debuginfo package
 %define                _enable_debug_packages  0
 
-%define                rel     11
-%define                snap    20140901
+%define                rel     2
+%define                basever 5.6.4.2
+%define                snap    20200815
 %define                pname   rtl8812au
 Summary:       Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter
 Name:          %{pname}%{_alt_kernel}
-Version:       4.3.2_11100.20140411
-Release:       0.%{snap}.%{rel}%{?_pld_builder:@%{_kernel_ver_str}}
+Version:       %{basever}.%{snap}
+Epoch:         1
+Release:       %{rel}%{?_pld_builder:@%{_kernel_ver_str}}
 License:       GPL
 Group:         Base/Kernel
-#Source0:      https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/master/%{name}-%{version}-%{snap}.tar.gz
-Source0:       https://github.com/austinmarton/rtl8812au_linux/archive/master/%{pname}-%{version}-%{snap}.tar.gz
-# Source0-md5: 693825ab344b68a1217f20ab8dd98b82
+Source0:       https://github.com/gordboy/rtl8812au-5.6.4.2/archive/master/%{pname}-%{basever}-%{snap}.tar.gz
+# Source0-md5: 35b19b616bebf46fb6f7f27e3e6d1cb0
 # good luck finding this chip on Realtek website :/
 #URL:          http://www.realtek.com.tw/
-URL:           https://github.com/austinmarton/rtl8812au_linux
-Patch0:                linux-3.11.patch
-Patch1:                disable-debug.patch
-Patch2:                enable-cfg80211-support.patch
-Patch3:                update-cfg80211-support.patch
-Patch4:                warnings.patch
-Patch5:                gcc-4.9.patch
-Patch6:                linux-3.18.patch
-Patch7:                linux-4.0.patch
-Patch8:                linux-4.1.patch
-Patch9:                linux-4.2.patch
-Patch10:       linux-4.3.patch
-Patch11:       linux-4.6.patch
+URL:           https://github.com/gordboy/rtl8812au-5.6.4.2
 BuildRequires: rpmbuild(macros) >= 1.701
 %{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:2.6.20.2}
 BuildRoot:     %{tmpdir}/%{pname}-%{version}-root-%(id -u -n)
@@ -52,6 +42,7 @@ Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter\
 \
 %files -n kernel%{_alt_kernel}-net-rtl8812au\
 %defattr(644,root,root,755)\
+%doc Realtek_Changelog.txt README.md\
 /lib/modules/%{_kernel_ver}/kernel/drivers/net/wireless/*.ko*\
 \
 %post  -n kernel%{_alt_kernel}-net-rtl8812au\
@@ -70,20 +61,7 @@ Driver for AC1200 (802.11ac) Wireless Dual-Band USB Adapter\
 %{expand:%create_kernel_packages}
 
 %prep
-#%setup -q -n %{pname}-%{version}
-%setup -q -n rtl8812au_linux-master
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
-%patch11 -p1
+%setup -q -n %{pname}-%{basever}-master
 
 %build
 %{expand:%build_kernel_packages}
This page took 0.064362 seconds and 4 git commands to generate.