File xf86-video-armsoc.spec of Package xf86-video-armsoc

#
# spec file for package 
#
# Copyright (c) specCURRENT_YEAR 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-armsoc
Version:	0.0.1
Release:	0
License:	MIT
Summary:	Generic DDX driver for ARM SoCs incl OMAP/Exynos
Url:		http://git.chromium.org/gitweb/?p=chromiumos/third_party/xf86-video-armsoc.git;a=summary
Group:		System/X11/Servers/XF86_4
Source0:	%{name}-%{version}.tar.bz2
Source1:	exynos.conf
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Buildrequires:	autoconf
Buildrequires:	automake
Buildrequires:	libtool
BuildRequires:  Mesa-devel
BuildRequires:  pkg-config
BuildRequires:  pkgconfig(fontsproto)
BuildRequires:  pkgconfig(libdrm) >= 2.0
BuildRequires:  pkgconfig(pciaccess) >= 0.10
BuildRequires:  pkgconfig(randrproto)
BuildRequires:  pkgconfig(renderproto)
BuildRequires:  pkgconfig(videoproto)
BuildRequires:  pkgconfig(xextproto)
BuildRequires:  pkgconfig(xf86dgaproto)
BuildRequires:  pkgconfig(xf86driproto)
BuildRequires:  pkgconfig(xineramaproto)
BuildRequires:  pkgconfig(xorg-macros) >= 1.8
BuildRequires:  pkgconfig(xorg-server) >= 1.0.99.901
BuildRequires:  pkgconfig(xproto)
Supplements:    xorg-x11-server
Requires:	libxcb-dri2-0
Patch0:		0001-copy-paste-from-omap-driver-to-get-it-compiled.patch


%description
Generic DDX driver for OMAP and Exynos based ARM SoCs.

%prep
%setup -q
%patch0 -p1

%build
sh -x autogen.sh
%configure
make %{?_smp_mflags}

%install
%make_install
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
mkdir -p %{buildroot}%{_sysconfdir}/X11/xorg.conf.d
install -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/

%files
%defattr(-,root,root)
%dir %{_libdir}/xorg/modules/drivers
%{_libdir}/xorg/modules/drivers/armsoc_drv.so
%{_datadir}/man/man4/armsoc.4%{?ext_man}
%{_sysconfdir}/X11/xorg.conf.d/exynos.conf

%changelog

openSUSE Build Service is sponsored by