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 |
---|
12 | Version: 1.2.4 |
---|
13 | Release: 1%{?_dist_release} |
---|
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 |
---|
68 | * Tue Dec 29 2009 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.4-1 |
---|
69 | - new upstream release |
---|
70 | |
---|
71 | * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-1 |
---|
72 | - new upstream release |
---|
73 | |
---|
74 | * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.1-1 |
---|
75 | - new upstream release |
---|
76 | |
---|
77 | * Sat May 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-1 |
---|
78 | - initial build for Vine Linux |
---|
79 | |
---|
80 | * Thu Mar 20 2008 Dave Airlie <airlied@redhat.com> 1.2.0-1 |
---|
81 | - Latest upstream release |
---|
82 | |
---|
83 | * Tue Mar 11 2008 Dave Airlie <airlied@gmail.com> 1.1.1-9 |
---|
84 | - pciaccess conversion |
---|
85 | |
---|
86 | * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.1-8 |
---|
87 | - Autorebuild for GCC 4.3 |
---|
88 | |
---|
89 | * Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.1.1-7 |
---|
90 | - Rebuild for PPC toolchain bug |
---|
91 | |
---|
92 | * Mon Jun 18 2007 Adam Jackson <ajax@redhat.com> 1.1.1-6 |
---|
93 | - Update Requires and BuildRequires. Disown the module directories. Add |
---|
94 | Requires: hwdata. |
---|
95 | |
---|
96 | * Fri Feb 16 2007 Adam Jackson <ajax@redhat.com> 1.1.1-5 |
---|
97 | - ExclusiveArch -> ExcludeArch |
---|
98 | |
---|
99 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control |
---|
100 | - rebuild |
---|
101 | |
---|
102 | * Fri May 26 2006 Mike A. Harris <mharris@redhat.com> 1.1.1-4 |
---|
103 | - Re-enable with_dri, as --disable-dri builds are broken (fdo#7405) |
---|
104 | |
---|
105 | * Fri May 26 2006 Mike A. Harris <mharris@redhat.com> 1.1.1-3 |
---|
106 | - Added with_dri conditionalization, defaulted to DRI being disabled. |
---|
107 | - Added "BuildRequires: libdrm-devel >= 2.0-1" for (#192358). |
---|
108 | - Added "BuildRequires: mesa-libGL-devel >= 6.4-4". |
---|
109 | - Bumped sdk dep to pick up proto-devel indirectly. |
---|
110 | |
---|
111 | * Tue May 23 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-2 |
---|
112 | - Rebuild for 7.1 ABI fix. |
---|
113 | |
---|
114 | * Sun Apr 9 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-1 |
---|
115 | - Update to 1.1.1 from 7.1RC1. |
---|
116 | |
---|
117 | * Wed Feb 22 2006 Mike A. Harris <mharris@redhat.com> 1.0.1.3-2 |
---|
118 | - Install glint.xinf, which was inadvertently left out of packaging (#182502) |
---|
119 | |
---|
120 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1.3-1.1 |
---|
121 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
122 | |
---|
123 | * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1.3-1 |
---|
124 | - Updated xorg-x11-drv-glint to version 1.0.1.3 from X11R7.0 |
---|
125 | |
---|
126 | * Tue Dec 20 2005 Mike A. Harris <mharris@redhat.com> 1.0.1.2-1 |
---|
127 | - Updated xorg-x11-drv-glint to version 1.0.1.2 from X11R7 RC4 |
---|
128 | - Removed 'x' suffix from manpage dirs to match RC4 upstream. |
---|
129 | |
---|
130 | * Wed Nov 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.1-1 |
---|
131 | - Updated xorg-x11-drv-glint to version 1.0.1 from X11R7 RC2 |
---|
132 | |
---|
133 | * Fri Nov 4 2005 Mike A. Harris <mharris@redhat.com> 1.0.0.1-1 |
---|
134 | - Updated xorg-x11-drv-glint to version 1.0.0.1 from X11R7 RC1 |
---|
135 | - Fix *.la file removal. |
---|
136 | |
---|
137 | * Mon Oct 3 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1 |
---|
138 | - Update BuildRoot to use Fedora Packaging Guidelines. |
---|
139 | - Deglob file manifest. |
---|
140 | - Limit "ExclusiveArch" to i386, alpha |
---|
141 | |
---|
142 | * Fri Sep 2 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-0 |
---|
143 | - Initial spec file for glint video driver generated automatically |
---|
144 | by my xorg-driverspecgen script. |
---|