f1329b
%define tarball xf86-video-nouveau
f1329b
%define moduledir %(pkg-config xorg-server --variable=moduledir )
f1329b
%define driverdir %{moduledir}/drivers
f1329b
#define gitdate 20151008
f1329b
f1329b
%undefine _hardened_build
f1329b
f1329b
Summary:   Xorg X11 nouveau video driver for NVIDIA graphics chipsets
f1329b
Name:      xorg-x11-drv-nouveau
f1329b
# need to set an epoch to get version number in sync with upstream
f1329b
Epoch:     1
f1329b
Version:   1.0.15
f1329b
Release:   4%{?dist}.1
f1329b
URL:       http://www.x.org
f1329b
License:   MIT
f1329b
Group:     User Interface/X Hardware Support
f1329b
f1329b
# Fedora specific snapshot no upstream release
f1329b
%if 0%{?gitdate}
f1329b
Source0: xf86-video-nouveau-%{gitdate}.tar.xz
f1329b
%else
f1329b
Source0: http://xorg.freedesktop.org/archive/individual/driver/xf86-video-nouveau-%{version}.tar.bz2
f1329b
%endif
f1329b
Source1: make-git-snapshot.sh
f1329b
f1329b
ExcludeArch: s390 s390x
f1329b
f1329b
BuildRequires: libtool automake autoconf
f1329b
BuildRequires: xorg-x11-server-devel >= 1.14.2-8
f1329b
BuildRequires: libdrm-devel >= 2.4.24-0.1.20110106
f1329b
BuildRequires: mesa-libGL-devel
f1329b
%if 0%{?fedora} > 17 || 0%{?rhel} > 6
f1329b
BuildRequires: systemd-devel
f1329b
%else
f1329b
BuildRequires: libudev-devel
f1329b
%endif
f1329b
f1329b
Requires: Xorg %(xserver-sdk-abi-requires ansic)
f1329b
Requires: Xorg %(xserver-sdk-abi-requires videodrv)
f1329b
Requires:  libdrm >= 2.4.33-0.1
f1329b
f1329b
%description 
f1329b
X.Org X11 nouveau video driver.
f1329b
f1329b
%if 0%{?gitdate}
f1329b
%define dirsuffix %{gitdate}
f1329b
%else
f1329b
%define dirsuffix %{version}
f1329b
%endif
f1329b
f1329b
%prep
f1329b
%setup -q -n xf86-video-nouveau-%{dirsuffix}
f1329b
f1329b
%build
f1329b
autoreconf -v --install --force
f1329b
%configure --disable-static
f1329b
make %{?_smp_mflags}
f1329b
f1329b
%install
f1329b
%make_install
f1329b
find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
f1329b
f1329b
%files
f1329b
%{driverdir}/nouveau_drv.so
f1329b
%{_mandir}/man4/nouveau.4*
f1329b
f1329b
%changelog
f1329b
* Mon May 14 2018 Adam Jackson <ajax@redhat.com> - 1:1.0.15-4.1
f1329b
- Rebuild for xserver 1.20
f1329b
f1329b
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.0.15-4
f1329b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f1329b
f1329b
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.0.15-3
f1329b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
f1329b
f1329b
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.0.15-2
f1329b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f1329b
f1329b
* Mon May 1 2017 Ben Skeggs <bskeggs@redhat.com> 1.0.15-1
f1329b
- Update to 1.0.15
f1329b
f1329b
* Thu Apr 13 2017 Ben Skeggs <bskeggs@redhat.com> 1.0.14-1
f1329b
- Update to 1.0.14
f1329b
f1329b
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.0.13-2
f1329b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f1329b
f1329b
* Thu Sep 29 2016 Hans de Goede <hdegoede@redhat.com> 1.0.13-1
f1329b
- Update to 1.0.13
f1329b
- Rebuild against xserver-1.19
f1329b
- Prune changelog
f1329b
f1329b
* Fri Jun 17 2016 Hans de Goede <hdegoede@redhat.com> - 1.0.12-4
f1329b
- Fix the crtc not being turned off, causing the dgpu to not suspend,
f1329b
  after using a dgpu attached output
f1329b
f1329b
* Mon Feb 15 2016 Dave Airlie <airlied@redhat.com> 1.0.12-3
f1329b
- pull reverse prime fix in from master.
f1329b
f1329b
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.0.12-2
f1329b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f1329b
f1329b
* Thu Dec 10 2015 Ben Skeggs <bskeggs@redhat.com> 1.0.12-1
f1329b
- 1.0.12
f1329b
f1329b
* Thu Oct 08 2015 Dave Airlie <airlied@redhat.com> 1.0.12-0.3
f1329b
- bump to latest upstream git snapshot (#1269709)
f1329b
f1329b
* Wed Sep 16 2015 Dave Airlie <airlied@redhat.com> - 1:1.0.12-0.2
f1329b
- 1.18 ABI rebuild
f1329b
f1329b
* Wed Jul 29 2015 Dave Airlie <airlied@redhat.com> 1.0.12-0.1
f1329b
- bump to latest git for ABI changes.
f1329b
f1329b
* Wed Jul 29 2015 Dave Airlie <airlied@redhat.com> - 1:1.0.11-5
f1329b
- 1.15 ABI rebuild
f1329b
f1329b
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.11-4
f1329b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f1329b
f1329b
* Mon Mar 02 2015 Dave Airlie <airlied@redhat.com> 1.0.11-3
f1329b
- force hardened build off.
f1329b
f1329b
* Wed Feb 11 2015 Hans de Goede <hdegoede@redhat.com> - 1:1.0.11-2
f1329b
- xserver 1.17 ABI rebuild
f1329b
f1329b
* Fri Sep 05 2014 Ben Skeggs <bskeggs@redhat.com> 1.0.11-1
f1329b
- add upstream 1.0.11 release
f1329b
f1329b
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.10-6
f1329b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f1329b
f1329b
* Mon Jun 16 2014 Hans de Goede <hdegoede@redhat.com> - 1:1.0.10-5
f1329b
- xserver 1.15.99.903 ABI rebuild
f1329b
f1329b
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.10-4
f1329b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f1329b
f1329b
* Mon Apr 28 2014 Hans de Goede <hdegoede@redhat.com> - 1:1.0.10-3
f1329b
- xserver 1.15.99-20140428 git snapshot ABI rebuild
f1329b
f1329b
* Thu Apr 17 2014 Hans de Goede <hdegoede@redhat.com> - 1.0.10-2
f1329b
- Add patches for server managed fd support
f1329b
- Rebuild for xserver 1.15.99.902
f1329b
f1329b
* Sun Mar 02 2014 Ben Skeggs <bskeggs@redhat.com> 1.0.10-1
f1329b
- add upstream 1.0.10 release
f1329b
f1329b
* Mon Jan 13 2014 Adam Jackson <ajax@redhat.com> - 1:1.0.9-7
f1329b
- 1.15 ABI rebuild
f1329b
f1329b
* Tue Dec 17 2013 Adam Jackson <ajax@redhat.com> - 1:1.0.9-6
f1329b
- 1.15RC4 ABI rebuild
f1329b
f1329b
* Wed Nov 20 2013 Adam Jackson <ajax@redhat.com> - 1:1.0.9-5
f1329b
- 1.15RC2 ABI rebuild
f1329b
f1329b
* Wed Nov 06 2013 Adam Jackson <ajax@redhat.com> - 1:1.0.9-4
f1329b
- 1.15RC1 ABI rebuild
f1329b
f1329b
* Fri Oct 25 2013 Adam Jackson <ajax@redhat.com> - 1:1.0.9-3
f1329b
- ABI rebuild
f1329b
f1329b
* Tue Oct 22 2013 Kyle McMartin <kyle@fedoraproject.org> 1.0.9-3
f1329b
- Remove artificial kernel-drm-nouveau Requires, which dates from when
f1329b
  nouveau.ko was out of tree.
f1329b
f1329b
* Wed Jul 31 2013 Dave Airlie <airlied@redhat.com> 1.0.9-2
f1329b
- fix powerpc build - fix name collisions in randr
f1329b
f1329b
* Tue Jul 30 2013 Dave Airlie <airlied@redhat.com> 1.0.9-1
f1329b
- add upstream 1.0.9 release - fixes dual head offload + nvf0 support
f1329b
f1329b
* Fri Apr 12 2013 Dave Airlie <airlied@redhat.com> 1.0.7-1
f1329b
- add upstream 1.0.7 release
f1329b
f1329b
* Tue Mar 19 2013 Adam Jackson <ajax@redhat.com> 1.0.6-7
f1329b
- Less RHEL customization
f1329b
f1329b
* Thu Mar 07 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1:1.0.6-6
f1329b
- ABI rebuild
f1329b
f1329b
* Fri Feb 15 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1:1.0.6-5
f1329b
- ABI rebuild
f1329b
f1329b
* Fri Feb 15 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1:1.0.6-4
f1329b
- ABI rebuild
f1329b
f1329b
* Thu Jan 10 2013 Adam Jackson <ajax@redhat.com> 1.0.6-3
f1329b
- Obsoletes: nv in F19 and up
f1329b
f1329b
* Thu Jan 10 2013 Adam Jackson <ajax@redhat.com> - 1:1.0.6-2
f1329b
- ABI rebuild
f1329b
f1329b
* Mon Jan 07 2013 Ben Skeggs <bskeggs@redhat.com> 1.0.6-1
f1329b
- nouveau 1.0.6
f1329b
f1329b
* Fri Nov 09 2012 Ben Skeggs <bskeggs@redhat.com> 1.0.4-1
f1329b
- nouveau 1.0.4
f1329b
f1329b
* Thu Oct 25 2012 Dave Airlie <airlied@redhat.com> 1.0.3-1
f1329b
- nouveau 1.0.3 - fix shadowfb crash
f1329b
f1329b
* Wed Sep 12 2012 Adam Jackson <ajax@redhat.com> 1.0.2-1
f1329b
- nouveau 1.0.2
f1329b
f1329b
* Fri Aug 17 2012 Dave Airlie <airlied@redhat.com> 1.0.1-6
f1329b
- fix dri2 tfp rendering since prime support broke it.
f1329b
f1329b
* Thu Aug 16 2012 Dave Airlie <airlied@redhat.com> 1.0.1-5
f1329b
- upstream snapshot + prime support
f1329b
f1329b
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.1-4
f1329b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f1329b
f1329b
* Wed Jul 18 2012 Dave Airlie <airlied@redhat.com> - 1:1.0.1-3
f1329b
- ABI rebuild
f1329b
f1329b
* Mon Jul 02 2012 Karsten Hopp <karsten@redhat.com> 1.0.1-2
f1329b
- we don't have vbe.h and xf86int10.h in xorg-x11-server-devel for ppc(64)
f1329b
f1329b
* Tue Jun 19 2012 Ben Skeggs <bskeggs@redhat.com> 1.0.1-1
f1329b
- nouveau 1.0.1
f1329b
f1329b
* Mon Jun 18 2012 Ben Skeggs <bskeggs@redhat.com> 1.0.0-1
f1329b
- nouveau 1.0.0
f1329b
f1329b
* Thu Jun 14 2012 Ben Skeggs <bskeggs@redhat.com> 0.0.16-39.20120426git174f170
f1329b
- Drop explicit Requires on libudev
f1329b
f1329b
* Tue Jun 05 2012 Adam Jackson <ajax@redhat.com> 0.0.16-38.20120426git174f170
f1329b
- Rebuild for new libudev
f1329b
- Conditional BuildReqs for {libudev,systemd}-devel
f1329b
f1329b
* Thu Apr 26 2012 Dave Airlie <airlied@redhat.com> 1:0.0.16-37.20120426git174f170
f1329b
- rebase to master
f1329b
f1329b
* Thu Apr 05 2012 Adam Jackson <ajax@redhat.com> - 1:0.0.16-36.20120306gitf5d1cd2
f1329b
- RHEL arch exclude updates
f1329b
f1329b
* Tue Mar 06 2012 Ben Skeggs <bskeggs@redhat.com> - 1:0.0.16-35.20120306gitf5d1cd2
f1329b
- pull in latest upstream code
f1329b
f1329b
* Sat Feb 11 2012 Peter Hutterer <peter.hutterer@redhat.com> - 1:0.0.16-34.20110720gitb806e3f
f1329b
- ABI rebuild
f1329b
f1329b
* Fri Feb 10 2012 Peter Hutterer <peter.hutterer@redhat.com> - 1:0.0.16-33.20110720gitb806e3f
f1329b
- ABI rebuild
f1329b
f1329b
* Tue Jan 24 2012 Peter Hutterer <peter.hutterer@redhat.com> - 1:0.0.16-32.20110720gitb806e3f
f1329b
- ABI rebuild
f1329b
f1329b
* Tue Jan 03 2012 Peter Hutterer <peter.hutterer@redhat.com> - 1:0.0.16-31.20110720gitb806e3f
f1329b
- Rebuild for server 1.12