source: projects/specs/trunk/x/xorg-x11-drv-amdgpu/xorg-x11-drv-amdgpu-vl.spec @ 11476

Revision 11476, 1.8 KB checked in by iwamoto, 6 years ago (diff)

xorg-x11-drv-amdgpu: new package

Line 
1%global tarball xf86-video-amdgpu
2%global moduledir %(pkg-config xorg-server --variable=moduledir )
3%global driverdir %{moduledir}/drivers
4
5# Xorg cannot load hardened build
6%undefine _hardened_build
7
8Name:           xorg-x11-drv-amdgpu
9Version:        1.4.0
10Release:        3%{?_dist_release}
11
12Summary:        AMD GPU video driver
13Summary(ja):    xorg X11 amdgpu ビデオドライバ
14Group:          User Interface/X Hardware Support
15License:        MIT
16
17URL:            https://www.x.org/wiki
18Source:         https://www.x.org/archive/individual/driver/%{tarball}-%{version}.tar.bz2
19
20ExcludeArch:    s390 s390x
21BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
22
23BuildRequires: python
24BuildRequires: xorg-x11-server-sdk >= 1.6
25BuildRequires: mesa-libGL-devel
26BuildRequires: mesa-libgbm-devel
27BuildRequires: libdrm-devel >= 2.4.72
28BuildRequires: kernel-headers
29BuildRequires: automake autoconf libtool pkgconfig
30BuildRequires: xorg-x11-util-macros
31BuildRequires: eudev-libudev-devel
32
33Requires:  hwdata
34Requires:  xorg-x11-server-Xorg
35Requires:  libdrm >= 2.4.72
36
37Vendor: Project Vine
38Distribution: Vine Linux
39
40%description
41X.Org X11 AMDGPU driver
42
43%prep
44%autosetup -n %{tarball}-%{version}
45
46%build
47#autoreconf -fiv
48%configure --disable-static --enable-glamor
49%make_build
50
51%install
52%make_install
53find %{buildroot} -name '*.la' -exec rm -f {} ';'
54
55%post -p /sbin/ldconfig
56%postun -p /sbin/ldconfig
57
58%files
59%{driverdir}/amdgpu_drv.so
60%{_datadir}/X11/xorg.conf.d/10-amdgpu.conf
61%{_mandir}/man4/amdgpu.4*
62
63%changelog
64* Fri Feb 16 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.0-3
65- rebuild with xserver-1.19.6
66
67* Wed Feb 14 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.0-2
68- add Distri/Vendor tags
69
70* Wed Feb 14 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.0-1
71- Initial build for VineLinux (Vine7)
72- This package is based on xorg-x11-drv-amdgpu-1.4.0-1.fc28
73  Thanks to fc team.
Note: See TracBrowser for help on using the repository browser.