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

#
# spec file for package xf86-video-freedreno
#
# 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-freedreno
Summary:        X.Org X server -- freedreno display driver
License:        MIT and BSD-3-Clause
Group:          System/X11/Servers/XF86_4
Version:        1.2.0
Release:        0.0
ExclusiveArch:  %arm
Url:            https://github.com/freedreno/xf86-video-freedreno
Source0:        http://xorg.freedesktop.org/releases/individual/driver/xf86-video-freedreno-%{version}.tar.bz2
Requires:       xorg-x11-server
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  libdrm-devel >= 2.4.54
BuildRequires:  libdrm2 >= 2.4.54
BuildRequires:  libtool
BuildRequires:  libudev-devel
BuildRequires:  pkgconfig(fontsproto)
BuildRequires:  pkgconfig(inputproto)
BuildRequires:  pkgconfig(randrproto)
BuildRequires:  pkgconfig(renderproto)
BuildRequires:  pkgconfig(videoproto)
BuildRequires:  pkgconfig(xextproto)
BuildRequires:  pkgconfig(xorg-server)
BuildRequires:  pkgconfig(xproto)

%description
Open-source X.org graphics driver for Qualcomm Adreno graphics

%prep
%setup -q

%build
export CFLAGS="%{optflags}"
%configure --disable-static
make %{?_smp_mflags}

%install
%make_install

%files
%defattr(-,root,root,-)
%dir %{_libdir}/xorg/modules/drivers
%{_libdir}/xorg/modules/drivers/*.so
%{_libdir}/xorg/modules/drivers/*.la
%doc %{_mandir}/man4/freedreno.4.gz
/usr/share/X11/xorg.conf.d/42-freedreno.conf

%changelog
openSUSE Build Service is sponsored by