File xf86-video-modesetting.spec of Package xf86-video-modesetting
#
# spec file for package xf86-video-modesetting
#
# Copyright (c) 2014 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/
#
Name: xf86-video-modesetting
Version: 0.9.0
Release: 0
Summary: Generic modesetting driver
License: MIT
Group: System/X11/Servers/XF86_4
Url: http://xorg.freedesktop.org/
Source0: http://xorg.freedesktop.org/archive/individual/driver/%{name}-%{version}.tar.bz2
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig(xorg-macros)
BuildRequires: pkgconfig(xorg-server)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExcludeArch: s390 s390x
# Useful for USB hotplug graphics like Displaylink devices, so install this
# by default.
Supplements: xorg-x11-server
Patch2: N_modesetting-default-swcursor.diff
%x11_abi_videodrv_req
%description
This is a generic modesetting driver.
The idea is to piggy-back the X driver on top of the DRM and Gallium3D
drivers (DRM for modesetting and Gallium3D for Exa acceleration)
%prep
%setup -q -n %{name}-%{version}
%patch2 -p1
%build
autoreconf -fi
%configure
make %{?_smp_mflags}
%install
%make_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING README
%dir %{_libdir}/xorg/modules/drivers
%{_libdir}/xorg/modules/drivers/modesetting_drv.so
%exclude %{_libdir}/xorg/modules/drivers/modesetting_drv.la
%{_datadir}/man/man4/modesetting.4%{?ext_man}
%changelog