File xorg-x11-drv-omapfb.spec of Package xorg-x11-drv-omapfb

#
# spec file for package xorg-x11-drv-omapfb
#
# Copyright (c) 2012 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:           xorg-x11-drv-omapfb
Summary:        X.Org X server -- Omapfb display driver (NEON optimized)
License:        GPL-2.0+ and MIT
Group:          System/X11/Servers/XF86_4
Version:        0.1.1.20110503
Release:        0.0
ExclusiveArch:  armv7l armv7hl
Url:            http://cgit.pingu.fi/xf86-video-omapfb/
Source0:        xf86-video-omapfb-%{version}.tar.bz2
Source1:        20-omapfb.conf
Requires:       Mesa
Requires:       xorg-x11-server
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  libtool
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
This driver for the X.Org X server provides support for OMAP Framebuffer with
NEON optimized code for Beagleboard and other devices based on OMAP3 or newer.

%prep
%setup -q -n xf86-video-omapfb-%{version}

%build
./autogen.sh
export CFLAGS="%{optflags} -mfpu=neon"
%configure --disable-static \
    --enable-neon
make %{?_smp_mflags}

%install
%make_install
install -D -p -m 0644 %{_sourcedir}/20-omapfb.conf \
%{buildroot}%{_sysconfdir}/X11/xorg.conf.d/20-omapfb.conf

%files
%defattr(-,root,root,-)
%config %{_sysconfdir}/X11/xorg.conf.d/20-omapfb.conf
%dir %{_libdir}/xorg/modules/drivers
%{_libdir}/xorg/modules/drivers/*.so
%{_libdir}/xorg/modules/drivers/*.la

%changelog
openSUSE Build Service is sponsored by