[521] | 1 | %define tarball xf86-video-glint |
---|
| 2 | %define moduledir %(pkg-config xorg-server --variable=moduledir ) |
---|
| 3 | %define driverdir %{moduledir}/drivers |
---|
| 4 | |
---|
| 5 | # FIXME: DRI support for glint is more or less nonfunctional and unlikely to |
---|
| 6 | # ever be fixed. |
---|
| 7 | %define with_dri 1 |
---|
| 8 | |
---|
| 9 | Summary: Xorg X11 glint video driver |
---|
| 10 | Summary(ja): Xorg X11 glint ビデオドライバ |
---|
| 11 | Name: xorg-x11-drv-glint |
---|
[5089] | 12 | Version: 1.2.6 |
---|
| 13 | Release: 1%{?_dist_release} |
---|
[521] | 14 | URL: http://www.x.org |
---|
| 15 | License: MIT |
---|
| 16 | Group: User Interface/X Hardware Support |
---|
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 18 | |
---|
| 19 | Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2 |
---|
| 20 | Source1: glint.xinf |
---|
| 21 | |
---|
| 22 | ExcludeArch: s390 s390x |
---|
| 23 | |
---|
| 24 | BuildRequires: xorg-x11-server-sdk >= 1.6 |
---|
| 25 | %if %{with_dri} |
---|
| 26 | BuildRequires: mesa-libGL-devel >= 6.4-4 |
---|
| 27 | BuildRequires: libdrm-devel >= 2.0-1 |
---|
| 28 | %endif |
---|
| 29 | |
---|
| 30 | Requires: hwdata |
---|
| 31 | Requires: xorg-x11-server-Xorg |
---|
| 32 | |
---|
| 33 | %description |
---|
| 34 | X.Org X11 glint video driver. |
---|
| 35 | |
---|
| 36 | %prep |
---|
| 37 | %setup -q -n %{tarball}-%{version} |
---|
| 38 | |
---|
| 39 | %build |
---|
| 40 | %configure --disable-static \ |
---|
| 41 | %if ! %{with_dri} |
---|
| 42 | --disable-dri |
---|
| 43 | %endif |
---|
| 44 | make |
---|
| 45 | |
---|
| 46 | %install |
---|
| 47 | rm -rf $RPM_BUILD_ROOT |
---|
| 48 | |
---|
| 49 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 50 | |
---|
| 51 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases |
---|
| 52 | install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases/ |
---|
| 53 | |
---|
| 54 | # FIXME: Remove all libtool archives (*.la) from modules directory. This |
---|
| 55 | # should be fixed in upstream Makefile.am or whatever. |
---|
| 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}/glint_drv.so |
---|
| 64 | %{_datadir}/hwdata/videoaliases/glint.xinf |
---|
| 65 | %{_mandir}/man4/glint.4* |
---|
| 66 | |
---|
| 67 | %changelog |
---|
[5089] | 68 | * Wed Nov 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.6-1 |
---|
| 69 | - new upstream release |
---|
| 70 | |
---|
[2814] | 71 | * Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.5-3 |
---|
| 72 | - rebuild with xserver-1.10.0 |
---|
| 73 | |
---|
[2203] | 74 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.5-2 |
---|
| 75 | - rebuild with xserver-1.9.2 |
---|
| 76 | |
---|
[2090] | 77 | * Sun Oct 17 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.5-1 |
---|
| 78 | - new upstream release |
---|
| 79 | |
---|
[698] | 80 | * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.4-2 |
---|
| 81 | - rebuild with xserver-1.8rc |
---|
| 82 | |
---|
[521] | 83 | * Tue Dec 29 2009 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.4-1 |
---|
| 84 | - new upstream release |
---|
| 85 | |
---|
| 86 | * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-1 |
---|
| 87 | - new upstream release |
---|
| 88 | |
---|
| 89 | * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.1-1 |
---|
| 90 | - new upstream release |
---|
| 91 | |
---|
| 92 | * Sat May 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-1 |
---|
| 93 | - initial build for Vine Linux |
---|
| 94 | |
---|
| 95 | * Thu Mar 20 2008 Dave Airlie <airlied@redhat.com> 1.2.0-1 |
---|
| 96 | - Latest upstream release |
---|
| 97 | |
---|
| 98 | * Tue Mar 11 2008 Dave Airlie <airlied@gmail.com> 1.1.1-9 |
---|
| 99 | - pciaccess conversion |
---|
| 100 | |
---|
| 101 | * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.1-8 |
---|
| 102 | - Autorebuild for GCC 4.3 |
---|
| 103 | |
---|
| 104 | * Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.1.1-7 |
---|
| 105 | - Rebuild for PPC toolchain bug |
---|
| 106 | |
---|
| 107 | * Mon Jun 18 2007 Adam Jackson <ajax@redhat.com> 1.1.1-6 |
---|
| 108 | - Update Requires and BuildRequires. Disown the module directories. Add |
---|
| 109 | Requires: hwdata. |
---|
| 110 | |
---|
| 111 | * Fri Feb 16 2007 Adam Jackson <ajax@redhat.com> 1.1.1-5 |
---|
| 112 | - ExclusiveArch -> ExcludeArch |
---|
| 113 | |
---|
| 114 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control |
---|
| 115 | - rebuild |
---|
| 116 | |
---|
| 117 | * Fri May 26 2006 Mike A. Harris <mharris@redhat.com> 1.1.1-4 |
---|
| 118 | - Re-enable with_dri, as --disable-dri builds are broken (fdo#7405) |
---|
| 119 | |
---|
| 120 | * Fri May 26 2006 Mike A. Harris <mharris@redhat.com> 1.1.1-3 |
---|
| 121 | - Added with_dri conditionalization, defaulted to DRI being disabled. |
---|
| 122 | - Added "BuildRequires: libdrm-devel >= 2.0-1" for (#192358). |
---|
| 123 | - Added "BuildRequires: mesa-libGL-devel >= 6.4-4". |
---|
| 124 | - Bumped sdk dep to pick up proto-devel indirectly. |
---|
| 125 | |
---|
| 126 | * Tue May 23 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-2 |
---|
| 127 | - Rebuild for 7.1 ABI fix. |
---|
| 128 | |
---|
| 129 | * Sun Apr 9 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-1 |
---|
| 130 | - Update to 1.1.1 from 7.1RC1. |
---|
| 131 | |
---|
| 132 | * Wed Feb 22 2006 Mike A. Harris <mharris@redhat.com> 1.0.1.3-2 |
---|
| 133 | - Install glint.xinf, which was inadvertently left out of packaging (#182502) |
---|
| 134 | |
---|
| 135 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1.3-1.1 |
---|
| 136 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 137 | |
---|
| 138 | * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1.3-1 |
---|
| 139 | - Updated xorg-x11-drv-glint to version 1.0.1.3 from X11R7.0 |
---|
| 140 | |
---|
| 141 | * Tue Dec 20 2005 Mike A. Harris <mharris@redhat.com> 1.0.1.2-1 |
---|
| 142 | - Updated xorg-x11-drv-glint to version 1.0.1.2 from X11R7 RC4 |
---|
| 143 | - Removed 'x' suffix from manpage dirs to match RC4 upstream. |
---|
| 144 | |
---|
| 145 | * Wed Nov 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.1-1 |
---|
| 146 | - Updated xorg-x11-drv-glint to version 1.0.1 from X11R7 RC2 |
---|
| 147 | |
---|
| 148 | * Fri Nov 4 2005 Mike A. Harris <mharris@redhat.com> 1.0.0.1-1 |
---|
| 149 | - Updated xorg-x11-drv-glint to version 1.0.0.1 from X11R7 RC1 |
---|
| 150 | - Fix *.la file removal. |
---|
| 151 | |
---|
| 152 | * Mon Oct 3 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1 |
---|
| 153 | - Update BuildRoot to use Fedora Packaging Guidelines. |
---|
| 154 | - Deglob file manifest. |
---|
| 155 | - Limit "ExclusiveArch" to i386, alpha |
---|
| 156 | |
---|
| 157 | * Fri Sep 2 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-0 |
---|
| 158 | - Initial spec file for glint video driver generated automatically |
---|
| 159 | by my xorg-driverspecgen script. |
---|