[521] | 1 | %define tarball xf86-video-mga |
---|
| 2 | %define moduledir %(pkg-config xorg-server --variable=moduledir ) |
---|
| 3 | %define driverdir %{moduledir}/drivers |
---|
| 4 | |
---|
| 5 | %define gitdate 20080102 |
---|
| 6 | |
---|
| 7 | Summary: Xorg X11 mga video driver |
---|
| 8 | Summary(ja): Xorg X11 mga ビデオドライバ |
---|
| 9 | Name: xorg-x11-drv-mga |
---|
[1670] | 10 | Version: 1.4.13 |
---|
[2814] | 11 | Release: 3%{?_dist_release} |
---|
[521] | 12 | Epoch: 1 |
---|
| 13 | URL: http://www.x.org |
---|
| 14 | License: MIT |
---|
| 15 | Group: User Interface/X Hardware Support |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 17 | |
---|
| 18 | Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2 |
---|
| 19 | #Source0: %{tarball}-%{gitdate}.tar.bz2 |
---|
| 20 | Source1: mga.xinf |
---|
| 21 | |
---|
| 22 | Patch0: mga-1.4.5-no-hal-advertising.patch |
---|
| 23 | Patch1: mga-1.4.6.1-get-client-pointer.patch |
---|
| 24 | |
---|
| 25 | ExcludeArch: s390 s390x |
---|
| 26 | |
---|
| 27 | BuildRequires: autoconf automake libtool |
---|
| 28 | BuildRequires: xorg-x11-server-sdk >= 1.6 |
---|
| 29 | BuildRequires: mesa-libGL-devel >= 6.4-4 |
---|
| 30 | BuildRequires: libdrm-devel >= 2.0-1 |
---|
| 31 | |
---|
| 32 | Requires: hwdata |
---|
| 33 | Requires: xorg-x11-server-Xorg |
---|
| 34 | |
---|
| 35 | %description |
---|
| 36 | X.Org X11 mga video driver. |
---|
| 37 | |
---|
| 38 | %prep |
---|
| 39 | %setup -q -n %{tarball}-%{version} |
---|
| 40 | %patch0 -p1 -b .hal |
---|
| 41 | %patch1 -p1 -b .gcp |
---|
| 42 | |
---|
| 43 | %build |
---|
| 44 | autoreconf -v --install || exit 1 |
---|
| 45 | %configure --disable-static |
---|
| 46 | make %{?_smp_mflags} |
---|
| 47 | |
---|
| 48 | %install |
---|
| 49 | rm -rf $RPM_BUILD_ROOT |
---|
| 50 | |
---|
| 51 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 52 | |
---|
| 53 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases |
---|
| 54 | install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases/ |
---|
| 55 | |
---|
| 56 | find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f -- |
---|
| 57 | |
---|
| 58 | %clean |
---|
| 59 | rm -rf $RPM_BUILD_ROOT |
---|
| 60 | |
---|
| 61 | %files |
---|
| 62 | %defattr(-,root,root,-) |
---|
| 63 | %{driverdir}/mga_drv.so |
---|
| 64 | %{_datadir}/hwdata/videoaliases/mga.xinf |
---|
| 65 | %{_mandir}/man4/mga.4* |
---|
| 66 | |
---|
| 67 | %changelog |
---|
[2814] | 68 | * Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.13-3 |
---|
| 69 | - rebuild with xserver-1.10.0 |
---|
| 70 | |
---|
[2203] | 71 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.13-2 |
---|
| 72 | - rebuild with xserver-1.9.2 |
---|
| 73 | |
---|
[1670] | 74 | * Tue Aug 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.13-1 |
---|
| 75 | - new upstream release |
---|
| 76 | |
---|
[1390] | 77 | * Sun Jul 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.12-1 |
---|
| 78 | - new upstream release |
---|
| 79 | |
---|
[698] | 80 | * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.11-2 |
---|
| 81 | - rebuild with xserver-1.8rc |
---|
| 82 | |
---|
[521] | 83 | * Sun Aug 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.11-1 |
---|
| 84 | - new upstream release |
---|
| 85 | |
---|
| 86 | * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.9-2 |
---|
| 87 | - rebuild with xorg-server-1.6 |
---|
| 88 | |
---|
| 89 | * Wed Oct 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1:1.4.9-1 |
---|
| 90 | - revert to 1.4.9 |
---|
| 91 | - add Epoch: 1 |
---|
| 92 | |
---|
| 93 | * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.100-1 |
---|
| 94 | - new upstream release |
---|
| 95 | |
---|
| 96 | * Sat May 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.8-1 |
---|
| 97 | - initial build for Vine Linux |
---|
| 98 | |
---|
| 99 | * Fri Feb 22 2008 Adam Jackson <ajax@redhat.com> 1.4.8-1 |
---|
| 100 | - mga 1.4.8 |
---|
| 101 | |
---|
| 102 | * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.4.7-2.20080102 |
---|
| 103 | - Autorebuild for GCC 4.3 |
---|
| 104 | |
---|
| 105 | * Wed Jan 09 2008 Adam Jackson <ajax@redhat.com> 1.4.7-1.20080102 |
---|
| 106 | - Rebuild for new server ABI. |
---|
| 107 | |
---|
| 108 | * Wed Jan 02 2008 Adam Jackson <ajax@redhat.com> 1.4.7-0.20080102 |
---|
| 109 | - Today's git snapshot for pciaccess goodness. |
---|
| 110 | - mga-1.4.7-death-to-cfb.patch: Remove what little cfb support there was. |
---|
| 111 | - mga-1.4.7-alloca.patch: Fix ALLOCATE_LOCAL references. |
---|
| 112 | |
---|
| 113 | * Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.4.6.1-6 |
---|
| 114 | - Rebuild for PPC toolchain bug |
---|
| 115 | |
---|
| 116 | * Wed Jun 27 2007 Adam Jackson <ajax@redhat.com> 1.4.6.1-5 |
---|
| 117 | - Use %%{?_smp_mflags}. |
---|
| 118 | |
---|
| 119 | * Mon Jun 18 2007 Adam Jackson <ajax@redhat.com> 1.4.6.1-4 |
---|
| 120 | - Update Requires and BuildRequires. Add Requires: hwdata. |
---|
| 121 | |
---|
| 122 | * Mon Feb 26 2007 Adam Jackson <ajax@redhat.com> 1.4.6.1-3 |
---|
| 123 | - Late-bind a call into a loadable module |
---|
| 124 | - Disown the module directory |
---|
| 125 | |
---|
| 126 | * Fri Feb 16 2007 Adam Jackson <ajax@redhat.com> 1.4.6.1-2 |
---|
| 127 | - ExclusiveArch -> ExcludeArch |
---|
| 128 | - DRI on all arches |
---|
| 129 | |
---|
| 130 | * Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.4.6.1-1 |
---|
| 131 | - Update to 1.4.6.1 |
---|
| 132 | |
---|
| 133 | * Mon Dec 4 2006 Adam Jackson <ajax@redhat.com> 1.4.5-2 |
---|
| 134 | - mga-1.4.5-no-hal-advertising.patch: Don't link to the HAL module as it's |
---|
| 135 | non-free. |
---|
| 136 | |
---|
| 137 | * Fri Dec 1 2006 Adam Jackson <ajax@redhat.com> 1.4.5-1 |
---|
| 138 | - Update to 1.4.5. |
---|
| 139 | |
---|
| 140 | * Fri Aug 18 2006 Kristian Høgsberg <krh@redhat.com> 1.4.1-5.fc6 |
---|
| 141 | - Add Tilman Sauerbecks patch to fix DRI locking. |
---|
| 142 | |
---|
| 143 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.4.1-4.1 |
---|
| 144 | - rebuild |
---|
| 145 | |
---|
| 146 | * Thu Jul 6 2006 Adam Jackson <ajackson@redhat.com> 1.4.1-4 |
---|
| 147 | - mga.xinf updates. Add G200SE cards, remove Impression and Mistral IDs |
---|
| 148 | (since they do not and never have worked), and comment each line with |
---|
| 149 | the appropriate card name. |
---|
| 150 | |
---|
| 151 | * Fri May 26 2006 Mike A. Harris <mharris@redhat.com> 1.4.1-3 |
---|
| 152 | - Added with_dri conditionalization (not yet working for non-dri case). |
---|
| 153 | - Added "BuildRequires: libdrm-devel >= 2.0-1" for (#192358). |
---|
| 154 | - Added "BuildRequires: mesa-libGL-devel >= 6.4-4". |
---|
| 155 | - Bumped sdk dep to pick up proto-devel indirectly. |
---|
| 156 | |
---|
| 157 | * Sun Apr 9 2006 Adam Jackson <ajackson@redhat.com> 1.4.1-2 |
---|
| 158 | - Update to 1.4.1 from 7.1RC1. |
---|
| 159 | |
---|
| 160 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.2.1.3-1.2 |
---|
| 161 | - bump again for double-long bug on ppc(64) |
---|
| 162 | |
---|
| 163 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.2.1.3-1.1 |
---|
| 164 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 165 | |
---|
| 166 | * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.2.1.3-1 |
---|
| 167 | - Updated xorg-x11-drv-mga to version 1.2.1.3 from X11R7.0 |
---|
| 168 | |
---|
| 169 | * Tue Dec 20 2005 Mike A. Harris <mharris@redhat.com> 1.2.1.2-1 |
---|
| 170 | - Updated xorg-x11-drv-mga to version 1.2.1.2 from X11R7 RC4 |
---|
| 171 | - Removed 'x' suffix from manpage dirs to match RC4 upstream. |
---|
| 172 | |
---|
| 173 | * Wed Nov 16 2005 Mike A. Harris <mharris@redhat.com> 1.2.1-1 |
---|
| 174 | - Updated xorg-x11-drv-mga to version 1.2.1 from X11R7 RC2 |
---|
| 175 | |
---|
| 176 | * Fri Nov 4 2005 Mike A. Harris <mharris@redhat.com> 1.2.0.1-1 |
---|
| 177 | - Updated xorg-x11-drv-mga to version 1.2.0.1 from X11R7 RC1 |
---|
| 178 | - Fix *.la file removal. |
---|
| 179 | - Remove hardware specific {_bindir}/stormdwg utility. |
---|
| 180 | |
---|
| 181 | * Mon Oct 3 2005 Mike A. Harris <mharris@redhat.com> 1.1.2-1 |
---|
| 182 | - Update BuildRoot to use Fedora Packaging Guidelines. |
---|
| 183 | - Deglob file manifest. |
---|
| 184 | - Limit "ExclusiveArch" to x86, x86_64, ia64, ppc |
---|
| 185 | |
---|
| 186 | * Fri Sep 2 2005 Mike A. Harris <mharris@redhat.com> 1.1.2-0 |
---|
| 187 | - Initial spec file for mga video driver generated automatically |
---|
| 188 | by my xorg-driverspecgen script. |
---|