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