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

#
# spec file for package xorg-x11-driver-video-nouveau (Version 0.0.16_20101010_8c8f15c)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           xorg-x11-driver-video-nouveau
BuildRequires:  Mesa-devel git-core libdrm-devel pciutils-devel xorg-x11-devel xorg-x11-sdk
Url:            http://nouveau.freedesktop.org/wiki/
License:        MIT
Group:          System/X11/Servers/XF86_4
AutoReqProv:    on
%define vers	0.0.16
Version:        %{vers}_20101216_1fc564f
Release:        1
Summary:        Accelerated Open Source driver for nVidia cards
Requires:       xorg-x11-server
Supplements:    xorg-x11-server
ExclusiveArch:  %ix86 x86_64
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source:         xf86-video-nouveau-%{version}.tar.bz2
Patch0:         nouveau-bgnr.patch

%description
The nouveau project aims to build high-quality, open source drivers for nVidia
cards. “Nouveau” [nuvo] is the French word for “new”.

%prep
%setup -n xf86-video-nouveau-%{vers}_20101216_1fc564f
%patch0

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

%install
make install DESTDIR=$RPM_BUILD_ROOT

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

%changelog
openSUSE Build Service is sponsored by