]>
Commit | Line | Data |
---|---|---|
7ba37f8a | 1 | # |
2 | # Conditional build: | |
3 | %bcond_with license_agreement # generates package | |
4 | # | |
5 | Summary: Firmware for the MPEG-2 encoding on cx23416 cards (cx88-blackbird) | |
42fee76f | 6 | Summary(pl.UTF-8): Firmware dla kodera MPEG-2 na kartach z układem cx23416 (cx88-blackbird) |
7ba37f8a | 7 | Name: blackbird-firmware |
8 | Version: 2.05.032 | |
9 | %define _rel 1 | |
10 | Release: %{_rel}%{?with_license_agreement:wla} | |
11 | License: Publicly available but license unknown | |
12 | Group: System Environment/Kernel | |
13 | ###### Unknown group! | |
14 | %if %{with license_agreement} | |
15 | Source0: ftp://ftp.hauppauge.com/Support/PVR250/beta/pvr150250350_inf.zip | |
16 | # Source0-md5: 6582c050642b442e9a614c0cca5d41aa | |
17 | %endif | |
18 | URL: http://ivtvdriver.org/index.php/Firmware | |
7ba37f8a | 19 | BuildRequires: unzip |
94b79618 | 20 | BuildArch: noarch |
7ba37f8a | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
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. | |
f51d0cac | 26 | %if !%{with license_agreement} |
7ba37f8a | 27 | This package does not include the firmware. You should build the |
28 | package yourself with "--with license_agreement" and install the wla | |
29 | release. | |
30 | %endif | |
31 | ||
42fee76f JR |
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 | |
7ba37f8a | 35 | cx23416. |
f51d0cac | 36 | %if !%{with license_agreement} |
42fee76f JR |
37 | Ten pakiet nie zawiera firmware. Powinieneś zbudować pakiet własnoręcznie |
38 | z opcją "--with license_agreement" i zainstalować wersję wla. | |
7ba37f8a | 39 | %endif |
40 | ||
41 | %prep | |
94b79618 | 42 | %setup -q -c -T |
7ba37f8a | 43 | %if %{with license_agreement} |
44 | unzip -q %{SOURCE0} HcwFalcn.rom | |
45 | %endif | |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | install -d $RPM_BUILD_ROOT/lib/firmware | |
50 | ||
51 | %if %{with license_agreement} | |
7ba37f8a | 52 | install HcwFalcn.rom $RPM_BUILD_ROOT/lib/firmware/blackbird-fw-enc.bin |
53 | %endif | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
60 | %if %{with license_agreement} | |
61 | /lib/firmware/blackbird-fw-enc.bin | |
62 | %endif |