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