]> git.pld-linux.org Git - packages/blackbird-firmware.git/blob - blackbird-firmware.spec
70329c243ba39ab7759508b577f31ef0fe3e5f59
[packages/blackbird-firmware.git] / blackbird-firmware.spec
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)
6 Summary(pl):    Firmware dla kodera MPEG-2 na kartach z uk³adem cx23416 (cx88-blackbird)
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
19 BuildRequires:  unzip
20 BuildArch:      noarch
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.
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 
29 release.
30 %endif
31
32 %description -l pl
33 Ten pakiet zawiera firmware sprzêtowego kodera MPEG-2 obs³ugiwanych
34 przez sterownik cx88-blackbird kart telewizyjnych opartych ba uk³adzie
35 cx23416.
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.
39 %endif
40
41 %prep
42 %setup -q -c -T
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}
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
This page took 0.079432 seconds and 2 git commands to generate.