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