File xorg-x11-driver-video-ivtv.spec of Package xorg-x11-driver-video-ivtv

#
# spec file for package xorg-x11-driver-video-ivtv (Version 1.0.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           xorg-x11-driver-video-ivtv
%if 0%{?suse_version}
BuildRequires:  xorg-x11-sdk
%if 0%{?suse_version} < 1020
BuildRequires:  Mesa-devel xorg-x11-devel
%if 0%{?suse_version} > 1000
BuildRequires:  libdrm-devel
%endif
%endif
%endif
Url:            http://ivtvdriver.org
License:        X11/MIT
Group:          System/X11/Servers/XF86_4
AutoReqProv:    on
Version:        1.0.1
Release:        1
Summary:        The X11 video driver for the PVR-350 frame buffer
Requires:       xorg-x11-server
Source:         xf86-video-ivtv-%{version}.tar.bz2
Patch0:         xf86-video-ivtv-1.0.0.diff
ExclusiveArch:  %ix86 ia64 ppc ppc64 x86_64
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
The Hauppauge PVR-350 provides a video output that can be used with a
frame buffer. This driver can be used to run X11 on that display. X11
video driver for the Conexant 23415 MPEG encoder/decoder On-Screen
Display using the ivtvfb framebuffer driver.



Authors:
--------
    Matthias Badaire
    John P. Harvey <john.p.harvey@btinternet.com>
    Ian Armstrong <ian@iarmst.demon.co.uk>

%prep
%setup -n xf86-video-ivtv-%{version}
%patch0

%build
autoreconf -fi
%configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
make

%install
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README
%dir %{_libdir}/xorg/modules/drivers
%{_libdir}/xorg/modules/drivers/*_drv.la
%{_libdir}/xorg/modules/drivers/*_drv.so

%changelog
* Mon Jul 28 2008 ro@suse.de
- update to version 1.0.1
  - Add support for newer X org versions with libpciaccess
  - xf86-video-ivtv Xv scaling fix
* Sat Apr 26 2008 coolo@suse.de
- fix build
* Wed Oct 17 2007 ro@suse.de
- created package
openSUSE Build Service is sponsored by