71d29b3
%global tarball xf86-video-amdgpu
71d29b3
%global moduledir %(pkg-config xorg-server --variable=moduledir )
71d29b3
%global driverdir %{moduledir}/drivers
71d29b3
71d29b3
# Xorg cannot load hardened build
71d29b3
%undefine _hardened_build
71d29b3
71d29b3
Name:		xorg-x11-drv-amdgpu
Christopher Atherton 9ea838e
Version:	19.0.0
Christopher Atherton 9ea838e
Release:	1%{?dist}
71d29b3
71d29b3
Summary:	AMD GPU video driver
71d29b3
License:	MIT
71d29b3
ff74660
URL:		https://www.x.org/wiki
4d146bc
Source:		https://www.x.org/archive/individual/driver/%{tarball}-%{version}.tar.bz2
71d29b3
71d29b3
ExcludeArch:	s390 s390x
71d29b3
8042765
BuildRequires: python2
71d29b3
BuildRequires: xorg-x11-server-devel
71d29b3
BuildRequires: mesa-libGL-devel
71d29b3
BuildRequires: mesa-libgbm-devel
71d29b3
BuildRequires: libdrm-devel
71d29b3
BuildRequires: kernel-headers
71d29b3
BuildRequires: automake autoconf libtool pkgconfig
71d29b3
BuildRequires: xorg-x11-util-macros
71d29b3
BuildRequires: libudev-devel
71d29b3
BuildRequires: xorg-x11-glamor-devel
71d29b3
71d29b3
Requires: Xorg %(xserver-sdk-abi-requires ansic)
71d29b3
Requires: Xorg %(xserver-sdk-abi-requires videodrv)
0fb1a8f
Requires: libdrm >= 2.4.76
71d29b3
71d29b3
%description
71d29b3
X.Org X11 AMDGPU driver
71d29b3
71d29b3
%prep
4d146bc
%autosetup -n %{tarball}-%{version}
71d29b3
71d29b3
%build
ff74660
#autoreconf -fiv
71d29b3
%configure --disable-static --enable-glamor
71d29b3
%make_build
71d29b3
71d29b3
%install
71d29b3
%make_install
71d29b3
find %{buildroot} -name '*.la' -exec rm -f {} ';'
71d29b3
41622a1
%ldconfig_scriptlets
71d29b3
71d29b3
%files
71d29b3
%{driverdir}/amdgpu_drv.so
71d29b3
%{_datadir}/X11/xorg.conf.d/10-amdgpu.conf
71d29b3
%{_mandir}/man4/amdgpu.4*
71d29b3
71d29b3
%changelog
Christopher Atherton 9ea838e
* Wed Mar 06 2019 Christopher Atherton <the8lack8ox@gmail.com> - 19.0.0-1
Christopher Atherton 9ea838e
- Update to 19.0.0
Christopher Atherton 9ea838e
4b119d9
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 18.1.0-2
4b119d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
4b119d9
0fb1a8f
* Sun Sep 16 2018 Christopher Atherton <the8lack8ox@gmail.com> - 18.1.0-1
0fb1a8f
- Update to 18.1.0
0fb1a8f
9434fae
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 18.0.1-4
9434fae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
9434fae
8042765
* Mon Apr 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 18.0.1-3
8042765
- Update Python 2 dependency declarations to new packaging standards
8042765
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
8042765
c14d4bd
* Mon Apr 02 2018 Adam Jackson <ajax@redhat.com> - 18.0.1-2
c14d4bd
- Rebuild for xserver 1.20
c14d4bd
0fb1a8f
* Thu Mar 15 2018 Christopher Atherton <the8lack8ox@gmail.com> - 18.0.1-1
ae17d57
- Update to 18.0.1
ae17d57
7708d47
* Wed Mar 07 2018 Christopher Atherton <the8lack8ox@gmail.com> - 18.0.0-1
7708d47
- Update to 18.0.0
7708d47
0bf264f
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
0bf264f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0bf264f
cd2f555
* Fri Sep 08 2017 Christopher Atherton <the8lack8ox@gmail.com> - 1.4.0-1
cd2f555
- Update to 1.4.0
cd2f555
f0c03e3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
f0c03e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
f0c03e3
c7993d6
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
c7993d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c7993d6
ff74660
* Thu Mar 16 2017 poma <poma@gmail.com> 1.3.0-1
ff74660
- Update to 1.3.0
7194b5c
4d146bc
* Mon Nov 21 2016 Christopher Atherton <the8lack8ox@gmail.com> 1.2.0-1
4d146bc
- Update to latest release
4d146bc
56d5bce
* Thu Sep 29 2016 Hans de Goede <hdegoede@redhat.com> 1.1.2-3
56d5bce
- Update to latest git master for use with xserver-1.19
56d5bce
- Rebuild against xserver-1.19
56d5bce
dc7d7d5
* Sat Sep 24 2016 Christopher Atherton <the8lack8ox@gmail.com> 1.1.2-2
dc7d7d5
- Use upstream provided xorg.conf file
dc7d7d5
a941827
* Sat Sep 17 2016 Christopher Atherton <the8lack8ox@gmail.com> 1.1.2-1
dc7d7d5
- Update to latest release
a941827
71d29b3
* Thu Sep 15 2016 Christopher Atherton <the8lack8ox@gmail.com> 1.1.1-1
dc7d7d5
- Update to latest release
71d29b3
71d29b3
* Sun Sep 04 2016 Christopher Atherton <the8lack8ox@gmail.com> 1.1.0-6
71d29b3
- Add BuildRequires on mesa-libgbm-devel
71d29b3
71d29b3
* Sun Sep 04 2016 Christopher Atherton <the8lack8ox@gmail.com> 1.1.0-5
71d29b3
- Disable hardened build
71d29b3
71d29b3
* Sun Sep 04 2016 Christopher Atherton <the8lack8ox@gmail.com> 1.1.0-4
71d29b3
- Use buildroot macro not RPM_BUILD_ROOT variable
71d29b3
- Replace /usr/share with _datadir
71d29b3
- Enable hardened build
71d29b3
71d29b3
* Sat Sep 03 2016 Christopher Atherton <the8lack8ox@gmail.cmo> 1.1.0-3
71d29b3
- Require libdrm equal to or later than 2.4.63
71d29b3
71d29b3
* Sat Sep 03 2016 Christopher Atherton <the8lack8ox@gmail.com> 1.1.0-2
71d29b3
- Fixed ExcludeArch typo
71d29b3
- Add URL for source
71d29b3
- Use --force with autoreconf
71d29b3
- Use make_build macro
71d29b3
- Removed explicit libdrm dependency
71d29b3
71d29b3
* Sat Sep 03 2016 Christopher Atherton <the8lack8ox@gmail.com> 1.1.0-1
71d29b3
- Initial spec