]>
Commit | Line | Data |
---|---|---|
5b6e428d ER |
1 | # TODO |
2 | # - /usr/lib64/fglrx/libSlotMaximizerBe.so | |
de93633b | 3 | # |
4 | # Conditional build: | |
5 | %bcond_without dist_kernel # without distribution kernel | |
6 | %bcond_without kernel # don't build kernel modules | |
de93633b | 7 | %bcond_without userspace # don't build userspace tools |
8 | %bcond_with verbose # verbose build (V=1) | |
de93633b | 9 | |
44150540 | 10 | %define x11ver xpic |
de93633b | 11 | |
06b22105 ER |
12 | %if %{without kernel} |
13 | %undefine with_dist_kernel | |
de93633b | 14 | %endif |
72311a60 | 15 | %if "%{_alt_kernel}" != "%{nil}" |
16 | %undefine with_userspace | |
17 | %endif | |
06b22105 ER |
18 | %if %{without userspace} |
19 | # nothing to be placed to debuginfo package | |
20 | %define _enable_debug_packages 0 | |
21 | %endif | |
72311a60 | 22 | |
de93633b | 23 | %ifarch %{ix86} |
6800c75d | 24 | %define arch_sufix %{nil} |
de93633b | 25 | %define arch_dir x86 |
26 | %else | |
de93633b | 27 | %define arch_sufix _64a |
28 | %define arch_dir x86_64 | |
29 | %endif | |
30 | ||
20cc48d9 JR |
31 | %define intver 8.982 |
32 | ||
6d5fef27 | 33 | %define rel 19 |
72311a60 | 34 | %define pname xorg-driver-video-fglrx |
053842d1 JR |
35 | Summary: Linux Drivers for AMD/ATI graphics accelerators |
36 | Summary(pl.UTF-8): Sterowniki do akceleratorów graficznych AMD/ATI | |
05988331 | 37 | Name: %{pname}%{_alt_kernel} |
48b6932b | 38 | Version: 12.10 |
50c0449c | 39 | Release: %{rel} |
5d96cd9e | 40 | Epoch: 1 |
053842d1 | 41 | License: AMD Binary (parts are GPL) |
de93633b | 42 | Group: X11 |
222e87b7 | 43 | # Download http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx?type=2.4.1&product=2.4.1.3.42&lang=English |
48b6932b JR |
44 | # or go to http://support.amd.com/ click through "download drivers", desktop -> radeon hd -> 7xxx -> linux |
45 | Source0: http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-%{version}-x86.x86_64.zip | |
46 | # Source0-md5: ef6ecd984e47e80849215b33fbfa5b7f | |
566515bf JR |
47 | Source1: atieventsd.init |
48 | Source2: atieventsd.sysconfig | |
49 | Source3: gl.pc.in | |
5aba250d | 50 | Source4: 10-fglrx.conf |
3e526379 | 51 | Source5: 10-fglrx-modules.conf |
72311a60 | 52 | Patch0: %{pname}-kh.patch |
8b7f9c10 | 53 | Patch1: %{pname}-smp.patch |
ce2fff9a | 54 | Patch2: %{pname}-x86genericarch.patch |
6fab1c66 JR |
55 | Patch3: %{pname}-desktop.patch |
56 | Patch4: %{pname}-nofinger.patch | |
d62793ba | 57 | Patch5: %{pname}-GPL-only.patch |
6e4e8ff3 | 58 | Patch7: %{pname}-kernel-fpu.patch |
d9ac4b7c | 59 | Patch8: linux-3.7.patch |
13897f9c | 60 | URL: http://ati.amd.com/support/drivers/linux/linux-radeon.html |
6efde535 | 61 | %{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2} |
f3b1b67f | 62 | BuildRequires: rpmbuild(macros) >= 1.379 |
051fc62d | 63 | BuildRequires: sed >= 4.0 |
50c0449c | 64 | Requires: %{pname}-libs = %{epoch}:%{version}-%{rel} |
de93633b | 65 | Requires: xorg-xserver-server |
4d7890f3 | 66 | Requires: xorg-xserver-server(videodrv-abi) <= 13.1 |
a1d0c0b1 | 67 | Requires: xorg-xserver-server(videodrv-abi) >= 2.0 |
5cd011e2 | 68 | Suggests: kernel-video-firegl |
b4410e56 | 69 | Provides: xorg-driver-video |
f72bb093 | 70 | Provides: xorg-xserver-module(glx) |
d0cb1f8b | 71 | Obsoletes: X11-driver-firegl < 1:7.0.0 |
d0cb1f8b | 72 | Obsoletes: XFree86-driver-firegl < 1:7.0.0 |
3a6c6402 | 73 | Obsoletes: xorg-driver-video-fglrx-config |
ca92b9f5 | 74 | Obsoletes: xorg-driver-video-fglrx-libdri |
f72bb093 | 75 | Obsoletes: xorg-driver-video-fglrx-libglx |
de93633b | 76 | ExclusiveArch: i586 i686 athlon pentium3 pentium4 %{x8664} |
05988331 | 77 | BuildRoot: %{tmpdir}/%{pname}-%{version}-root-%(id -u -n) |
de93633b | 78 | |
185c64d2 | 79 | %define _ccver %(rpm -q --qf "%{VERSION}" gcc | sed 's/\\..*//') |
80 | ||
50ee3256 JR |
81 | %define _noautoreqdep libGL.so.1 |
82 | %define no_install_post_check_so 1 | |
de93633b | 83 | |
84 | %description | |
993147cc JR |
85 | AMD display driver which allows for hardware accelerated rendering |
86 | with ATI Mobility, FireGL and Desktop GPUs. Some of the Desktop and | |
87 | Mobility GPUs supported are the Radeon HD 5xxx series to the | |
88 | Radeon HD 7xxx series. | |
de93633b | 89 | |
91bd8dfa | 90 | %description -l pl.UTF-8 |
993147cc JR |
91 | Sterownik AMD umożliwiający sprzętowo akcelerowany rendering do kart |
92 | graficznych ATI Mobility, FireGL i Desktopowych. Niektóre ze | |
93 | wspieranych Desktopowych i Mobilnych kart to Radeon HD 5xxx do | |
94 | Radeon HD 7xxx. | |
de93633b | 95 | |
5b2ffdd6 JR |
96 | %package libs |
97 | Summary: OpenGL (GL and GLX) ATI/AMD libraries | |
98 | Summary(pl.UTF-8): Biblioteki OpenGL (GL i GLX) ATI/AMD | |
99 | Group: X11/Development/Libraries | |
100 | Requires(post,postun): /sbin/ldconfig | |
101 | # 4.0 for Radeon HD 5000 Series | |
102 | Provides: OpenGL = 3.3 | |
103 | Provides: OpenGL-GLX = 1.4 | |
5b2ffdd6 JR |
104 | Obsoletes: X11-OpenGL-core < 1:7.0.0 |
105 | Obsoletes: X11-OpenGL-libGL < 1:7.0.0 | |
106 | Obsoletes: XFree86-OpenGL-core < 1:7.0.0 | |
107 | Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0 | |
108 | ||
109 | %description libs | |
110 | ATI/AMD OpenGL (GL and GLX only) implementation libraries. | |
111 | ||
112 | %description libs -l pl.UTF-8 | |
113 | Implementacja OpenGL (tylko GL i GLX) firmy ATI/AMD. | |
114 | ||
57e97736 | 115 | %package devel |
91311dfb | 116 | Summary: Header files for development for the ATI Radeon cards proprietary driver |
7bd8110b | 117 | Summary(pl.UTF-8): Pliki nagłówkowe do programowania z użyciem własnościowego sterownika dla kart ATI Radeon |
57e97736 | 118 | Group: X11/Development/Libraries |
50c0449c | 119 | Requires: %{pname}-libs = %{epoch}:%{version}-%{rel} |
91311dfb JB |
120 | # or more? |
121 | Requires: xorg-proto-glproto-devel | |
5b2ffdd6 | 122 | # 4.0 for Radeon HD 5000 Series |
5b2ffdd6 | 123 | Provides: OpenGL-GLX-devel = 1.4 |
a1d0c0b1 | 124 | Provides: OpenGL-devel = 3.3 |
5b2ffdd6 JR |
125 | Obsoletes: X11-OpenGL-devel-base |
126 | Obsoletes: XFree86-OpenGL-devel-base | |
57e97736 PS |
127 | |
128 | %description devel | |
a1d0c0b1 | 129 | Header files for development for the ATI proprietary driver for ATI |
130 | Radeon graphic cards. | |
91311dfb | 131 | |
91bd8dfa JR |
132 | %description devel -l pl.UTF-8 |
133 | Pliki nagłówkowe do programowania z użyciem własnościowego sterownika | |
91311dfb | 134 | ATI dla kart graficznych Radeon. |
57e97736 PS |
135 | |
136 | %package static | |
91311dfb | 137 | Summary: Static libraries for development for the ATI Radeon cards proprietary driver |
7bd8110b | 138 | Summary(pl.UTF-8): Biblioteki statyczne do programowania z użyciem własnościowego sterownika dla kart ATI Radeon |
57e97736 | 139 | Group: X11/Development/Libraries |
50c0449c | 140 | Requires: %{pname}-devel = %{epoch}:%{version}-%{rel} |
57e97736 PS |
141 | |
142 | %description static | |
143 | Static libraries for development for the ATI proprietary driver for | |
144 | ATI Radeon graphic cards. | |
145 | ||
91bd8dfa JR |
146 | %description static -l pl.UTF-8 |
147 | Biblioteki statyczne do programowania z użyciem własnościowego | |
91311dfb JB |
148 | sterownika ATI dla kart graficznych ATI Radeon. |
149 | ||
566515bf JR |
150 | %package atieventsd |
151 | Summary: ATI external events daemon | |
1a3464b2 | 152 | Summary(pl.UTF-8): Demon zewnętrznych zdarzeń ATI |
566515bf | 153 | Group: Daemons |
50c0449c | 154 | Requires: %{pname} = %{epoch}:%{version}-%{rel} |
566515bf JR |
155 | Requires: acpid |
156 | Requires(post,preun): /sbin/chkconfig | |
157 | Requires: rc-scripts | |
158 | ||
159 | %description atieventsd | |
a1d0c0b1 | 160 | The ATI External Events Daemon is a user-level application that |
161 | monitors various system events such as ACPI or hotplug, then notifies | |
162 | the driver via the X extensions interface that the event has occured. | |
566515bf JR |
163 | |
164 | %description atieventsd -l pl.UTF-8 | |
a1d0c0b1 | 165 | Demon zewnętrznych zdarzeń ATI jest aplikacją monitorującą różne |
166 | zdarzenia systemowe, takie jak ACPI lub hotplug, a następnie | |
167 | informującą sterownik poprzez interfejs rozszerzeń X, że zaszło | |
168 | zdarzenie. | |
566515bf | 169 | |
12b4fedb | 170 | %package -n kernel%{_alt_kernel}-video-firegl |
de93633b | 171 | Summary: ATI kernel module for FireGL support |
7bd8110b | 172 | Summary(pl.UTF-8): Moduł jądra oferujący wsparcie dla ATI FireGL |
50c0449c | 173 | Release: %{rel}@%{_kernel_ver_str} |
de93633b | 174 | License: ATI |
175 | Group: Base/Kernel | |
812075a5 | 176 | %{?with_dist_kernel:%requires_releq_kernel} |
5cd011e2 | 177 | %if "%{_alt_kernel}" != "%{nil}" |
50c0449c | 178 | Provides: kernel-video-firegl = %{epoch}:%{version}-%{rel}@%{_kernel_ver_str} |
5cd011e2 | 179 | %endif |
de93633b | 180 | Requires(post,postun): /sbin/depmod |
de93633b | 181 | |
12b4fedb | 182 | %description -n kernel%{_alt_kernel}-video-firegl |
de93633b | 183 | ATI kernel module for FireGL support. |
184 | ||
91bd8dfa JR |
185 | %description -n kernel%{_alt_kernel}-video-firegl -l pl.UTF-8 |
186 | Moduł jądra oferujący wsparcie dla ATI FireGL. | |
de93633b | 187 | |
de93633b | 188 | %prep |
20cc48d9 JR |
189 | #%setup -q -c -T |
190 | %setup -q -c | |
de93633b | 191 | |
20cc48d9 | 192 | #sh %{SOURCE0} --extract . |
48b6932b | 193 | sh amd-driver-installer-catalyst-%{version}-x86.x86_64.run --extract . |
de93633b | 194 | |
5b6e428d | 195 | cp -p arch/%{arch_dir}/lib/modules/fglrx/build_mod/* common/lib/modules/fglrx/build_mod |
de93633b | 196 | |
1d968be3 | 197 | %if %{with dist_kernel} |
1e707323 | 198 | %patch0 -p1 |
8b7f9c10 | 199 | %patch1 -p0 |
ce2fff9a | 200 | %patch2 -p0 |
48533427 | 201 | %endif |
1e707323 JR |
202 | %patch3 -p1 |
203 | %patch4 -p1 | |
d62793ba | 204 | %patch5 -p1 |
6e4e8ff3 | 205 | %patch7 -p0 |
d9ac4b7c | 206 | %patch8 -p1 |
de93633b | 207 | |
e27c0f70 | 208 | install -d common{%{_prefix}/{%{_lib},bin,sbin},/etc} |
5b6e428d | 209 | cp -a %{x11ver}%{arch_sufix}/usr/X11R6/%{_lib}/* common%{_libdir} |
dbf2846b | 210 | mv common%{_libdir}/modules/extensions/{fglrx/fglrx-libglx.so,libglx.so} |
5b6e428d ER |
211 | cp -a arch/%{arch_dir}/usr/X11R6/%{_lib}/* common%{_libdir} |
212 | cp -a arch/%{arch_dir}/usr/X11R6/%{_lib}/modules common%{_libdir}/xorg | |
213 | cp -a arch/%{arch_dir}/usr/X11R6/bin/* common%{_bindir} | |
214 | cp -a arch/%{arch_dir}/usr/bin/* common%{_bindir} | |
215 | cp -a arch/%{arch_dir}/usr/sbin/* common%{_sbindir} | |
216 | cp -a arch/%{arch_dir}/usr/%{_lib}/*.so* common%{_libdir} | |
dbf2846b | 217 | mv common%{_libdir}/{fglrx/fglrx-libGL.so.1.2,libGL.so.1.2} |
5b6e428d | 218 | cp -a arch/%{arch_dir}/etc/* common/etc |
de93633b | 219 | |
220 | %build | |
221 | %if %{with kernel} | |
222 | cd common/lib/modules/fglrx/build_mod | |
5b6e428d | 223 | cp -pf 2.6.x/Makefile . |
62d28f66 | 224 | %build_kernel_modules -c -m fglrx GCC_VER_MAJ=%{_ccver} |
de93633b | 225 | cd - |
226 | %endif | |
227 | ||
de93633b | 228 | %install |
229 | rm -rf $RPM_BUILD_ROOT | |
230 | ||
231 | %if %{with kernel} | |
12b4fedb | 232 | %install_kernel_modules -m common/lib/modules/fglrx/build_mod/fglrx -d misc |
de93633b | 233 | %endif |
234 | ||
235 | %if %{with userspace} | |
3e526379 JR |
236 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/{ati,env.d,X11/xorg.conf.d,ld.so.conf.d} \ |
237 | $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_includedir}/GL} \ | |
e3dbb82b | 238 | $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_datadir}/ati,%{_mandir}/man8} \ |
3e526379 | 239 | $RPM_BUILD_ROOT%{_libdir}/{fglrx,xorg/modules/extensions/fglrx} \ |
e27c0f70 JR |
240 | $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d} \ |
241 | $RPM_BUILD_ROOT%{_sysconfdir}/OpenCL/vendors | |
566515bf | 242 | |
5b6e428d ER |
243 | install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/atieventsd |
244 | cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/atieventsd | |
3e526379 | 245 | |
5b6e428d ER |
246 | cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d |
247 | cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d | |
3e526379 JR |
248 | sed -i -e 's|@@LIBDIR@@|%{_libdir}|g' $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/10-fglrx-modules.conf |
249 | ||
5b6e428d | 250 | cp -a common%{_datadir}/doc/fglrx/examples/etc/acpi $RPM_BUILD_ROOT/etc |
e27c0f70 | 251 | install -p common/etc/OpenCL/vendors/*.icd $RPM_BUILD_ROOT%{_sysconfdir}/OpenCL/vendors |
e3dbb82b | 252 | |
5b6e428d ER |
253 | install -p common%{_bindir}/* $RPM_BUILD_ROOT%{_bindir} |
254 | install -p common/usr/X11R6/bin/* $RPM_BUILD_ROOT%{_bindir} | |
255 | install -p common%{_sbindir}/* $RPM_BUILD_ROOT%{_sbindir} | |
e3dbb82b JR |
256 | |
257 | rm $RPM_BUILD_ROOT%{_sbindir}/atigetsysteminfo.sh | |
de93633b | 258 | |
5b6e428d | 259 | cp -a common%{_libdir}/modules/* $RPM_BUILD_ROOT%{_libdir}/xorg/modules |
fa23496e | 260 | ln -s %{_libdir}/xorg/modules/dri $RPM_BUILD_ROOT%{_libdir} |
5b6e428d ER |
261 | cp -a common%{_sysconfdir}/ati/control $RPM_BUILD_ROOT%{_sysconfdir}/ati/control |
262 | cp -a common%{_sysconfdir}/ati/signature $RPM_BUILD_ROOT%{_sysconfdir}/ati/signature | |
263 | cp -a common%{_sysconfdir}/ati/amdpcsdb.default $RPM_BUILD_ROOT%{_sysconfdir}/ati/amdpcsdb.default | |
264 | cp -a common%{_sysconfdir}/ati/atiogl.xml $RPM_BUILD_ROOT%{_sysconfdir}/ati/atiogl.xml | |
de93633b | 265 | |
5b6e428d ER |
266 | cp -a common%{_datadir}/ati/* $RPM_BUILD_ROOT%{_datadir}/ati |
267 | cp -a common%{_datadir}/icons/*.xpm $RPM_BUILD_ROOT%{_pixmapsdir} | |
a0e674b9 | 268 | |
1e707323 JR |
269 | cp -r common%{_desktopdir}/*.desktop $RPM_BUILD_ROOT%{_desktopdir} |
270 | ||
5b6e428d | 271 | cp -a common%{_mandir}/man8/*.8 $RPM_BUILD_ROOT%{_mandir}/man8 |
e3dbb82b | 272 | |
d76ff2e1 | 273 | %ifarch %{x8664} |
5b6e428d | 274 | echo %{_libdir}/fglrx > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/fglrx64.conf |
d76ff2e1 | 275 | %else |
5b6e428d | 276 | echo %{_libdir}/fglrx > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/fglrx.conf |
d76ff2e1 | 277 | %endif |
bd12a4d2 | 278 | |
5b6e428d | 279 | cp -a common%{_libdir}/lib* $RPM_BUILD_ROOT%{_libdir}/fglrx |
bd12a4d2 | 280 | |
3e526379 | 281 | mv -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/{,fglrx}/libglx.so |
f9cbcfd5 | 282 | |
63192f6b | 283 | /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/fglrx |
3e526379 JR |
284 | ln -sf libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/fglrx/libGL.so |
285 | ln -sf libfglrx_dm.so.*.* $RPM_BUILD_ROOT%{_libdir}/fglrx/libfglrx_dm.so | |
9d6674ac | 286 | |
5b6e428d | 287 | cp -p common%{_includedir}/GL/*.h $RPM_BUILD_ROOT%{_includedir}/GL |
57e97736 PS |
288 | echo "LIBGL_DRIVERS_PATH=%{_libdir}/xorg/modules/dri" > $RPM_BUILD_ROOT%{_sysconfdir}/env.d/LIBGL_DRIVERS_PATH |
289 | ||
566515bf | 290 | install -d $RPM_BUILD_ROOT%{_pkgconfigdir} |
051fc62d | 291 | %{__sed} -e 's|@@prefix@@|%{_prefix}|g;s|@@libdir@@|%{_libdir}|g;s|@@includedir@@|%{_includedir}|g;s|@@version@@|%{version}|g' < %{SOURCE3} \ |
566515bf | 292 | > $RPM_BUILD_ROOT%{_pkgconfigdir}/gl.pc |
03e0c9e0 | 293 | %endif |
566515bf | 294 | |
de93633b | 295 | %clean |
296 | rm -rf $RPM_BUILD_ROOT | |
297 | ||
5b2ffdd6 JR |
298 | %post libs -p /sbin/ldconfig |
299 | %postun libs -p /sbin/ldconfig | |
de93633b | 300 | |
566515bf JR |
301 | %post atieventsd |
302 | /sbin/chkconfig --add atieventsd | |
303 | %service atieventsd restart | |
304 | ||
305 | %preun atieventsd | |
306 | if [ "$1" = "0" ]; then | |
307 | %service -q atieventsd stop | |
308 | /sbin/chkconfig --del atieventsd | |
309 | fi | |
310 | ||
12b4fedb | 311 | %post -n kernel%{_alt_kernel}-video-firegl |
de93633b | 312 | %depmod %{_kernel_ver} |
313 | ||
12b4fedb | 314 | %postun -n kernel%{_alt_kernel}-video-firegl |
de93633b | 315 | %depmod %{_kernel_ver} |
316 | ||
de93633b | 317 | %if %{with userspace} |
318 | %files | |
319 | %defattr(644,root,root,755) | |
f42f7da0 | 320 | %doc LICENSE.TXT common%{_docdir}/fglrx/*.html common%{_docdir}/fglrx/articles common%{_docdir}/fglrx/user-manual |
cc34c4f1 | 321 | %dir %{_sysconfdir}/ati |
eb789250 | 322 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ati/control |
1cf8b52c | 323 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ati/signature |
217c853b BZ |
324 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ati/amdpcsdb.default |
325 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ati/atiogl.xml | |
57e97736 | 326 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/env.d/LIBGL_DRIVERS_PATH |
de93633b | 327 | %attr(755,root,root) %{_bindir}/* |
566515bf | 328 | %attr(755,root,root) %{_sbindir}/amdnotifyui |
b94c2073 | 329 | %{_desktopdir}/*.desktop |
a0e674b9 BZ |
330 | %{_pixmapsdir}/*.xpm |
331 | %{_datadir}/ati | |
3e526379 JR |
332 | %dir %{_libdir}/xorg/modules/extensions/fglrx |
333 | %attr(755,root,root) %{_libdir}/xorg/modules/extensions/fglrx/libglx.so | |
5b2ffdd6 JR |
334 | %{_libdir}/dri |
335 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/fglrx_dri.so | |
336 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/fglrx_drv.so | |
bb2b340f | 337 | %dir %{_libdir}/xorg/modules/linux |
5b2ffdd6 JR |
338 | %attr(755,root,root) %{_libdir}/xorg/modules/linux/libfglrxdrm.so |
339 | %attr(755,root,root) %{_libdir}/xorg/modules/amdxmm.so | |
340 | %attr(755,root,root) %{_libdir}/xorg/modules/glesx.so | |
3a6c6402 JR |
341 | %{_sysconfdir}/X11/xorg.conf.d/10-fglrx.conf |
342 | %{_sysconfdir}/X11/xorg.conf.d/10-fglrx-modules.conf | |
5b2ffdd6 JR |
343 | |
344 | %files libs | |
345 | %defattr(644,root,root,755) | |
e27c0f70 JR |
346 | %dir %{_sysconfdir}/OpenCL |
347 | %dir %{_sysconfdir}/OpenCL/vendors | |
348 | %{_sysconfdir}/OpenCL/vendors/*.icd | |
d76ff2e1 | 349 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/fglrx*.conf |
bd12a4d2 | 350 | %dir %{_libdir}/fglrx |
424a1cb0 | 351 | %attr(755,root,root) %{_libdir}/fglrx/libAMDXvBA.so.*.* |
3e526379 | 352 | %attr(755,root,root) %ghost %{_libdir}/fglrx/libAMDXvBA.so.1 |
e27c0f70 | 353 | %attr(755,root,root) %{_libdir}/fglrx/libOpenCL.so.1 |
053842d1 | 354 | %attr(755,root,root) %{_libdir}/fglrx/libSlotMaximizerAg.so |
50f18a66 | 355 | %ifarch %{ix86} |
053842d1 | 356 | %attr(755,root,root) %{_libdir}/fglrx/libSlotMaximizerBe.so |
50f18a66 | 357 | %endif |
ab5aac73 | 358 | %attr(755,root,root) %{_libdir}/fglrx/libXvBAW.so.*.* |
3e526379 | 359 | %attr(755,root,root) %ghost %{_libdir}/fglrx/libXvBAW.so.1 |
63192f6b | 360 | %{_libdir}/fglrx/libAMDXvBA.cap |
e27c0f70 | 361 | %attr(755,root,root) %{_libdir}/fglrx/libamdocl*.so |
c37980c7 | 362 | %attr(755,root,root) %{_libdir}/fglrx/libatiadlxx.so |
d49fb583 AA |
363 | %attr(755,root,root) %{_libdir}/fglrx/libaticalcl.so |
364 | %attr(755,root,root) %{_libdir}/fglrx/libaticaldd.so | |
365 | %attr(755,root,root) %{_libdir}/fglrx/libaticalrt.so | |
ca92b9f5 | 366 | %attr(755,root,root) %{_libdir}/fglrx/libatiuki.so.*.* |
3e526379 | 367 | %attr(755,root,root) %ghost %{_libdir}/fglrx/libatiuki.so.1 |
bd12a4d2 | 368 | %attr(755,root,root) %{_libdir}/fglrx/libGL.so.*.* |
3e526379 | 369 | %attr(755,root,root) %ghost %{_libdir}/fglrx/libGL.so.1 |
bd12a4d2 | 370 | %attr(755,root,root) %{_libdir}/fglrx/libfglrx_dm.so.*.* |
b8dac3df | 371 | |
57e97736 PS |
372 | %files devel |
373 | %defattr(644,root,root,755) | |
3e526379 JR |
374 | %attr(755,root,root) %{_libdir}/fglrx/libfglrx_dm.so |
375 | %attr(755,root,root) %{_libdir}/fglrx/libGL.so | |
f3848da1 | 376 | %{_includedir}/GL |
566515bf | 377 | %{_pkgconfigdir}/gl.pc |
de93633b | 378 | |
57e97736 PS |
379 | %files static |
380 | %defattr(644,root,root,755) | |
3e526379 | 381 | %{_libdir}/fglrx/libfglrx_dm.a |
de93633b | 382 | |
566515bf JR |
383 | %files atieventsd |
384 | %defattr(644,root,root,755) | |
385 | %attr(754,root,root) /etc/rc.d/init.d/atieventsd | |
386 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/atieventsd | |
387 | %attr(755,root,root) %{_sbindir}/atieventsd | |
388 | %attr(755,root,root) %{_sysconfdir}/acpi/ati-powermode.sh | |
389 | %{_sysconfdir}/acpi/events/* | |
390 | %{_mandir}/man8/atieventsd.8* | |
5ebc6789 | 391 | %endif |
f8d82c29 | 392 | |
de93633b | 393 | %if %{with kernel} |
12b4fedb | 394 | %files -n kernel%{_alt_kernel}-video-firegl |
de93633b | 395 | %defattr(644,root,root,755) |
396 | /lib/modules/%{_kernel_ver}/misc/*.ko* | |
83b2fef2 | 397 | %endif |