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