141 lines
4.8 KiB
RPMSpec
141 lines
4.8 KiB
RPMSpec
|
%define xorg_ver %(pkg-config xorg-server --modversion|cut -d. -f 1-2)
|
||
|
Name: xf86-video-nouveau
|
||
|
Version: 1.0.17
|
||
|
Release: 4mamba
|
||
|
Summary: X.Org accelerated Open Source video driver for nVidia cards
|
||
|
Group: System/X11
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://www.x.org/wiki/
|
||
|
Source: https://ftp.x.org/archive/individual/driver/xf86-video-nouveau-%{version}.tar.bz2
|
||
|
Patch0: xorg-drv-video-nouveau-1.0.17-xorg-server-21.1.3.patch
|
||
|
License: MIT
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libdrm-devel
|
||
|
BuildRequires: libudev-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: xorg-server-devel >= 21.1.3-1mamba
|
||
|
Requires: xorg-server >= %{xorg_ver}
|
||
|
Requires: xorg-server <= %{xorg_ver}.255
|
||
|
Provides: xorgdrvvideo
|
||
|
Provides: xorg-drv-video-nouveau
|
||
|
Obsoletes: xorg-drv-video-nouveau < 1.0.17-4mamba
|
||
|
|
||
|
%description
|
||
|
X.Org accelerated Open Source video driver for nVidia cards.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
%patch0 -p1 -b .xorg-server-21.1.3
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
install -d -m0755 %{buildroot}%{_modprobedir}
|
||
|
cat > %{buildroot}%{_modprobedir}/nouveau.conf << __EOF
|
||
|
#options nouveau noaccel=1
|
||
|
__EOF
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_modprobedir}/nouveau.conf
|
||
|
%{_libdir}/xorg/modules/drivers/nouveau_drv.so
|
||
|
%{_mandir}/man4/nouveau.4*
|
||
|
|
||
|
%changelog
|
||
|
* Sun Feb 26 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.17-4mamba
|
||
|
- source renamed from xorg-drv-video-nouveau; comment noaccel=1 workaround causing problems seen on dual GPU laptops
|
||
|
|
||
|
* Thu Jan 19 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.17-3mamba
|
||
|
- load driver with noaccel=1 to ensure basic functionalities on nvidia GPUs
|
||
|
|
||
|
* Sat Feb 19 2022 Automatic Build System <autodist@mambasoft.it> 1.0.17-2mamba
|
||
|
- rebuilt by autoport with build requirements: xorg-server-devel>=21.1.3-1mamba
|
||
|
|
||
|
* Tue Jan 26 2021 Automatic Build System <autodist@mambasoft.it> 1.0.17-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sun Mar 03 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.16-2mamba
|
||
|
- rebuilt with xorg-server 1.20.4
|
||
|
|
||
|
* Fri Feb 01 2019 Automatic Build System <autodist@mambasoft.it> 1.0.16-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Dec 07 2017 Automatic Build System <autodist@mambasoft.it> 1.0.15-2mamba
|
||
|
- rebuild with xorg-server 1.19.5
|
||
|
|
||
|
* Sun Aug 13 2017 Automatic Build System <autodist@mambasoft.it> 1.0.15-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sat Mar 18 2017 Automatic Build System <autodist@mambasoft.it> 1.0.14-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Mon Sep 26 2016 Automatic Build System <autodist@mambasoft.it> 1.0.13-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Fri Jan 15 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.12-1mamba
|
||
|
- update to 1.0.12
|
||
|
|
||
|
* Fri Aug 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.11-2mamba
|
||
|
- rebuilt with xorg-server 1.17.2
|
||
|
|
||
|
* Wed Mar 04 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.11-1mamba
|
||
|
- update to 1.0.11
|
||
|
|
||
|
* Sat Jun 14 2014 Automatic Build System <autodist@mambasoft.it> 1.0.10-2mamba
|
||
|
- X.org 1.15 rebuild
|
||
|
|
||
|
* Thu Dec 12 2013 Automatic Build System <autodist@mambasoft.it> 1.0.10-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Mon Aug 12 2013 Automatic Build System <autodist@mambasoft.it> 1.0.9-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Fri Jun 14 2013 Automatic Build System <autodist@mambasoft.it> 1.0.8-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sun Mar 31 2013 Automatic Build System <autodist@mambasoft.it> 1.0.7-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Jan 10 2013 Automatic Build System <autodist@mambasoft.it> 1.0.6-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Fri Nov 16 2012 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Oct 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-2mamba
|
||
|
- rebuilt with xorg-server 1.12
|
||
|
|
||
|
* Tue Oct 09 2012 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Jun 07 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.16.git20120113-3mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Fri Feb 17 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.16.git20120113-2mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Fri Jan 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.16.git20120113-1mamba
|
||
|
- update to 0.0.16.git20120113
|
||
|
|
||
|
* Fri Jan 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.16-3mamba
|
||
|
- updated to git 20120113
|
||
|
|
||
|
* Tue Aug 09 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.16-2mamba
|
||
|
- rebuilt with xorg-server 1.10
|
||
|
|
||
|
* Fri Oct 01 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.16-1mamba
|
||
|
- package created
|