52 lines
1.3 KiB
RPMSpec
52 lines
1.3 KiB
RPMSpec
|
%define xorg_ver %(pkg-config xorg-server --modversion|cut -d. -f 1-2)
|
||
|
Name: xf86-video-amdgpu
|
||
|
Version: 1.4.0
|
||
|
Release: 1mamba
|
||
|
Summary: AMD Radeon video driver for the Xorg X server
|
||
|
Group: System/X11
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://www.x.org
|
||
|
Source: https://www.x.org/releases/individual/driver/xf86-video-amdgpu-%{version}.tar.bz2
|
||
|
License: MIT
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libdrm-devel
|
||
|
BuildRequires: libgbm-devel
|
||
|
BuildRequires: libudev-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
Provides: xorg-drv-video-amdgpu
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
AMD Radeon video driver for the Xorg X server.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/xorg/modules/drivers/amdgpu_drv.la
|
||
|
%{_libdir}/xorg/modules/drivers/amdgpu_drv.so
|
||
|
%{_datadir}/X11/xorg.conf.d/10-amdgpu.conf
|
||
|
%{_mandir}/man4/amdgpu.4*
|
||
|
%doc COPYING
|
||
|
|
||
|
%changelog
|
||
|
* Fri Dec 08 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-1mamba
|
||
|
- package created using the webbuild interface
|