]>
Commit | Line | Data |
---|---|---|
356c0e0c ER |
1 | # TODO |
2 | # - /usr/lib64/fglrx/libSlotMaximizerBe.so | |
789884e5 | 3 | # |
4 | # Conditional build: | |
5 | %bcond_without dist_kernel # without distribution kernel | |
6 | %bcond_without kernel # don't build kernel modules | |
789884e5 | 7 | %bcond_without userspace # don't build userspace tools |
8 | %bcond_with verbose # verbose build (V=1) | |
789884e5 | 9 | |
e1b822a2 | 10 | %define x11ver xpic |
789884e5 | 11 | |
68a3bae9 ER |
12 | %if %{without kernel} |
13 | %undefine with_dist_kernel | |
789884e5 | 14 | %endif |
7c4358a6 | 15 | %if "%{_alt_kernel}" != "%{nil}" |
16 | %undefine with_userspace | |
17 | %endif | |
68a3bae9 ER |
18 | %if %{without userspace} |
19 | # nothing to be placed to debuginfo package | |
20 | %define _enable_debug_packages 0 | |
21 | %endif | |
7c4358a6 | 22 | |
789884e5 | 23 | %ifarch %{ix86} |
3e1fadda | 24 | %define arch_sufix %{nil} |
789884e5 | 25 | %define arch_dir x86 |
26 | %else | |
789884e5 | 27 | %define arch_sufix _64a |
28 | %define arch_dir x86_64 | |
29 | %endif | |
30 | ||
5be7cc2a | 31 | %define rel 1 |
56a12f04 | 32 | %define pname xorg-driver-video-fglrx-legacy |
b73ad892 JR |
33 | Summary: Linux Drivers for AMD graphics accelerators |
34 | Summary(pl.UTF-8): Sterowniki do akceleratorów graficznych AMD | |
3f9fa2a7 | 35 | Name: %{pname}%{_alt_kernel} |
56a12f04 | 36 | Version: 13.1 |
c21665b3 | 37 | Release: %{rel} |
cb52be2a | 38 | License: AMD Binary (parts are GPL) |
789884e5 | 39 | Group: X11 |
ee9b635b ER |
40 | # Download http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx?type=2.4.1&product=2.4.1.3.42&lang=English |
41 | # or go to http://support.amd.com/ click through "download drivers", desktop -> radeon hd -> 4xxx -> linux | |
56a12f04 JR |
42 | Source0: http://www2.ati.com/drivers/legacy/amd-driver-installer-catalyst-%{version}-legacy-linux-x86.x86_64.zip |
43 | # Source0-md5: c07fd1332abe4c742a9a0d0e0d0a90de | |
06cd7c29 JR |
44 | Source1: atieventsd.init |
45 | Source2: atieventsd.sysconfig | |
46 | Source3: gl.pc.in | |
a1dd6076 | 47 | Source4: 10-fglrx.conf |
0dbe66ad | 48 | Source5: 10-fglrx-modules.conf |
31258bd6 JR |
49 | Patch0: xorg-driver-video-fglrx-kh.patch |
50 | Patch1: xorg-driver-video-fglrx-smp.patch | |
51 | Patch2: xorg-driver-video-fglrx-x86genericarch.patch | |
52 | Patch3: xorg-driver-video-fglrx-desktop.patch | |
53 | Patch4: xorg-driver-video-fglrx-nofinger.patch | |
54 | Patch5: xorg-driver-video-fglrx-GPL-only.patch | |
d34186d6 | 55 | Patch6: xorg-driver-video-fglrx-kernel-fpu.patch |
308da22e | 56 | Patch7: linux-3.5.0-missing_do_mmap.patch |
20e35691 | 57 | Patch8: linux-3.7.patch |
3649178d | 58 | URL: http://ati.amd.com/support/drivers/linux/linux-radeon.html |
8f871a97 | 59 | %{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2} |
a6d0d082 | 60 | BuildRequires: rpmbuild(macros) >= 1.379 |
a0f58e89 | 61 | BuildRequires: sed >= 4.0 |
2993186f | 62 | Requires: %{pname}-libs = %{epoch}:%{version}-%{rel} |
789884e5 | 63 | Requires: xorg-xserver-server |
67af0858 | 64 | Requires: xorg-xserver-server(videodrv-abi) <= 12.1 |
99d085f9 | 65 | Requires: xorg-xserver-server(videodrv-abi) >= 2.0 |
fe079d03 | 66 | Suggests: kernel-video-firegl |
1c35c749 | 67 | Provides: xorg-driver-video |
4615bb2d | 68 | Provides: xorg-xserver-module(glx) |
2d12e33e | 69 | Obsoletes: X11-driver-firegl < 1:7.0.0 |
2d12e33e | 70 | Obsoletes: XFree86-driver-firegl < 1:7.0.0 |
6f098fd4 | 71 | Obsoletes: xorg-driver-video-fglrx-config |
56a12f04 | 72 | Obsoletes: xorg-driver-video-fglrx-legace-12.x |
dd512149 | 73 | Obsoletes: xorg-driver-video-fglrx-libdri |
4615bb2d | 74 | Obsoletes: xorg-driver-video-fglrx-libglx |
789884e5 | 75 | ExclusiveArch: i586 i686 athlon pentium3 pentium4 %{x8664} |
3f9fa2a7 | 76 | BuildRoot: %{tmpdir}/%{pname}-%{version}-root-%(id -u -n) |
789884e5 | 77 | |
fab6e930 | 78 | %define _ccver %(rpm -q --qf "%{VERSION}" gcc | sed 's/\\..*//') |
79 | ||
f04fc6c5 JR |
80 | %define _noautoreqdep libGL.so.1 |
81 | %define no_install_post_check_so 1 | |
789884e5 | 82 | |
83 | %description | |
67975bb5 | 84 | AMD Display driver for the Radeon HD 2000/3000/4000 |
b73ad892 JR |
85 | (R600/R700) series. |
86 | This package provides 2D display drivers and hardware accelerated | |
87 | OpenGL. | |
789884e5 | 88 | |
d00a13ab | 89 | %description -l pl.UTF-8 |
67975bb5 | 90 | Sterownik AMD do kart graficznych Radeon HD 2000/3000/4000 |
b73ad892 JR |
91 | (R600/R700). |
92 | Pakiet dostarcza sterowniki obsługujące wyświetlanie 2D oraz sprzętowo | |
789884e5 | 93 | akcelerowany OpenGL. |
94 | ||
67429446 | 95 | %package libs |
b73ad892 JR |
96 | Summary: OpenGL (GL and GLX) AMD libraries |
97 | Summary(pl.UTF-8): Biblioteki OpenGL (GL i GLX) AMD | |
67429446 JR |
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 | |
67429446 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 | |
56a12f04 | 107 | Obsoletes: xorg-driver-video-fglrx-legacy-12.x-libs |
67429446 JR |
108 | |
109 | %description libs | |
b73ad892 | 110 | AMD OpenGL (GL and GLX only) implementation libraries. |
67429446 JR |
111 | |
112 | %description libs -l pl.UTF-8 | |
b73ad892 | 113 | Implementacja OpenGL (tylko GL i GLX) firmy AMD. |
67429446 | 114 | |
842e0540 | 115 | %package devel |
b73ad892 JR |
116 | Summary: Header files for development for the AMD Radeon cards proprietary driver |
117 | Summary(pl.UTF-8): Pliki nagłówkowe do programowania z użyciem własnościowego sterownika dla kart AMD Radeon | |
842e0540 | 118 | Group: X11/Development/Libraries |
2993186f | 119 | Requires: %{pname}-libs = %{epoch}:%{version}-%{rel} |
c4ad4ca1 JB |
120 | # or more? |
121 | Requires: xorg-proto-glproto-devel | |
67429446 | 122 | # 4.0 for Radeon HD 5000 Series |
67429446 | 123 | Provides: OpenGL-GLX-devel = 1.4 |
99d085f9 | 124 | Provides: OpenGL-devel = 3.3 |
67429446 JR |
125 | Obsoletes: X11-OpenGL-devel-base |
126 | Obsoletes: XFree86-OpenGL-devel-base | |
56a12f04 | 127 | Obsoletes: xorg-driver-video-fglrx-legacy-12.x-devel |
842e0540 PS |
128 | |
129 | %description devel | |
b73ad892 | 130 | Header files for development for the AMD proprietary driver for AMD |
99d085f9 | 131 | Radeon graphic cards. |
c4ad4ca1 | 132 | |
d00a13ab JR |
133 | %description devel -l pl.UTF-8 |
134 | Pliki nagłówkowe do programowania z użyciem własnościowego sterownika | |
b73ad892 | 135 | AMD dla kart graficznych Radeon. |
842e0540 PS |
136 | |
137 | %package static | |
b73ad892 JR |
138 | Summary: Static libraries for development for the AMD Radeon cards proprietary driver |
139 | Summary(pl.UTF-8): Biblioteki statyczne do programowania z użyciem własnościowego sterownika dla kart AMD Radeon | |
842e0540 | 140 | Group: X11/Development/Libraries |
2993186f | 141 | Requires: %{pname}-devel = %{epoch}:%{version}-%{rel} |
56a12f04 | 142 | Obsoletes: xorg-driver-video-fglrx-legacy-12.x-static |
842e0540 PS |
143 | |
144 | %description static | |
b73ad892 JR |
145 | Static libraries for development for the AMD proprietary driver for |
146 | AMD Radeon graphic cards. | |
842e0540 | 147 | |
d00a13ab JR |
148 | %description static -l pl.UTF-8 |
149 | Biblioteki statyczne do programowania z użyciem własnościowego | |
b73ad892 | 150 | sterownika AMD dla kart graficznych AMD Radeon. |
c4ad4ca1 | 151 | |
06cd7c29 | 152 | %package atieventsd |
b73ad892 JR |
153 | Summary: AMD external events daemon |
154 | Summary(pl.UTF-8): Demon zewnętrznych zdarzeń AMD | |
06cd7c29 | 155 | Group: Daemons |
2993186f | 156 | Requires: %{pname} = %{epoch}:%{version}-%{rel} |
06cd7c29 JR |
157 | Requires: acpid |
158 | Requires(post,preun): /sbin/chkconfig | |
159 | Requires: rc-scripts | |
56a12f04 | 160 | Obsoletes: xorg-driver-video-fglrx-legacy-12.x-atieventsd |
06cd7c29 JR |
161 | |
162 | %description atieventsd | |
b73ad892 | 163 | The AMD External Events Daemon is a user-level application that |
99d085f9 | 164 | monitors various system events such as ACPI or hotplug, then notifies |
165 | the driver via the X extensions interface that the event has occured. | |
06cd7c29 JR |
166 | |
167 | %description atieventsd -l pl.UTF-8 | |
b73ad892 | 168 | Demon zewnętrznych zdarzeń AMD jest aplikacją monitorującą różne |
99d085f9 | 169 | zdarzenia systemowe, takie jak ACPI lub hotplug, a następnie |
170 | informującą sterownik poprzez interfejs rozszerzeń X, że zaszło | |
171 | zdarzenie. | |
06cd7c29 | 172 | |
56a12f04 | 173 | %package -n kernel%{_alt_kernel}-video-firegl-legacy |
b73ad892 JR |
174 | Summary: AMD kernel module for FireGL support |
175 | Summary(pl.UTF-8): Moduł jądra oferujący wsparcie dla AMD FireGL | |
2993186f | 176 | Release: %{rel}@%{_kernel_ver_str} |
b73ad892 | 177 | License: AMD |
789884e5 | 178 | Group: Base/Kernel |
d1d21383 | 179 | %{?with_dist_kernel:%requires_releq_kernel} |
fe079d03 | 180 | %if "%{_alt_kernel}" != "%{nil}" |
2993186f | 181 | Provides: kernel-video-firegl = %{epoch}:%{version}-%{rel}@%{_kernel_ver_str} |
fe079d03 | 182 | %endif |
56a12f04 | 183 | Obsoletes: kernel%{_alt_kernel}-video-firegl-legacy-12.x |
789884e5 | 184 | Requires(post,postun): /sbin/depmod |
789884e5 | 185 | |
56a12f04 | 186 | %description -n kernel%{_alt_kernel}-video-firegl-legacy |
b73ad892 | 187 | AMD kernel module for FireGL support. |
789884e5 | 188 | |
56a12f04 | 189 | %description -n kernel%{_alt_kernel}-video-firegl-legacy -l pl.UTF-8 |
b73ad892 | 190 | Moduł jądra oferujący wsparcie dla AMD FireGL. |
789884e5 | 191 | |
789884e5 | 192 | %prep |
d34186d6 JR |
193 | #%setup -q -c -T |
194 | %setup -q -c | |
789884e5 | 195 | |
5be7cc2a | 196 | sh amd-driver-installer-catalyst-%{version}-legacy-linux-x86.x86_64.run --extract . |
789884e5 | 197 | |
356c0e0c | 198 | cp -p arch/%{arch_dir}/lib/modules/fglrx/build_mod/* common/lib/modules/fglrx/build_mod |
789884e5 | 199 | |
cfdff158 | 200 | %if %{with dist_kernel} |
ee63424d | 201 | %patch0 -p1 |
8407dab5 | 202 | %patch1 -p0 |
f236cb0b | 203 | %patch2 -p0 |
d97959b3 | 204 | %endif |
ee63424d JR |
205 | %patch3 -p1 |
206 | %patch4 -p1 | |
88cdbbd7 | 207 | %patch5 -p1 |
d34186d6 | 208 | %patch6 -p0 |
308da22e | 209 | %patch7 -p1 |
20e35691 | 210 | %patch8 -p1 |
789884e5 | 211 | |
c6cc8547 | 212 | install -d common{%{_prefix}/{%{_lib},bin,sbin},/etc} |
356c0e0c | 213 | cp -a %{x11ver}%{arch_sufix}/usr/X11R6/%{_lib}/* common%{_libdir} |
a1a42202 | 214 | mv common%{_libdir}/modules/extensions/{fglrx/fglrx-libglx.so,libglx.so} |
356c0e0c ER |
215 | cp -a arch/%{arch_dir}/usr/X11R6/%{_lib}/* common%{_libdir} |
216 | cp -a arch/%{arch_dir}/usr/X11R6/%{_lib}/modules common%{_libdir}/xorg | |
217 | cp -a arch/%{arch_dir}/usr/X11R6/bin/* common%{_bindir} | |
218 | cp -a arch/%{arch_dir}/usr/bin/* common%{_bindir} | |
219 | cp -a arch/%{arch_dir}/usr/sbin/* common%{_sbindir} | |
220 | cp -a arch/%{arch_dir}/usr/%{_lib}/*.so* common%{_libdir} | |
a1a42202 | 221 | mv common%{_libdir}/{fglrx/fglrx-libGL.so.1.2,libGL.so.1.2} |
356c0e0c | 222 | cp -a arch/%{arch_dir}/etc/* common/etc |
789884e5 | 223 | |
224 | %build | |
225 | %if %{with kernel} | |
226 | cd common/lib/modules/fglrx/build_mod | |
356c0e0c | 227 | cp -pf 2.6.x/Makefile . |
be6bb2aa | 228 | %build_kernel_modules -c -m fglrx GCC_VER_MAJ=%{_ccver} |
789884e5 | 229 | cd - |
230 | %endif | |
231 | ||
789884e5 | 232 | %install |
233 | rm -rf $RPM_BUILD_ROOT | |
234 | ||
235 | %if %{with kernel} | |
105bc323 | 236 | %install_kernel_modules -m common/lib/modules/fglrx/build_mod/fglrx -d misc |
789884e5 | 237 | %endif |
238 | ||
239 | %if %{with userspace} | |
0dbe66ad JR |
240 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/{ati,env.d,X11/xorg.conf.d,ld.so.conf.d} \ |
241 | $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_includedir}/GL} \ | |
170df453 | 242 | $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_datadir}/ati,%{_mandir}/man8} \ |
0dbe66ad | 243 | $RPM_BUILD_ROOT%{_libdir}/{fglrx,xorg/modules/extensions/fglrx} \ |
c6cc8547 JR |
244 | $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d} \ |
245 | $RPM_BUILD_ROOT%{_sysconfdir}/OpenCL/vendors | |
06cd7c29 | 246 | |
356c0e0c ER |
247 | install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/atieventsd |
248 | cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/atieventsd | |
0dbe66ad | 249 | |
356c0e0c ER |
250 | cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d |
251 | cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d | |
0dbe66ad JR |
252 | sed -i -e 's|@@LIBDIR@@|%{_libdir}|g' $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/10-fglrx-modules.conf |
253 | ||
356c0e0c | 254 | cp -a common%{_datadir}/doc/fglrx/examples/etc/acpi $RPM_BUILD_ROOT/etc |
c6cc8547 | 255 | install -p common/etc/OpenCL/vendors/*.icd $RPM_BUILD_ROOT%{_sysconfdir}/OpenCL/vendors |
170df453 | 256 | |
356c0e0c ER |
257 | install -p common%{_bindir}/* $RPM_BUILD_ROOT%{_bindir} |
258 | install -p common/usr/X11R6/bin/* $RPM_BUILD_ROOT%{_bindir} | |
259 | install -p common%{_sbindir}/* $RPM_BUILD_ROOT%{_sbindir} | |
170df453 JR |
260 | |
261 | rm $RPM_BUILD_ROOT%{_sbindir}/atigetsysteminfo.sh | |
789884e5 | 262 | |
356c0e0c | 263 | cp -a common%{_libdir}/modules/* $RPM_BUILD_ROOT%{_libdir}/xorg/modules |
2c0abc78 | 264 | ln -s %{_libdir}/xorg/modules/dri $RPM_BUILD_ROOT%{_libdir} |
356c0e0c ER |
265 | cp -a common%{_sysconfdir}/ati/control $RPM_BUILD_ROOT%{_sysconfdir}/ati/control |
266 | cp -a common%{_sysconfdir}/ati/signature $RPM_BUILD_ROOT%{_sysconfdir}/ati/signature | |
267 | cp -a common%{_sysconfdir}/ati/amdpcsdb.default $RPM_BUILD_ROOT%{_sysconfdir}/ati/amdpcsdb.default | |
268 | cp -a common%{_sysconfdir}/ati/atiogl.xml $RPM_BUILD_ROOT%{_sysconfdir}/ati/atiogl.xml | |
789884e5 | 269 | |
356c0e0c ER |
270 | cp -a common%{_datadir}/ati/* $RPM_BUILD_ROOT%{_datadir}/ati |
271 | cp -a common%{_datadir}/icons/*.xpm $RPM_BUILD_ROOT%{_pixmapsdir} | |
346ecf95 | 272 | |
ee63424d JR |
273 | cp -r common%{_desktopdir}/*.desktop $RPM_BUILD_ROOT%{_desktopdir} |
274 | ||
356c0e0c | 275 | cp -a common%{_mandir}/man8/*.8 $RPM_BUILD_ROOT%{_mandir}/man8 |
170df453 | 276 | |
4a6e7eaa | 277 | %ifarch %{x8664} |
356c0e0c | 278 | echo %{_libdir}/fglrx > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/fglrx64.conf |
4a6e7eaa | 279 | %else |
356c0e0c | 280 | echo %{_libdir}/fglrx > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/fglrx.conf |
4a6e7eaa | 281 | %endif |
d3f92aa8 | 282 | |
356c0e0c | 283 | cp -a common%{_libdir}/lib* $RPM_BUILD_ROOT%{_libdir}/fglrx |
d3f92aa8 | 284 | |
0dbe66ad | 285 | mv -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/{,fglrx}/libglx.so |
bf644a7a | 286 | |
f32ae90c | 287 | /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/fglrx |
0dbe66ad JR |
288 | ln -sf libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/fglrx/libGL.so |
289 | ln -sf libfglrx_dm.so.*.* $RPM_BUILD_ROOT%{_libdir}/fglrx/libfglrx_dm.so | |
724d6696 | 290 | |
356c0e0c | 291 | cp -p common%{_includedir}/GL/*.h $RPM_BUILD_ROOT%{_includedir}/GL |
842e0540 PS |
292 | echo "LIBGL_DRIVERS_PATH=%{_libdir}/xorg/modules/dri" > $RPM_BUILD_ROOT%{_sysconfdir}/env.d/LIBGL_DRIVERS_PATH |
293 | ||
06cd7c29 | 294 | install -d $RPM_BUILD_ROOT%{_pkgconfigdir} |
a0f58e89 | 295 | %{__sed} -e 's|@@prefix@@|%{_prefix}|g;s|@@libdir@@|%{_libdir}|g;s|@@includedir@@|%{_includedir}|g;s|@@version@@|%{version}|g' < %{SOURCE3} \ |
06cd7c29 | 296 | > $RPM_BUILD_ROOT%{_pkgconfigdir}/gl.pc |
ed4c3e39 | 297 | %endif |
06cd7c29 | 298 | |
789884e5 | 299 | %clean |
300 | rm -rf $RPM_BUILD_ROOT | |
301 | ||
67429446 JR |
302 | %post libs -p /sbin/ldconfig |
303 | %postun libs -p /sbin/ldconfig | |
789884e5 | 304 | |
06cd7c29 JR |
305 | %post atieventsd |
306 | /sbin/chkconfig --add atieventsd | |
307 | %service atieventsd restart | |
308 | ||
309 | %preun atieventsd | |
310 | if [ "$1" = "0" ]; then | |
311 | %service -q atieventsd stop | |
312 | /sbin/chkconfig --del atieventsd | |
313 | fi | |
314 | ||
56a12f04 | 315 | %post -n kernel%{_alt_kernel}-video-firegl-legacy |
789884e5 | 316 | %depmod %{_kernel_ver} |
317 | ||
56a12f04 | 318 | %postun -n kernel%{_alt_kernel}-video-firegl-legacy |
789884e5 | 319 | %depmod %{_kernel_ver} |
320 | ||
789884e5 | 321 | %if %{with userspace} |
322 | %files | |
323 | %defattr(644,root,root,755) | |
2dd7e4a1 | 324 | %doc LICENSE.TXT common%{_docdir}/fglrx/*.html common%{_docdir}/fglrx/articles common%{_docdir}/fglrx/user-manual |
719439a7 | 325 | %dir %{_sysconfdir}/ati |
af708bbb | 326 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ati/control |
60ffb72d | 327 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ati/signature |
1bafa975 BZ |
328 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ati/amdpcsdb.default |
329 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ati/atiogl.xml | |
842e0540 | 330 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/env.d/LIBGL_DRIVERS_PATH |
789884e5 | 331 | %attr(755,root,root) %{_bindir}/* |
06cd7c29 | 332 | %attr(755,root,root) %{_sbindir}/amdnotifyui |
c1ba7bab | 333 | %{_desktopdir}/*.desktop |
346ecf95 BZ |
334 | %{_pixmapsdir}/*.xpm |
335 | %{_datadir}/ati | |
0dbe66ad JR |
336 | %dir %{_libdir}/xorg/modules/extensions/fglrx |
337 | %attr(755,root,root) %{_libdir}/xorg/modules/extensions/fglrx/libglx.so | |
67429446 JR |
338 | %{_libdir}/dri |
339 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/fglrx_dri.so | |
340 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/fglrx_drv.so | |
86db4954 | 341 | %dir %{_libdir}/xorg/modules/linux |
67429446 JR |
342 | %attr(755,root,root) %{_libdir}/xorg/modules/linux/libfglrxdrm.so |
343 | %attr(755,root,root) %{_libdir}/xorg/modules/amdxmm.so | |
344 | %attr(755,root,root) %{_libdir}/xorg/modules/glesx.so | |
6f098fd4 JR |
345 | %{_sysconfdir}/X11/xorg.conf.d/10-fglrx.conf |
346 | %{_sysconfdir}/X11/xorg.conf.d/10-fglrx-modules.conf | |
67429446 JR |
347 | |
348 | %files libs | |
349 | %defattr(644,root,root,755) | |
c6cc8547 JR |
350 | %dir %{_sysconfdir}/OpenCL |
351 | %dir %{_sysconfdir}/OpenCL/vendors | |
352 | %{_sysconfdir}/OpenCL/vendors/*.icd | |
4a6e7eaa | 353 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/fglrx*.conf |
d3f92aa8 | 354 | %dir %{_libdir}/fglrx |
838170a1 | 355 | %attr(755,root,root) %{_libdir}/fglrx/libAMDXvBA.so.*.* |
0dbe66ad | 356 | %attr(755,root,root) %ghost %{_libdir}/fglrx/libAMDXvBA.so.1 |
c6cc8547 | 357 | %attr(755,root,root) %{_libdir}/fglrx/libOpenCL.so.1 |
cb52be2a | 358 | %attr(755,root,root) %{_libdir}/fglrx/libSlotMaximizerAg.so |
d76817ee | 359 | %ifarch %{ix86} |
cb52be2a | 360 | %attr(755,root,root) %{_libdir}/fglrx/libSlotMaximizerBe.so |
d76817ee | 361 | %endif |
58c0f09a | 362 | %attr(755,root,root) %{_libdir}/fglrx/libXvBAW.so.*.* |
0dbe66ad | 363 | %attr(755,root,root) %ghost %{_libdir}/fglrx/libXvBAW.so.1 |
f32ae90c | 364 | %{_libdir}/fglrx/libAMDXvBA.cap |
c6cc8547 | 365 | %attr(755,root,root) %{_libdir}/fglrx/libamdocl*.so |
6dce1805 | 366 | %attr(755,root,root) %{_libdir}/fglrx/libatiadlxx.so |
fc259140 AA |
367 | %attr(755,root,root) %{_libdir}/fglrx/libaticalcl.so |
368 | %attr(755,root,root) %{_libdir}/fglrx/libaticaldd.so | |
369 | %attr(755,root,root) %{_libdir}/fglrx/libaticalrt.so | |
dd512149 | 370 | %attr(755,root,root) %{_libdir}/fglrx/libatiuki.so.*.* |
0dbe66ad | 371 | %attr(755,root,root) %ghost %{_libdir}/fglrx/libatiuki.so.1 |
d3f92aa8 | 372 | %attr(755,root,root) %{_libdir}/fglrx/libGL.so.*.* |
0dbe66ad | 373 | %attr(755,root,root) %ghost %{_libdir}/fglrx/libGL.so.1 |
d3f92aa8 | 374 | %attr(755,root,root) %{_libdir}/fglrx/libfglrx_dm.so.*.* |
0ccb3c61 | 375 | |
842e0540 PS |
376 | %files devel |
377 | %defattr(644,root,root,755) | |
0dbe66ad JR |
378 | %attr(755,root,root) %{_libdir}/fglrx/libfglrx_dm.so |
379 | %attr(755,root,root) %{_libdir}/fglrx/libGL.so | |
5545e5ef | 380 | %{_includedir}/GL |
06cd7c29 | 381 | %{_pkgconfigdir}/gl.pc |
789884e5 | 382 | |
842e0540 PS |
383 | %files static |
384 | %defattr(644,root,root,755) | |
0dbe66ad | 385 | %{_libdir}/fglrx/libfglrx_dm.a |
789884e5 | 386 | |
06cd7c29 JR |
387 | %files atieventsd |
388 | %defattr(644,root,root,755) | |
389 | %attr(754,root,root) /etc/rc.d/init.d/atieventsd | |
390 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/atieventsd | |
391 | %attr(755,root,root) %{_sbindir}/atieventsd | |
392 | %attr(755,root,root) %{_sysconfdir}/acpi/ati-powermode.sh | |
393 | %{_sysconfdir}/acpi/events/* | |
394 | %{_mandir}/man8/atieventsd.8* | |
ff79cbf2 | 395 | %endif |
4caaa128 | 396 | |
789884e5 | 397 | %if %{with kernel} |
56a12f04 | 398 | %files -n kernel%{_alt_kernel}-video-firegl-legacy |
789884e5 | 399 | %defattr(644,root,root,755) |
400 | /lib/modules/%{_kernel_ver}/misc/*.ko* | |
b6d62fb6 | 401 | %endif |