A new user interface for you! Read more...

File pvr-omapes3.x.spec of Package TI_Graphics_SDK

#
# spec file for package pvr-omapes3.x
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Guillaume GARDET <guillaume@opensuse.org>
#
# 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/
#


%define es_version 3.x
%define es_version_major 3
%define use_xorg 0

Name:           pvr-omapes%es_version
Version:        5_00_00_01
Release:        0
Summary:        Add SGX support (2D/3D accelerator chip) for OMAP35x SoC
License:        TI-TSPA
Group:          System/Libraries
# Url:            http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html
Url:            http://software-dl.ti.com/dsps/dsps_public_sw/gfxsdk/5_00_00_01/index_FDS.html
Source0:        TI_Graphics_SDK-%{version}.tar.gz
Source1:        common.spec.inc
Source2:        preamble
Source10:       rc.pvr
Source11:       99-pvr.conf
Source12:       powervr.ini
Source100:      TI_Graphics_SDK-rpmlintrc
Patch0:         define-kernel-install-dir-var.patch
Patch1:         patch-fix-omaplfb-compilation.patch
Patch2:         patch-disable-devmem2-build.patch
Patch3:         add-missing-include-to-fix-compilation.patch
Patch4:         disable-drm_sman-build.patch
Patch5:         patch-replace-old-cpu_is-functions.patch
Patch6:         patch-replace-old-cpu_is-functions_V2.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  %kernel_module_package_buildreqs
BuildRequires:  chrpath
%if 0%{suse_version} > 123
BuildRequires:  kernel-default-devel
%else
BuildRequires:  kernel-omap2plus-devel
%endif
BuildRequires:  u-boot-tools
BuildRequires:  bc sed
%if %use_xorg
BuildRequires:  libdrm-devel
Requires:       xf86-video-omap
%endif
ExclusiveArch:  armv7l armv7hl


%if 0%{suse_version} > 123
%kernel_module_package -p %_sourcedir/preamble default
%else
%kernel_module_package -p %_sourcedir/preamble omap2plus
%endif


%description
Add SGX support (2D/3D accelerator chip) for systems based on OMAP35x SoC. The Beagleboard is such a system.


%package KMP
Summary:        Add SGX support (2D/3D accelerator chip) for systems based on OMAP35x SoC
Group:          System/Libraries
Requires:       pvr-omapes%es_version-libs%es_version_major
BuildRequires:  %kernel_module_package_buildreqs
ExclusiveArch:  armv7l armv7hl


%description KMP
Add SGX support (2D/3D accelerator chip) for systems based on OMAP35x SoC. The Beagleboard is such a system.
This package provides kernel drivers only. You also need to install the libraries.


%package libs%es_version_major
Summary:        Add SGX support (2D/3D accelerator chip) for systems based on OMAP35x SoC
Group:          System/Libraries
BuildRequires:  kernel-source kernel-syms module-init-tools

%description libs%es_version_major
Add SGX support (2D/3D accelerator chip) for systems based on OMAP35x SoC. The Beagleboard is such a system.
This package provides libraries only. You also need to install kernel drivers.


%package tests
Summary:        Add SGX support (2D/3D accelerator chip) for systems based on OMAP35x SoC
Group:          System/Libraries
Requires:       pvr-omapes%es_version-libs%es_version_major
BuildRequires:  kernel-source kernel-syms module-init-tools

%description tests
Add SGX support (2D/3D accelerator chip) for systems based on OMAP35x SoC. The Beagleboard is such a system.
This package provides some test programs only. You also need to install kernel drivers and libraries.




%include %{_sourcedir}/common.spec.inc




%changelog