3 %bcond_with license_agreement # generates package
5 Summary: Firmware for the MPEG-2 encoding on cx23416 cards (cx88-blackbird)
6 Summary(pl.UTF-8): Firmware dla kodera MPEG-2 na kartach z układem cx23416 (cx88-blackbird)
7 Name: blackbird-firmware
10 Release: %{_rel}%{?with_license_agreement:wla}
11 License: Publicly available but license unknown
12 Group: System Environment/Kernel
14 %if %{with license_agreement}
15 Source0: ftp://ftp.hauppauge.com/Support/PVR250/beta/pvr150250350_inf.zip
16 # Source0-md5: 6582c050642b442e9a614c0cca5d41aa
18 URL: http://ivtvdriver.org/index.php/Firmware
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This package contains the firmware for the MPEG-2 encoder on the
25 cx23416 based TV tuner/PVR cards supported by cx88-blackbird driver.
26 %if !%{with license_agreement}
27 This package does not include the firmware. You should build the
28 package yourself with "--with license_agreement" and install the wla
32 %description -l pl.UTF-8
33 Ten pakiet zawiera firmware sprzętowego kodera MPEG-2 obsługiwanych
34 przez sterownik cx88-blackbird kart telewizyjnych opartych ba układzie
36 %if !%{with license_agreement}
37 Ten pakiet nie zawiera firmware. Powinieneś zbudować pakiet własnoręcznie
38 z opcją "--with license_agreement" i zainstalować wersję wla.
43 %if %{with license_agreement}
44 unzip -q %{SOURCE0} HcwFalcn.rom
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT/lib/firmware
51 %if %{with license_agreement}
52 install HcwFalcn.rom $RPM_BUILD_ROOT/lib/firmware/blackbird-fw-enc.bin
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %if %{with license_agreement}
61 /lib/firmware/blackbird-fw-enc.bin