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