]> git.pld-linux.org Git - packages/em8300.git/blame - em8300.spec
- undefine kernel later, allowing userspace being disabled if alt kernel was wanted
[packages/em8300.git] / em8300.spec
Content-type: text/html ]> git.pld-linux.org Git - packages/em8300.git/blame - em8300.spec


500 - Internal Server Error

Malformed UTF-8 character (fatal) at (eval 6) line 1, <$fd> line 253.
This page took 0.175928 seconds and 4 git commands to generate.
CommitLineData
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 31Summary: DXR3 and H+ driver
32Summary(pl): Sterowniki dla DXR3 i H+
9a5e5dd8 33Name: %{pname}%{_alt_kernel}
cc8cd1f2 34Version: 0.16.0
db6f0dd8 35Release: %{_rel}
cc8cd1f2 36License: GPL
37Group: Applications/System
9a5e5dd8 38Source0: http://dl.sourceforge.net/dxr3/%{pname}-%{version}.tar.gz
cc8cd1f2 39# Source0-md5: 9e9b769b99927079b4fd6ec423d95049
9a5e5dd8
ER
40Source1: %{pname}.init
41Source2: %{pname}.sysconf
42Patch0: %{pname}-make.patch
cc8cd1f2 43URL: http://dxr3.sourceforge.net/
44%if %{with userspace}
45BuildRequires: autoconf >= 2.13
46BuildRequires: automake
47BuildRequires: gtk+2-devel >= 1:2.0.0
48BuildRequires: pkgconfig
49%endif
50%if %{with kernel}
51%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.14}
6dc0a871 52BuildRequires: rpmbuild(macros) >= 1.308
bba0d6a0 53%endif
cc8cd1f2 54Requires(post,preun): /sbin/chkconfig
6dc0a871 55Requires: rc-scripts
cc8cd1f2 56Provides: dxr3
57Obsoletes: em8300-libs
9629068f
ER
58%if %{without userspace}
59ExcludeArch: sparc
60%endif
cc8cd1f2 61BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62
63%description
64em8300 is a Linux driver for Creative DXR3 and Sigma Designs
65Hollywood+ cards. Both cards are hardware MPEG1, MPEG2, AC3 decoders.
66Additionaly Xine and MPlayer with help of this driver allow you to
67play all the video formats that they recognise through the tv-out of
68these cards.
69
70%description -l pl
71em8300 pozwala na uruchomienie pod Linuksem kart Creative DXR3 i Sigma
72