2012-04-19 09:39:24 +00:00
|
|
|
#
|
|
|
|
# spec file for package xf86-video-ati
|
|
|
|
#
|
2014-01-30 11:02:58 +00:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2012-04-19 09:39:24 +00:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2012-05-16 12:46:58 +00:00
|
|
|
|
2014-03-18 13:34:16 +00:00
|
|
|
%define xserver_glamor 0
|
|
|
|
|
2012-04-19 09:39:24 +00:00
|
|
|
Name: xf86-video-ati
|
2014-03-18 13:34:16 +00:00
|
|
|
Version: 7.3.0.1
|
2012-04-19 09:39:24 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: ATI video driver for the Xorg X server
|
2012-05-16 12:46:58 +00:00
|
|
|
License: MIT
|
2012-04-19 09:39:24 +00:00
|
|
|
Group: System/X11/Servers/XF86_4
|
2012-05-16 12:46:58 +00:00
|
|
|
Url: http://xorg.freedesktop.org/
|
2013-08-07 16:25:55 +00:00
|
|
|
Source0: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2
|
2012-09-05 14:56:45 +00:00
|
|
|
|
2012-04-19 09:39:24 +00:00
|
|
|
BuildRequires: Mesa-devel
|
2012-09-05 14:56:45 +00:00
|
|
|
BuildRequires: autoconf >= 2.60
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libtool
|
2012-04-19 09:39:24 +00:00
|
|
|
BuildRequires: pkg-config
|
2012-05-16 12:46:58 +00:00
|
|
|
BuildRequires: pkgconfig(fontsproto)
|
2012-09-05 14:56:45 +00:00
|
|
|
# Libdrm 2.4.36 needed for kms
|
|
|
|
BuildRequires: pkgconfig(libdrm) >= 2.4.36
|
|
|
|
# Glamor is new and we want that now
|
2014-03-18 13:34:16 +00:00
|
|
|
%if !%xserver_glamor
|
2012-09-05 14:56:45 +00:00
|
|
|
BuildRequires: pkgconfig(glamor) >= 0.3.1
|
2014-03-18 13:34:16 +00:00
|
|
|
%endif
|
2012-09-05 14:56:45 +00:00
|
|
|
BuildRequires: pkgconfig(libdrm_radeon) >= 2.4.36
|
2012-04-19 09:39:24 +00:00
|
|
|
BuildRequires: pkgconfig(libudev)
|
|
|
|
BuildRequires: pkgconfig(pciaccess) >= 0.8.0
|
|
|
|
BuildRequires: pkgconfig(randrproto)
|
|
|
|
BuildRequires: pkgconfig(renderproto)
|
|
|
|
BuildRequires: pkgconfig(videoproto)
|
|
|
|
BuildRequires: pkgconfig(xextproto)
|
|
|
|
BuildRequires: pkgconfig(xf86driproto)
|
|
|
|
BuildRequires: pkgconfig(xorg-macros) >= 1.8
|
2014-03-18 13:34:16 +00:00
|
|
|
BuildRequires: pkgconfig(xorg-server) >= 1.15
|
2012-04-19 09:39:24 +00:00
|
|
|
BuildRequires: pkgconfig(xproto)
|
|
|
|
# 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
|
2013-08-07 14:34:35 +00:00
|
|
|
ExcludeArch: s390 s390x
|
2013-03-20 11:08:30 +00:00
|
|
|
Supplements: modalias(xorg-x11-server:pci:v00001002d*sv*sd*bc03sc*i*)
|
2012-04-19 09:39:24 +00:00
|
|
|
|
2013-03-20 11:40:29 +00:00
|
|
|
%x11_abi_videodrv_req
|
|
|
|
|
2012-04-19 09:39:24 +00:00
|
|
|
%description
|
2012-09-05 14:56:45 +00:00
|
|
|
ati is an Xorg driver for ATI/AMD video cards.
|
2012-04-19 09:39:24 +00:00
|
|
|
|
|
|
|
It autodetects whether your hardware has a Radeon, Rage 128, or Mach64
|
|
|
|
or earlier class of chipset, and loads the radeon, r128, or mach64
|
|
|
|
driver as appropriate.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2012-09-05 14:56:45 +00:00
|
|
|
autoreconf -fi
|
|
|
|
%configure --enable-glamor
|
2012-04-19 09:39:24 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2012-09-05 14:56:45 +00:00
|
|
|
%doc COPYING README
|
2012-04-19 09:39:24 +00:00
|
|
|
%dir %{_libdir}/xorg/modules/drivers
|
|
|
|
%{_libdir}/xorg/modules/drivers/ati_drv.so
|
|
|
|
%{_libdir}/xorg/modules/drivers/radeon_drv.so
|
|
|
|
%{_datadir}/man/man4/ati.4%{?ext_man}
|
|
|
|
%{_datadir}/man/man4/radeon.4%{?ext_man}
|
|
|
|
|
|
|
|
%changelog
|