e6679f
%global tarball xf86-video-vesa
e6679f
%global moduledir %(pkg-config xorg-server --variable=moduledir )
e6679f
%global driverdir	%{moduledir}/drivers
e6679f
e6679f
%undefine _hardened_build
e6679f
e6679f
Summary:   Xorg X11 vesa video driver
e6679f
Name:      xorg-x11-drv-vesa
e6679f
Version:   2.4.0
e6679f
Release:   3%{?dist}
e6679f
URL:       https://www.x.org
e6679f
Source0:   https://xorg.freedesktop.org/releases/individual/driver/%{tarball}-%{version}.tar.bz2
e6679f
License: MIT
e6679f
Group:     User Interface/X Hardware Support
e6679f
e6679f
Patch0:	    vesa-2.3.0-24bpp-sucks.patch
e6679f
Patch1:	    vesa-2.3.0-no-virt-shadowfb.patch
e6679f
Patch2:     0001-Refuse-to-run-on-UEFI-machines.patch
e6679f
ExclusiveArch: %{ix86} x86_64
e6679f
e6679f
BuildRequires: xorg-x11-server-devel >= 1.10.99.902
e6679f
BuildRequires: autoconf automake libtool
e6679f
e6679f
Requires: Xorg %([ -e /usr/bin/xserver-sdk-abi-requires ] && xserver-sdk-abi-requires ansic)
e6679f
Requires: Xorg %([ -e /usr/bin/xserver-sdk-abi-requires ] && xserver-sdk-abi-requires videodrv)
e6679f
Requires: xorg-x11-server-wrapper
e6679f
e6679f
%description 
e6679f
X.Org X11 vesa video driver.
e6679f
e6679f
%prep
e6679f
%setup -q -n %{tarball}-%{version}
e6679f
%patch0 -p1 -b .24
e6679f
%patch1 -p1 -b .virt
e6679f
%patch2 -p1 -b .uefi
e6679f
e6679f
%build
e6679f
autoreconf -v --install || exit 1
e6679f
%configure --disable-static
e6679f
make
e6679f
e6679f
%install
e6679f
rm -rf $RPM_BUILD_ROOT
e6679f
e6679f
make install DESTDIR=$RPM_BUILD_ROOT
e6679f
e6679f
# FIXME: Remove all libtool archives (*.la) from modules directory.  This
e6679f
# should be fixed in upstream Makefile.am or whatever.
e6679f
find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
e6679f
e6679f
%files
e6679f
%{driverdir}/vesa_drv.so
e6679f
%{_mandir}/man4/vesa.4*
e6679f
e6679f
%changelog
e6679f
* Tue Oct 16 2018 Adam Jackson <ajax@redhat.com> - 2.4.0-3
e6679f
- Restore no-virt-shadowfb patch
e6679f
- Refuse to run if there's a UEFI framebuffer; use fbdev or a native driver
e6679f
e6679f
* Mon Apr 02 2018 Adam Jackson <ajax@redhat.com> - 2.4.0-2
e6679f
- Rebuild for xserver 1.20
e6679f
e6679f
* Fri Feb 23 2018 Adam Jackson <ajax@redhat.com> - 2.4.0-1
e6679f
- vesa 2.4.0
e6679f
e6679f
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-29
e6679f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e6679f
e6679f
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-28
e6679f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e6679f
e6679f
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-27
e6679f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e6679f
e6679f
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-26
e6679f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e6679f
e6679f
* Thu Sep 29 2016 Hans de Goede <hdegoede@redhat.com> - 2.3.2-25
e6679f
- Rebuild against xserver-1.19
e6679f
e6679f
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-24
e6679f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e6679f
e6679f
* Thu Jan 28 2016 Peter Hutterer <peter.hutterer@redhat.com>
e6679f
- Remove unnecessary defattr
e6679f
e6679f
* Wed Jan 20 2016 Peter Hutterer <peter.hutterer@redhat.com>
e6679f
- s/define/global/
e6679f
e6679f
* Wed Jul 29 2015 Dave Airlie <airlied@redhat.com> - 2.3.2-23
e6679f
- 1.15 ABI rebuild
e6679f
e6679f
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-22
e6679f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e6679f
e6679f
* Mon Mar 02 2015 Dave Airlie <airlied@redhat.com> 2.3.2-21
e6679f
- drop hardened builds for vesa
e6679f
e6679f
* Wed Feb 11 2015 Hans de Goede <hdegoede@redhat.com> - 2.3.2-20
e6679f
- xserver 1.17 ABI rebuild
e6679f
e6679f
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-19
e6679f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e6679f
e6679f
* Mon Jun 16 2014 Hans de Goede <hdegoede@redhat.com> - 2.3.2-18
e6679f
- xserver 1.15.99.903 ABI rebuild
e6679f
e6679f
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-17
e6679f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e6679f
e6679f
* Mon Apr 28 2014 Hans de Goede <hdegoede@redhat.com> - 2.3.2-16
e6679f
- xserver 1.15.99-20140428 git snapshot ABI rebuild
e6679f
e6679f
* Mon Jan 13 2014 Adam Jackson <ajax@redhat.com> - 2.3.2-15
e6679f
- 1.15 ABI rebuild
e6679f
e6679f
* Tue Dec 17 2013 Adam Jackson <ajax@redhat.com> - 2.3.2-14
e6679f
- 1.15RC4 ABI rebuild
e6679f
e6679f
* Wed Nov 20 2013 Adam Jackson <ajax@redhat.com> - 2.3.2-13
e6679f
- 1.15RC2 ABI rebuild
e6679f
e6679f
* Wed Nov 06 2013 Adam Jackson <ajax@redhat.com> - 2.3.2-12
e6679f
- 1.15RC1 ABI rebuild
e6679f
e6679f
* Fri Oct 25 2013 Adam Jackson <ajax@redhat.com> - 2.3.2-11
e6679f
- ABI rebuild
e6679f
e6679f
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-10
e6679f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e6679f
e6679f
* Thu Mar 07 2013 Dave Airlie <airlied@redhat.com> 2.3.2-9
e6679f
- autoreconf for aarch64
e6679f
e6679f
* Thu Mar 07 2013 Peter Hutterer <peter.hutterer@redhat.com> - 2.3.2-8
e6679f
- require xorg-x11-server-devel, not -sdk
e6679f
e6679f
* Thu Mar 07 2013 Peter Hutterer <peter.hutterer@redhat.com> - 2.3.2-7
e6679f
- ABI rebuild
e6679f
e6679f
* Fri Feb 15 2013 Peter Hutterer <peter.hutterer@redhat.com> - 2.3.2-6
e6679f
- ABI rebuild
e6679f
e6679f
* Fri Feb 15 2013 Peter Hutterer <peter.hutterer@redhat.com> - 2.3.2-5
e6679f
- ABI rebuild
e6679f
e6679f
* Thu Jan 10 2013 Adam Jackson <ajax@redhat.com> - 2.3.2-4
e6679f
- ABI rebuild
e6679f
e6679f
* Wed Aug 15 2012 Adam Jackson <ajax@redhat.com> 2.3.2-3
e6679f
- Only build on arches where xserver builds VBE support
e6679f
e6679f
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-2
e6679f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e6679f
e6679f
* Wed Jul 18 2012 Dave Airlie <airlied@redhat.com> 2.3.2-1
e6679f
- vesa 2.3.2
e6679f
e6679f
* Thu Apr 26 2012 Adam Jackson <ajax@redhat.com> 2.3.1-1
e6679f
- vesa 2.3.1
e6679f
e6679f
* Thu Apr 05 2012 Adam Jackson <ajax@redhat.com> - 2.3.0-16
e6679f
- RHEL arch exclude updates
e6679f
e6679f
* Sat Feb 11 2012 Peter Hutterer <peter.hutterer@redhat.com> - 2.3.0-15
e6679f
- ABI rebuild
e6679f
e6679f
* Fri Feb 10 2012 Peter Hutterer <peter.hutterer@redhat.com> - 2.3.0-14
e6679f
- ABI rebuild
e6679f
e6679f
* Tue Jan 24 2012 Peter Hutterer <peter.hutterer@redhat.com> - 2.3.0-13
e6679f
- ABI rebuild
e6679f
e6679f
* Wed Jan 04 2012 Peter Hutterer <peter.hutterer@redhat.com> - 2.3.0-12
e6679f
- Rebuild for server 1.12
e6679f
e6679f
* Mon Nov 14 2011 Adam Jackson <ajax@redhat.com> - 2.3.0-11
e6679f
- ABI rebuild
e6679f
e6679f
* Thu Nov 10 2011 Adam Jackson <ajax@redhat.com> 2.3.0-10
e6679f
- vesa-2.3.0-git.patch: Sync with git for new ABI.
e6679f
e6679f
* Thu Aug 18 2011 Adam Jackson <ajax@redhat.com> - 2.3.0-9
e6679f
- Rebuild for xserver 1.11 ABI
e6679f
e6679f
* Wed May 11 2011 Peter Hutterer <peter.hutterer@redhat.com> - 2.3.0-8
e6679f
- Rebuild for server 1.11
e6679f
e6679f
* Mon Feb 28 2011 Peter Hutterer <peter.hutterer@redhat.com> - 2.3.0-7
e6679f
- Rebuild for server 1.10
e6679f
e6679f
* Mon Feb 21 2011 Adam Jackson <ajax@redhat.com> 2.3.0-6
e6679f
- vesa-2.3.0-no-virt-shadowfb.patch: Disable shadowfb on virt hardware, just
e6679f
  makes things slower.
e6679f
- vesa-2.3.0-kms-anathema.patch: Refuse to bind to devices with a kernel
e6679f
  driver.
e6679f
e6679f
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-5
e6679f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e6679f
e6679f
* Thu Dec 02 2010 Peter Hutterer <peter.hutterer@redhat.com> - 2.3.0-4
e6679f
- Rebuild for server 1.10
e6679f
e6679f
* Wed Oct 27 2010 Adam Jackson <ajax@redhat.com> 2.3.0-3
e6679f
- Add ABI requires magic (#542742)
e6679f
e6679f
* Mon Oct 11 2010 Adam Jackson <ajax@redhat.com> 2.3.0-2
e6679f
- vesa-2.3.0-24bpp-sucks.patch: Prefer 16bpp to 24bpp. (#533879)
e6679f
e6679f
* Mon Jul 05 2010 Dave Airlie <airlied@redhat.com> 2.3.0-1
e6679f
- pull in latest vesa
e6679f
e6679f
* Mon Jul 05 2010 Peter Hutterer <peter.hutterer@redhat.com> - 2.2.1-3
e6679f
- rebuild for X Server 1.9
e6679f
e6679f
* Thu Jan 21 2010 Peter Hutterer <peter.hutterer@redhat.com> - 2.2.1-2
e6679f
- Rebuild for server 1.8
e6679f
e6679f
* Tue Aug 04 2009 Dave Airlie <airlied@redhat.com> 2.2.1-1
e6679f
- vesa 2.2.1
e6679f
e6679f
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-4.1
e6679f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e6679f
e6679f
* Wed Jul 15 2009 Adam Jackson <ajax@redhat.com> - 2.2.0-3.1
e6679f
- ABI bump
e6679f
e6679f
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-3
e6679f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e6679f
e6679f
* Fri Feb 20 2009 Adam Jackson <ajax@redhat.com> 2.2.0-2
e6679f
- Check VBE PanelID if DDC fails.
e6679f
e6679f
* Tue Feb 17 2009 Adam Jackson <ajax@redhat.com> 2.2.0-1
e6679f
- vesa 2.2.0
e6679f
e6679f
* Mon Dec 22 2008 Dave Airlie <airlied@redhat.com> 2.1.0-1
e6679f
- Update to new upstream release
e6679f
e6679f
* Mon Dec 22 2008 Dave Airlie <airlied@redhat.com> 2.0.0-2
e6679f
- bump for new server API
e6679f
e6679f
* Tue Jul 01 2008 Adam Jackson <ajax@redhat.com> 2.0.0-1
e6679f
- vesa 2.0.0
e6679f
e6679f
* Tue Apr 29 2008 Adam Jackson <ajax@redhat.com> 1.3.0-15.20080404
e6679f
- vesa-1.9-32bpp-dammit.patch: Prefer 24+32 instead of 24+24. (#427383)
e6679f
e6679f
* Fri Apr 04 2008 Adam Jackson <ajax@redhat.com> 1.3.0-14.20080404
e6679f
- Today's git snapshot for FTBFS and other.  (#440720)
e6679f
e6679f
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3.0-13.20071113
e6679f
- Autorebuild for GCC 4.3
e6679f
e6679f
* Tue Jan 08 2008 Adam Jackson <ajax@redhat.com> 1.3.0-12.20071113
e6679f
- Rebuild for new ABI.
e6679f
e6679f
* Tue Nov 13 2007 Adam Jackson <ajax@redhat.com> 1.3.0-11.20071113
e6679f
- Update to git snapshot for pciaccess goodness.
e6679f
- Rip out legacy framebuffer support.
e6679f
e6679f
* Thu Aug 23 2007 Adam Jackson <ajax@redhat.com> - 1.3.0-10
e6679f
- Rebuild for ppc toolchain bug
e6679f
e6679f
* Mon Jun 18 2007 Adam Jackson <ajax@redhat.com> 1.3.0-9
e6679f
- Update Requires and BuildRequires.
e6679f
e6679f
* Thu May 31 2007 Adam Jackson <ajax@redhat.com> 1.3.0-8
e6679f
- vesa-1.3.0-mode-heuristics.patch: Fix a typo that would crash on
e6679f
  some cards. (#241491)
e6679f
e6679f
* Wed May 09 2007 Adam Jackson <ajax@redhat.com> 1.3.0-6
e6679f
- Re-add the sync range hack. (#235066)
e6679f
e6679f
* Tue Mar 20 2007 Adam Jackson <ajax@redhat.com> 1.3.0-5
e6679f
- vesa-1.3.0-mode-heuristics.patch: If strict intersection of VBE and EDID
e6679f
  modes leaves no modes remaining after validation, try again with just
e6679f
  range and VBE checks.  Replaces earlier range-hack and validmode patches.
e6679f
e6679f
* Tue Feb 27 2007 Adam Jackson <ajax@redhat.com> 1.3.0-4
e6679f
- vesa-1.3.0-range-hack.patch: Work around broken ATI video BIOSes.
e6679f
- Disown the module dir
e6679f
- Fix the License
e6679f
e6679f
* Fri Feb 16 2007 Adam Jackson <ajax@redhat.com> 1.3.0-3
e6679f
- ExclusiveArch -> ExcludeArch
e6679f
e6679f
* Wed Jan 24 2007 Adam Jackson <ajax@redhat.com> 1.3.0-2
e6679f
- vesa-1.2.1-validmode.patch: Strictly limit runtime modes to the intersection
e6679f
  of the BIOS and DDC lists, if a DDC list exists; fixes cases where we'd
e6679f
  choose 1600x1200 on 1680x1050 panel.  Conversely, be more forgiving when
e6679f
  validating the resulting set against the sync ranges; fixes 640x480 syndrome
e6679f
  when the monitor has broken DDC.  Don't be deceived though, vesa still sucks.
e6679f
e6679f
* Mon Dec 4 2006 Adam Jackson <ajax@redhat.com> 1.3.0-1
e6679f
- Update to 1.3.0
e6679f
- vesa-1.2.1-validmode.patch: Implement a ValidMode driver hook, which rejects
e6679f
  modes not present in the BIOS or outside the capability of the monitor.
e6679f
e6679f
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 1.2.1-4
e6679f
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
e6679f
e6679f
* Tue Sep 19 2006 Adam Jackson <ajackson@redhat.com> 1.2.1-3
e6679f
- vesa-1.2.1-fix-shadowfb.patch: Fix massive performance regression relative
e6679f
  to FC5.
e6679f
e6679f
* Fri Jul 28 2006 Adam Jackson <ajackson@redhat.com> 1.2.1-2
e6679f
- vesa-1.2.1-randr-crash.patch: Fix a RANDR crash.
e6679f
e6679f
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.2.1-1.1
e6679f
- rebuild
e6679f
e6679f
* Sat Jun 17 2006 Mike A. Harris <mharris@redhat.com> 1.2.1-1
e6679f
- Updated to version 1.2.1 for X11R7.1 server.
e6679f
e6679f
* Tue Jun 13 2006 Adam Jackson <ajackson@redhat.com> 1.2.0-2
e6679f
- Build on ppc64
e6679f
e6679f
* Tue May 30 2006 Adam Jackson <ajackson@redhat.com> 1.2.0-1
e6679f
- Update to 1.2.0 from 7.1.
e6679f
e6679f
* Sun Apr 09 2006 Adam Jackson <ajackson@redhat.com> 1.1.0-1
e6679f
- Update to 1.1.0 from 7.1RC1.
e6679f
e6679f
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1.3-1.2
e6679f
- bump again for double-long bug on ppc(64)
e6679f
e6679f
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1.3-1.1
e6679f
- rebuilt for new gcc4.1 snapshot and glibc changes
e6679f
e6679f
* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1.3-1
e6679f
- Updated xorg-x11-drv-vesa to version 1.0.1.3 from X11R7.0
e6679f
e6679f
* Tue Dec 20 2005 Mike A. Harris <mharris@redhat.com> 1.0.1.2-1
e6679f
- Updated xorg-x11-drv-vesa to version 1.0.1.2 from X11R7 RC4
e6679f
- Removed 'x' suffix from manpage dirs to match RC4 upstream.
e6679f
e6679f
* Wed Nov 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.1-1
e6679f
- Updated xorg-x11-drv-vesa to version 1.0.1 from X11R7 RC2
e6679f
e6679f
* Fri Nov 04 2005 Mike A. Harris <mharris@redhat.com> 1.0.0.1-1
e6679f
- Updated xorg-x11-drv-vesa to version 1.0.0.1 from X11R7 RC1
e6679f
- Fix *.la file removal.
e6679f
e6679f
* Tue Oct 04 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
e6679f
- Update BuildRoot to use Fedora Packaging Guidelines.
e6679f
- Deglob file manifest.
e6679f
- Limit "ExclusiveArch" to x86, x86_64 ia64 ppc alpha sparc sparc64
e6679f
e6679f
* Fri Sep 02 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-0
e6679f
- Initial spec file for vesa video driver generated automatically
e6679f
  by my xorg-driverspecgen script.