diff --git a/README.md b/README.md index d39e612..acbf01a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # openelec-dvb-firmware +Source package to build firmware files for the Linux DVB drivers that require such (except for dvb-ttpci which is in separate package). + diff --git a/openelec-dvb-firmware.spec b/openelec-dvb-firmware.spec new file mode 100644 index 0000000..5d157ab --- /dev/null +++ b/openelec-dvb-firmware.spec @@ -0,0 +1,57 @@ +Name: openelec-dvb-firmware +Version: 0.0.51 +Release: 1mamba +Summary: DVB firmware from OpenELEC project +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/OpenELEC/dvb-firmware +Source0: https://github.com/OpenELEC/dvb-firmware.git/%{version}/dvb-firmware-%{version}.tar.bz2 +License: PLF +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: linux-firmware +Provides: dvb-firmware +Obsoletes: dvb-firmware == 20061120 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + + +%description +Source package to build firmware files for the Linux DVB drivers that require such (except for dvb-ttpci which is in separate package). + +%prep +%setup -q -n dvb-firmware-%{version} + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +cd firmware +for _file in $(find -type f); do + if [[ ! -f /lib/firmware/$_file ]]; then + install -Dm644 "$_file" %{buildroot}/lib/firmware/$_file + fi +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(0644,root,root) +/lib/firmware/* + +%changelog +* Fri Feb 05 2021 Silvan Calarco 0.0.51-1mamba +- update to 0.0.51 +- renamed to openelec-dvb-firmware + +* Fri Feb 05 2021 Automatic Build System 20170329-1mamba +- automatic version update by autodist + +* Tue Aug 25 2015 Automatic Build System 20061120-3mamba +- automatic rebuild by autodist + +* Sat Nov 07 2009 Silvan Calarco 20061120-2mamba +- fixed group + +* Sun May 11 2008 gil 20061120-1mamba +- package created by autospec