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