]> git.pld-linux.org Git - packages/blackbird-firmware.git/blame - blackbird-firmware.spec
- tabs in preamble
[packages/blackbird-firmware.git] / blackbird-firmware.spec
CommitLineData
7ba37f8a 1#
2# Conditional build:
3%bcond_with license_agreement # generates package
4#
5Summary: Firmware for the MPEG-2 encoding on cx23416 cards (cx88-blackbird)
7b6d0621 6Summary(pl.UTF-8): Firmware dla kodera MPEG-2 na kartach z układem cx23416 (cx88-blackbird)
7ba37f8a 7Name: blackbird-firmware
8Version: 2.05.032
9%define _rel 1
10Release: %{_rel}%{?with_license_agreement:wla}
11License: Publicly available but license unknown
12Group: System Environment/Kernel
13###### Unknown group!
14%if %{with license_agreement}
15Source0: ftp://ftp.hauppauge.com/Support/PVR250/beta/pvr150250350_inf.zip
16# Source0-md5: 6582c050642b442e9a614c0cca5d41aa
17%endif
18URL: http://ivtvdriver.org/index.php/Firmware
7ba37f8a 19BuildRequires: unzip
94b79618 20BuildArch: noarch
7ba37f8a 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24This package contains the firmware for the MPEG-2 encoder on the
25cx23416 based TV tuner/PVR cards supported by cx88-blackbird driver.
f51d0cac 26%if !%{with license_agreement}
7ba37f8a 27This package does not include the firmware. You should build the
28package yourself with "--with license_agreement" and install the wla
29release.
30%endif
31
42fee76f
JR
32%description -l pl.UTF-8
33Ten pakiet zawiera firmware sprzętowego kodera MPEG-2 obsługiwanych
34przez sterownik cx88-blackbird kart telewizyjnych opartych ba układzie
7ba37f8a 35cx23416.
f51d0cac 36%if !%{with license_agreement}
42fee76f
JR
37Ten pakiet nie zawiera firmware. Powinieneś zbudować pakiet własnoręcznie
38z 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}
44unzip -q %{SOURCE0} HcwFalcn.rom
45%endif
46
47%install
48rm -rf $RPM_BUILD_ROOT
49install -d $RPM_BUILD_ROOT/lib/firmware
50
51%if %{with license_agreement}
7ba37f8a 52install HcwFalcn.rom $RPM_BUILD_ROOT/lib/firmware/blackbird-fw-enc.bin
53%endif
54
55%clean
56rm -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
This page took 0.090086 seconds and 4 git commands to generate.