%define tarball xf86-video-mga %define moduledir %(pkg-config xorg-server --variable=moduledir ) %define driverdir %{moduledir}/drivers # %define gitdate 20080102 Summary: Xorg X11 mga video driver Summary(ja): Xorg X11 mga ビデオドライバ Name: xorg-x11-drv-mga Epoch: 1 Version: 2.0.0 Release: 1%{?_dist_release} Group: User Interface/X Hardware Support Vendor: Project Vine Distribution: Vine Linux URL: http://www.x.org License: MIT Source0: https://www.x.org/archive/individual/driver/%{tarball}-%{version}.tar.bz2 Source1: mga.xinf Patch0: mga-1.6.5-no-hal-advertising.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: autoconf automake libtool BuildRequires: xorg-x11-server-sdk >= 1.6 BuildRequires: mesa-libGL-devel >= 6.4-4 BuildRequires: libdrm-devel >= 2.0-1 Requires: hwdata Requires: xorg-x11-server-Xorg %description X.Org X11 mga video driver. %prep %setup -q -n %{tarball}-%{version} %patch0 -p1 -b .hal %build autoreconf -if %configure --disable-static --enable-xaa=no make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases/ find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f -- %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{driverdir}/mga_drv.so %{_datadir}/hwdata/videoaliases/mga.xinf %{_mandir}/man4/mga.4* %changelog * Sat May 02 2020 Tomohiro "Tomo-p" KATO 1:2.0.0-1 - new upstream release. - built with xserver-1.20.8. * Fri Feb 16 2018 Satoshi IWAMOTO 1.6.5-1 - update to 1.6.5 - update patch0 - build with xserver-1.19.6 * Thu May 05 2016 Yoji TOYODA 1.6.4-4 - rebuild with xserver-1.18.3 * Sat Nov 21 2015 Yoji TOYODA 1.6.4-3 - fix typo * Sun Oct 25 2015 Yoji TOYODA 1.6.4-2 - rebuild with xserver-1.17.2 * Sun Apr 12 2015 Yoji TOYODA 1.6.4-1 - new upstream release * Sat Nov 22 2014 Yoji TOYODA 1.6.3-3 - rebuild with xserver-1.16.2 * Thu Jul 10 2014 Yoji TOYODA 1.6.3-2 - rebuild with xserver-1.15.2 * Thu Dec 26 2013 Yoji TOYODA 1.6.3-1 - new upstream release * Sun May 05 2013 Yoji TOYODA 1.6.2-2 - rebuild with xserver-1.14.1 * Mon Oct 08 2012 Yoji TOYODA 1.6.2-1 - new upstream release * Fri Jul 20 2012 Yoji TOYODA 1.6.1-1 - new upstream release * Wed Jul 11 2012 Yoji TOYODA 1.6.0-1 - new upstream release * Sun Mar 25 2012 Yoji TOYODA 1.5.0-1 - new upstream release - remove Patch1 (mga-1.4.6.1-get-client-pointer.patch) * Wed Nov 02 2011 Yoji TOYODA 1.4.13-4 - rebuild with xserver-1.11.1.902 * Mon Feb 28 2011 Yoji TOYODA 1.4.13-3 - rebuild with xserver-1.10.0 * Sun Nov 07 2010 Yoji TOYODA 1.4.13-2 - rebuild with xserver-1.9.2 * Tue Aug 24 2010 Yoji TOYODA 1.4.13-1 - new upstream release * Sun Jul 18 2010 Yoji TOYODA 1.4.12-1 - new upstream release * Sun Mar 28 2010 Yoji TOYODA 1.4.11-2 - rebuild with xserver-1.8rc * Sun Aug 16 2009 Daisuke SUZUKI 1.4.11-1 - new upstream release * Mon Apr 13 2009 Daisuke SUZUKI 1.4.9-2 - rebuild with xorg-server-1.6 * Wed Oct 22 2008 Daisuke SUZUKI 1:1.4.9-1 - revert to 1.4.9 - add Epoch: 1 * Fri Jul 04 2008 Daisuke SUZUKI 1.9.100-1 - new upstream release * Sat May 17 2008 Daisuke SUZUKI 1.4.8-1 - initial build for Vine Linux * Fri Feb 22 2008 Adam Jackson 1.4.8-1 - mga 1.4.8 * Wed Feb 20 2008 Fedora Release Engineering - 1.4.7-2.20080102 - Autorebuild for GCC 4.3 * Wed Jan 09 2008 Adam Jackson 1.4.7-1.20080102 - Rebuild for new server ABI. * Wed Jan 02 2008 Adam Jackson 1.4.7-0.20080102 - Today's git snapshot for pciaccess goodness. - mga-1.4.7-death-to-cfb.patch: Remove what little cfb support there was. - mga-1.4.7-alloca.patch: Fix ALLOCATE_LOCAL references. * Wed Aug 22 2007 Adam Jackson - 1.4.6.1-6 - Rebuild for PPC toolchain bug * Wed Jun 27 2007 Adam Jackson 1.4.6.1-5 - Use %%{?_smp_mflags}. * Mon Jun 18 2007 Adam Jackson 1.4.6.1-4 - Update Requires and BuildRequires. Add Requires: hwdata. * Mon Feb 26 2007 Adam Jackson 1.4.6.1-3 - Late-bind a call into a loadable module - Disown the module directory * Fri Feb 16 2007 Adam Jackson 1.4.6.1-2 - ExclusiveArch -> ExcludeArch - DRI on all arches * Fri Jan 05 2007 Adam Jackson 1.4.6.1-1 - Update to 1.4.6.1 * Mon Dec 4 2006 Adam Jackson 1.4.5-2 - mga-1.4.5-no-hal-advertising.patch: Don't link to the HAL module as it's non-free. * Fri Dec 1 2006 Adam Jackson 1.4.5-1 - Update to 1.4.5. * Fri Aug 18 2006 Kristian Høgsberg 1.4.1-5.fc6 - Add Tilman Sauerbecks patch to fix DRI locking. * Wed Jul 12 2006 Jesse Keating 1.4.1-4.1 - rebuild * Thu Jul 6 2006 Adam Jackson 1.4.1-4 - mga.xinf updates. Add G200SE cards, remove Impression and Mistral IDs (since they do not and never have worked), and comment each line with the appropriate card name. * Fri May 26 2006 Mike A. Harris 1.4.1-3 - Added with_dri conditionalization (not yet working for non-dri case). - Added "BuildRequires: libdrm-devel >= 2.0-1" for (#192358). - Added "BuildRequires: mesa-libGL-devel >= 6.4-4". - Bumped sdk dep to pick up proto-devel indirectly. * Sun Apr 9 2006 Adam Jackson 1.4.1-2 - Update to 1.4.1 from 7.1RC1. * Fri Feb 10 2006 Jesse Keating 1.2.1.3-1.2 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating 1.2.1.3-1.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Wed Jan 18 2006 Mike A. Harris 1.2.1.3-1 - Updated xorg-x11-drv-mga to version 1.2.1.3 from X11R7.0 * Tue Dec 20 2005 Mike A. Harris 1.2.1.2-1 - Updated xorg-x11-drv-mga to version 1.2.1.2 from X11R7 RC4 - Removed 'x' suffix from manpage dirs to match RC4 upstream. * Wed Nov 16 2005 Mike A. Harris 1.2.1-1 - Updated xorg-x11-drv-mga to version 1.2.1 from X11R7 RC2 * Fri Nov 4 2005 Mike A. Harris 1.2.0.1-1 - Updated xorg-x11-drv-mga to version 1.2.0.1 from X11R7 RC1 - Fix *.la file removal. - Remove hardware specific {_bindir}/stormdwg utility. * Mon Oct 3 2005 Mike A. Harris 1.1.2-1 - Update BuildRoot to use Fedora Packaging Guidelines. - Deglob file manifest. - Limit "ExclusiveArch" to x86, x86_64, ia64, ppc * Fri Sep 2 2005 Mike A. Harris 1.1.2-0 - Initial spec file for mga video driver generated automatically by my xorg-driverspecgen script.