Summary: Wireless regulatory database for Linux drivers
Summary(pl.UTF-8): Baza danych przepisów dotyczących sieci bezprzewodowych dla sterowników linuksowych
Name: wireless-regdb
-Version: 2015.12.14
+Version: 2024.01.23
Release: 1
License: ISC
Group: Networking/Daemons
Source0: https://www.kernel.org/pub/software/network/wireless-regdb/%{name}-%{version}.tar.xz
-# Source0-md5: 60285e79768d262264c2a42a9c4079a8
-URL: http://wireless.kernel.org/en/developers/Regulatory
+# Source0-md5: 3121e855df9512a2c6442d483d209c32
+URL: https://wireless.wiki.kernel.org/en/developers/Regulatory
BuildRequires: tar >= 1:1.22
BuildRequires: xz
%{?with_verify:BuildRequires: crda}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_datadir}/crda,%{_mandir}/man5}
+install -d $RPM_BUILD_ROOT{/lib/firmware,%{_datadir}/crda,%{_mandir}/man5}
+cp -p regulatory.db regulatory.db.p7s $RPM_BUILD_ROOT/lib/firmware
cp -p regulatory.bin $RPM_BUILD_ROOT%{_datadir}/crda/regulatory.bin
cp -p regulatory.bin.5 $RPM_BUILD_ROOT%{_mandir}/man5
%files
%defattr(644,root,root,755)
%doc LICENSE README
+/lib/firmware/regulatory.db
+/lib/firmware/regulatory.db.p7s
%{_datadir}/crda
%{_mandir}/man5/regulatory.bin.5*