]> git.pld-linux.org Git - packages/xorg-driver-video-amdgpu.git/blob - xorg-driver-video-amdgpu.spec
a55e60ed78cdc79eb5c3c277b0cd6d955bd688db
[packages/xorg-driver-video-amdgpu.git] / xorg-driver-video-amdgpu.spec
1 #
2 # Conditional build:
3 %bcond_without  glamor          # glamor, new GL-based acceleration
4 #
5 %define libdrm_ver      2.4.58
6 Summary:        X.org video driver for AMD Radeon GPUs
7 Summary(pl.UTF-8):      Sterowniki obrazu X.org do układów graficznych AMD Radeon
8 Name:           xorg-driver-video-amdgpu
9 Version:        1.1.0
10 Release:        1
11 License:        MIT
12 Group:          X11/Applications
13 Source0:        http://xorg.freedesktop.org/releases/individual/driver/xf86-video-amdgpu-%{version}.tar.bz2
14 # Source0-md5:  89e62ee60b12f94e27ab76268bbbe778
15 URL:            http://xorg.freedesktop.org/
16 BuildRequires:  Mesa-libGL-devel
17 BuildRequires:  autoconf >= 2.60
18 BuildRequires:  automake
19 %{?with_glamor:BuildRequires:   xorg-xserver-server-devel >= 1.16.0}
20 BuildRequires:  libdrm-devel >= %{libdrm_ver}
21 BuildRequires:  libtool
22 BuildRequires:  pkgconfig >= 1:0.19
23 BuildRequires:  rpmbuild(macros) >= 1.389
24 BuildRequires:  udev-devel
25 BuildRequires:  xorg-proto-fontsproto-devel
26 BuildRequires:  xorg-proto-randrproto-devel
27 BuildRequires:  xorg-proto-renderproto-devel
28 BuildRequires:  xorg-proto-videoproto-devel
29 BuildRequires:  xorg-proto-xextproto-devel >= 7.0.99.1
30 BuildRequires:  xorg-proto-xf86driproto-devel
31 BuildRequires:  xorg-util-util-macros >= 1.8
32 BuildRequires:  xorg-xserver-server-devel >= 1.9
33 %{?requires_xorg_xserver_videodrv}
34 %{?with_glamor:Requires:        xorg-xserver-server >= 1.16.0}
35 Requires:       libdrm >= %{libdrm_ver}
36 Requires:       xorg-xserver-libdri >= 1.9
37 Requires:       xorg-xserver-libglx >= 1.9
38 Requires:       xorg-xserver-server >= 1.9
39 Provides:       xorg-driver-video
40 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42 %description
43 amdgpu is an Xorg video driver for AMD RADEON-based video cards with
44 the following features:
45 - support for 24-bit pixel depth,
46 - RandR support up to version 1.4,
47 - 3D acceleration.
48
49 This driver supports CI and newer families' video cards.
50
51 %description
52 amdgpu to sterownik obraz uXorg dla kart graficznych opartych na
53 układach AMD RADEON. Ma następujące możliwości:
54 - obsługa 24-bitowej głębi kolorów,
55 - obsługa RandR do wersji 1.4,
56 - akceleracja 3D.
57
58 Obsługuje karty graficzne z rodziny CI i nowszych.
59
60 %prep
61 %setup -q -n xf86-video-amdgpu-%{version}
62
63 %build
64 %{__libtoolize}
65 %{__aclocal}
66 %{__autoconf}
67 %{__autoheader}
68 %{__automake}
69 %configure \
70         %{!?with_glamor:--disable-glamor}
71
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 %{__make} install \
78         DESTDIR=$RPM_BUILD_ROOT
79
80 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files
86 %defattr(644,root,root,755)
87 %doc COPYING ChangeLog README
88 %attr(755,root,root) %{_libdir}/xorg/modules/drivers/amdgpu_drv.so
89 %{_datadir}/X11/xorg.conf.d/10-amdgpu.conf
90 %{_mandir}/man4/amdgpu.4*
This page took 0.064753 seconds and 2 git commands to generate.