From 9d2fb4834a2e23e6cdaf6e0a9ed50c521340213a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 19:37:53 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.4.0-1mamba;Fri Dec 08 2017] --- README.md | 2 ++ xf86-video-amdgpu.spec | 51 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 xf86-video-amdgpu.spec diff --git a/README.md b/README.md index 85f04d5..f6791d1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # xf86-video-amdgpu +AMD Radeon video driver for the Xorg X server. + diff --git a/xf86-video-amdgpu.spec b/xf86-video-amdgpu.spec new file mode 100644 index 0000000..713c318 --- /dev/null +++ b/xf86-video-amdgpu.spec @@ -0,0 +1,51 @@ +%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 +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 1.4.0-1mamba +- package created using the webbuild interface