xf86-video-amdgpu/xf86-video-amdgpu.spec

55 lines
1.4 KiB
RPMSpec
Raw Permalink Normal View History

%define xorg_ver %(pkg-config xorg-server --modversion|cut -d. -f 1-2)
Name: xf86-video-amdgpu
Version: 18.0.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
* Mon Mar 12 2018 Automatic Build System <autodist@mambasoft.it> 18.0.0-1mamba
- automatic version update by autodist
* Fri Dec 08 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-1mamba
- package created using the webbuild interface