rpms/xorg-x11-drv-nouveau/devel xorg-x11-drv-nouveau.spec,NONE,1.1

Dave Airlie (airlied) fedora-extras-commits at redhat.com
Fri Feb 29 05:12:26 UTC 2008


Author: airlied

Update of /cvs/pkgs/rpms/xorg-x11-drv-nouveau/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12951

Added Files:
	xorg-x11-drv-nouveau.spec 
Log Message:
* Fri Feb 22 2008 Dave Airlie <airlied at redhat.com> 1:0.0.10-1.20080221git5db7920
- Initial package for nouveau driver.



--- NEW FILE xorg-x11-drv-nouveau.spec ---
%define tarball xf86-video-nouveau
%define moduledir %(pkg-config xorg-server --variable=moduledir )
%define driverdir %{moduledir}/drivers
%define nouveau_version 0.0.10

# Tarfile created using git
# git clone git://git.freedesktop.org/git/nouveau/xf86-video-nouveau
# git-archive --format=tar --prefix=xf86-video-nouveau-0.0.10/ %{git_version} | bzip2 > xf86-video-nouveau-0.0.10-%{gitdate}.tar.bz2

%define gitdate 20080221
%define git_version 5db7920

%define tarfile %{tarball}-%{nouveau_version}-%{gitdate}.tar.bz2

%define snapshot %{gitdate}git%{git_version}

Summary:   Xorg X11 nouveau video driver
Name:      xorg-x11-drv-nouveau
# need to set an epoch to get version number in sync with upstream
Epoch:     1
Version:   %{nouveau_version}
Release:   1.%{snapshot}%{?dist}
URL:       http://www.x.org
License: MIT
Group:     User Interface/X Hardware Support
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

# Fedora specific snapshot no upstream release
Source0:   %{tarfile}

Patch0: nouveau-enable-randr12-default.patch

ExcludeArch: s390 s390x

BuildRequires: libtool automake autoconf
BuildRequires: xorg-x11-server-sdk >= 1.3.0.0-6
BuildRequires: libdrm-devel >= 2.3.0-7

Requires:  hwdata
Requires:  xorg-x11-server-Xorg >= 1.3.0.0-6

Requires:  kernel-drm-nouveau = 10

%description 
X.Org X11 nouveau video driver.

%prep
%setup -q -n %{tarball}-%{version}

%patch0 -p1 -b .randr12
%build
autoreconf -v --install
%configure --disable-static

make

%install
rm -rf $RPM_BUILD_ROOT

make install DESTDIR=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%{driverdir}/nouveau_drv.so
%{_mandir}/man4/nouveau.4*

%changelog
* Fri Feb 29 2008 Dave Airlie <airlied at redhat.com> 1:0.0.10-1.20080221git5db7920
- Initial package for nouveau driver.




More information about the fedora-extras-commits mailing list