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