]>
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 | |
12 | # | |
13 | %if %{with kernel} && %{with dist_kernel} && %{with grsec_kernel} | |
14 | %define alt_kernel grsecurity | |
15 | %endif | |
16 | # | |
17 | %ifarch sparc | |
18 | # kernel modules won't build on sparc32, no I2C in kernel | |
19 | %undefine with_kernel | |
20 | %endif | |
21 | ||
e4fa18a9 | 22 | %if %{without kernel} |
cc8cd1f2 | 23 | %undefine with_dist_kernel |
24 | %endif | |
25 | ||
26 | Summary: DXR3 and H+ driver | |
27 | Summary(pl): Sterowniki dla DXR3 i H+ | |
28 | Name: em8300 | |
29 | Version: 0.16.0 | |
6cadb049 | 30 | Release: 52 |
cc8cd1f2 | 31 | License: GPL |
32 | Group: Applications/System | |
33 | Source0: http://dl.sourceforge.net/dxr3/%{name}-%{version}.tar.gz | |
34 | # Source0-md5: 9e9b769b99927079b4fd6ec423d95049 | |
35 | Source1: %{name}.init | |
36 | Source2: %{name}.sysconf | |
37 | Patch0: %{name}-make.patch | |
38 | URL: http://dxr3.sourceforge.net/ | |
39 | %if %{with userspace} | |
40 | BuildRequires: autoconf >= 2.13 | |
41 | BuildRequires: automake | |
42 | BuildRequires: gtk+2-devel >= 1:2.0.0 | |
43 | BuildRequires: pkgconfig | |
44 | %endif | |
45 | %if %{with kernel} | |
46 | %{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.14} | |
47 | BuildRequires: rpmbuild(macros) >= 1.308 | |
48 | %endif | |
49 | Requires(post,preun): /sbin/chkconfig | |
50 | Provides: dxr3 | |
51 | Obsoletes: em8300-libs | |
52 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
53 | ||
54 | %description | |
55 | em8300 is a Linux driver for Creative DXR3 and Sigma Designs | |
56 | Hollywood+ cards. Both cards are hardware MPEG1, MPEG2, AC3 decoders. | |
57 | Additionaly Xine and MPlayer with help of this driver allow you to | |
58 | play all the video formats that they recognise through the tv-out of | |
59 | these cards. | |
60 | ||
61 | %description -l pl | |
62 | em8300 pozwala na uruchomienie pod Linuksem kart Creative DXR3 i Sigma | |
63 | Content-type: text/html ]>