File xorg-x11-driver-video-nouveau.spec of Package xorg-x11-driver-video-nouveau
#
# spec file for package xorg-x11-driver-video-nouveau
#
# Copyright (c) 2011 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}_20110115_b795ca6
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
%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-%{version}
%build
autoreconf -fi
%configure --without-libudev 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