File intel-gpu-tools.spec of Package intel-gpu-tools

#
# spec file for package intel-gpu-tools
#
# Copyright (c) 2013 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:           intel-gpu-tools
Version:        1.5
Release:        0
Summary:        Collection of tools for development and testing of the Intel DRM driver
License:        MIT
Group:          Development/Tools/Other
Url:            http://xorg.freedesktop.org/
Source0:        %{name}-%{version}.tar.bz2
Patch0:         n_disable-build-of-pm_pc8.patch
BuildRequires:  i2c-tools
BuildRequires:  libtool
BuildRequires:  pkg-config
BuildRequires:  python3-devel
BuildRequires:  swig >= 2.0.0
BuildRequires:  pkgconfig(cairo)
BuildRequires:  pkgconfig(libdrm_intel) >= 2.4.6
BuildRequires:  pkgconfig(pciaccess) >= 0.10
BuildRequires:  pkgconfig(xorg-macros) >= 1.3
BuildRequires:  pkgconfig(xv)

# This was part of the xorg-x11-driver-video package up to version 7.6
Conflicts:      xorg-x11-driver-video <= 7.6
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
# Intel GPU is only available on x86 and x86-64
ExclusiveArch:  %ix86 x86_64

%description
This is a collection of tools for development and testing of the Intel
DRM driver.

%prep
%setup -q -n %{name}-%{version}
%patch0 -p1

%build
autoreconf -fi
%configure
make %{?_smp_mflags}

%install
%make_install

%files
%defattr(-,root,root)
%doc README
%doc COPYING
%exclude %{_libdir}/I915ChipsetPython.la
%exclude %{_libdir}/I915ChipsetPython.so
# don't know hot to fix build differently!?!
%exclude /usr/lib/debug/usr/%{_lib}/I915ChipsetPython.so.debug
%exclude /usr/lib/debug/.build-id
%{_bindir}/*
%{_mandir}/man*/*

%changelog
openSUSE Build Service is sponsored by