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

#
# spec file for package intel-gpu-tools
#
# 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:           intel-gpu-tools
Version:        1.2
Release:        0
%define _version 1.2
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
Patch1:         intel-gpu-tools-no-test.diff
BuildRequires:  libtool
BuildRequires:  pkg-config
BuildRequires:  pkgconfig(libdrm_intel) >= 2.4.6
BuildRequires:  pkgconfig(pciaccess) >= 0.10
BuildRequires:  pkgconfig(xorg-macros) >= 1.3
# 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}
%patch1 -p1

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

%install
%make_install

%files
%defattr(-,root,root)
%doc README
%{_bindir}/*
%{_mandir}/man*/*

%changelog
openSUSE Build Service is sponsored by