]>
Commit | Line | Data |
---|---|---|
cc8cd1f2 | 1 | # TODO |
2 | # - cc | |
3 | # | |
4 | # Conditional build: | |
5 | %bcond_without dist_kernel # allow non-distribution kernel | |
6 | %bcond_without kernel # don't build kernel modules | |
e4fa18a9 | 7 | %bcond_without up # don't build UP module |
cc8cd1f2 | 8 | %bcond_without smp # don't build SMP module |
9 | %bcond_without userspace # don't build userspace tools | |
10 | %bcond_with verbose # verbose build (V=1) | |
11 | %bcond_with grsec_kernel # build for kernel-grsecurity | |
174c9390 | 12 | |
e4fa18a9 | 13 | %if %{without kernel} |
cc8cd1f2 | 14 | %undefine with_dist_kernel |
15 | %endif | |
8923cebe | 16 | %if %{with dist_kernel} && %{with grsec_kernel} |
bba0d6a0 ER |
17 | %define alt_kernel grsecurity |
18 | %endif | |
8923cebe ER |
19 | |
20 | %ifarch sparc | |
21 | # kernel modules won't build on sparc32, no I2C in kernel | |
22 | %undefine with_kernel | |
23 | %endif | |
24 | ||
174c9390 ER |
25 | %if "%{_alt_kernel}" != "%{nil}" |
26 | %undefine with_userspace | |
27 | %endif | |
28 | ||
02b4103b | 29 | %define _rel 60 |
9a5e5dd8 | 30 | %define pname em8300 |
cc8cd1f2 | 31 | Summary: DXR3 and H+ driver |
32 | Summary(pl): Sterowniki dla DXR3 i H+ | |
9a5e5dd8 | 33 | Name: %{pname}%{_alt_kernel} |
cc8cd1f2 | 34 | Version: 0.16.0 |
db6f0dd8 | 35 | Release: %{_rel} |
cc8cd1f2 | 36 | License: GPL |
37 | Group: Applications/System | |
9a5e5dd8 | 38 | Source0: http://dl.sourceforge.net/dxr3/%{pname}-%{version}.tar.gz |
cc8cd1f2 | 39 | # Source0-md5: 9e9b769b99927079b4fd6ec423d95049 |
9a5e5dd8 ER |
40 | Source1: %{pname}.init |
41 | Source2: %{pname}.sysconf | |
42 | Patch0: %{pname}-make.patch | |
cc8cd1f2 | 43 | URL: http://dxr3.sourceforge.net/ |
44 | %if %{with userspace} | |
45 | BuildRequires: autoconf >= 2.13 | |
46 | BuildRequires: automake | |
47 | BuildRequires: gtk+2-devel >= 1:2.0.0 | |
48 | BuildRequires: pkgconfig | |
49 | %endif | |
50 | %if %{with kernel} | |
51 | %{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.14} | |
6dc0a871 | 52 | BuildRequires: rpmbuild(macros) >= 1.308 |
bba0d6a0 | 53 | %endif |
cc8cd1f2 | 54 | Requires(post,preun): /sbin/chkconfig |
6dc0a871 | 55 | Requires: rc-scripts |
cc8cd1f2 | 56 | Provides: dxr3 |
57 | Obsoletes: em8300-libs | |
9629068f ER |
58 | %if %{without userspace} |
59 | ExcludeArch: sparc | |
60 | %endif | |
cc8cd1f2 | 61 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
62 | ||
63 | %description | |
64 | em8300 is a Linux driver for Creative DXR3 and Sigma Designs | |
65 | Hollywood+ cards. Both cards are hardware MPEG1, MPEG2, AC3 decoders. | |
66 | Additionaly Xine and MPlayer with help of this driver allow you to | |
67 | play all the video formats that they recognise through the tv-out of | |
68 | these cards. | |
69 | ||
70 | %description -l pl | |
71 | em8300 pozwala na uruchomienie pod Linuksem kart Creative DXR3 i Sigma | |
72 | Content-type: text/html ]>