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