52 lines
1.1 KiB
RPMSpec
52 lines
1.1 KiB
RPMSpec
%define moduledir %(pkg-config xorg-server --variable=moduledir )
|
|
%define driverdir %{moduledir}/drivers
|
|
%undefine _hardened_build
|
|
|
|
Name: xorg-x11-drv-nouveau
|
|
Epoch: 1
|
|
Version: 1.0.15
|
|
Release: 7
|
|
Summary: Xorg X11 nouveau video driver for NVIDIA graphics chipsets
|
|
URL: https://www.x.org
|
|
License: MIT
|
|
Source0: https://www.x.org/archive/individual/driver/xf86-video-nouveau-%{version}.tar.bz2
|
|
Source1: make-git-snapshot.sh
|
|
|
|
BuildRequires: libtool automake autoconf systemd-devel mesa-libGL-devel
|
|
BuildRequires: xorg-x11-server-devel libdrm-devel
|
|
|
|
Requires: Xorg %(xserver-sdk-abi-requires ansic) libdrm
|
|
Requires: Xorg %(xserver-sdk-abi-requires videodrv)
|
|
|
|
%description
|
|
X.Org X11 nouveau video driver.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n xf86-video-nouveau-%{version}
|
|
|
|
%build
|
|
autoreconf -vif
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%delete_la
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING ChangeLog
|
|
%{driverdir}/nouveau_drv.so
|
|
|
|
%files help
|
|
%defattr(-,root,root)
|
|
%{_mandir}/man4/nouveau.4*
|
|
|
|
%changelog
|
|
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:1.0.15-7
|
|
- Package init
|
|
|