]> git.pld-linux.org Git - packages/blackbird-firmware.git/blob - blackbird-firmware.spec
- initial release
[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 enkodera 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 BuildArch:      noarch
20 BuildRequires:  unzip
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 %{without 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 encodera MPEG-2 obs³ugiwanych
34 przez sterownik cx88-blackbird kart telewizyjnych opartych ba uk³adzie
35 cx23416.
36 %if %{without 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 -n %{name}-%{version}
43 rm -rf %{name}-%{version}
44 mkdir %{name}-%{version}
45 cd %{name}-%{version}
46 %if %{with license_agreement}
47 unzip -q %{SOURCE0} HcwFalcn.rom
48 %endif
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT/lib/firmware
53
54 %if %{with license_agreement}
55 cd %{name}-%{version}
56 install HcwFalcn.rom $RPM_BUILD_ROOT/lib/firmware/blackbird-fw-enc.bin
57 %endif
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %if %{with license_agreement}
65 /lib/firmware/blackbird-fw-enc.bin
66 %endif
This page took 0.080954 seconds and 4 git commands to generate.