56 lines
1.3 KiB
RPMSpec
56 lines
1.3 KiB
RPMSpec
%global moduledir %(pkg-config xorg-server --variable=moduledir )
|
|
%global driverdir %{moduledir}/drivers
|
|
|
|
%undefine _hardened_build
|
|
|
|
Name: xorg-x11-drv-vmware
|
|
Version: 13.2.1
|
|
Release: 1
|
|
Summary: Xorg X11 vmware video driver
|
|
License: MIT
|
|
URL: http://www.x.org
|
|
Source0: ftp://ftp.x.org/pub/individual/driver/xf86-video-vmware-%{version}.tar.bz2
|
|
|
|
Patch0: 0001-saa-Build-compatibility-with-xserver-1.20.patch
|
|
|
|
ExclusiveArch: %{ix86} x86_64 ia64
|
|
|
|
BuildRequires: autoconf automake libtool xorg-x11-server-devel >= 1.10.99.902
|
|
BuildRequires: libdrm-devel libXext-devel libX11-devel systemd-devel
|
|
BuildRequires: mesa-libxatracker-devel >= 8.0.1-4
|
|
|
|
Requires: libxatracker >= 8.0.1-4 Xorg %(xserver-sdk-abi-requires ansic)
|
|
Requires: Xorg %(xserver-sdk-abi-requires videodrv)
|
|
|
|
%description
|
|
X.Org X11 vmware video driver.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n xf86-video-vmware-%{version} -p1
|
|
|
|
%build
|
|
autoreconf -v --install || exit 1
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%delete_la_and_a
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%license COPYING
|
|
%{driverdir}/vmware_drv.so
|
|
|
|
%files help
|
|
%defattr(-,root,root)
|
|
%doc README ChangeLog
|
|
%{_mandir}/man4/vmware.4*
|
|
|
|
%changelog
|
|
* Tue Mar 10 2020 hexiujun <hexiujun1@huawei.com> - 13.2.1-1
|
|
- Package init
|