View | Details | Raw Unified | Return to bug 29120
Collapse All | Expand All

(-)a/nvidia_glx_319.32.spec (-13 / +39 lines)
Lines 15-22 Link Here
15
%define nv_version 319
15
%define nv_version 319
16
%define nv_release 32
16
%define nv_release 32
17
%define nv_minor %nil
17
%define nv_minor %nil
18
%define pkg_rel alt114
18
%define pkg_rel alt114.1
19
%def_disable common
19
%def_enable common
20
%def_enable kernelsource
20
%def_enable kernelsource
21
21
22
%define tbver %{nv_version}.%{nv_release}.%{nv_minor}
22
%define tbver %{nv_version}.%{nv_release}.%{nv_minor}
Lines 86-92 BuildRequires: kernel-build-tools rpm-macros-alternatives Link Here
86
ExclusiveArch: %ix86 x86_64
86
ExclusiveArch: %ix86 x86_64
87
#ExcludeArch: ppc64 x86_64 ppc s390 s390x ia64
87
#ExcludeArch: ppc64 x86_64 ppc s390 s390x ia64
88
88
89
89
Packager: Denis Pynkin <dans@altlinux.ru>
90
90
91
Group: %myGroup
91
Group: %myGroup
92
Summary: %mySummary
92
Summary: %mySummary
Lines 132-138 GeForce/Quadro. Более ранние версии видеокарт на б Link Here
132
Group: Development/Kernel
132
Group: Development/Kernel
133
Summary: Linux %module_name modules sources
133
Summary: Linux %module_name modules sources
134
License: %myLicense
134
License: %myLicense
135
Packager: Kernel Maintainer Team <kernel@packages.altlinux.org>
135
Packager: Denis Pynkin <dans@altlinux.ru>
136
#
136
#
137
%description -n kernel-source-%module_name-%module_version
137
%description -n kernel-source-%module_name-%module_version
138
%module_name modules sources for Linux kernel
138
%module_name modules sources for Linux kernel
Lines 145-150 License: %myLicense Link Here
145
%description -n %{bin_pkg_name}-devel
145
%description -n %{bin_pkg_name}-devel
146
Development files for NVIDIA OpenGL
146
Development files for NVIDIA OpenGL
147
147
148
%package -n %{bin_pkg_name}_%{version}-cuda
149
Group: Development/C
150
Summary: CUDA related binaries and libraries
151
License: %myLicense
152
Requires: libcuda
153
Provides: %virtual_pkg_name-cuda = %version-%release
154
Obsoletes: %virtual_pkg_name-cuda < %version-%release
155
156
%description -n %{bin_pkg_name}_%{version}-cuda
157
NVIDIA CUDA related binaries and libraries
158
148
%package -n libcuda
159
%package -n libcuda
149
Group: Development/C
160
Group: Development/C
150
Summary: CUDA library
161
Summary: CUDA library
Lines 172-177 Group: Development/C Link Here
172
Summary: Development files for NVIDIA VDPAU
183
Summary: Development files for NVIDIA VDPAU
173
License: %myLicense
184
License: %myLicense
174
Requires: libvdpau = %version-%release libX11-devel
185
Requires: libvdpau = %version-%release libX11-devel
186
175
%description -n libvdpau-devel
187
%description -n libvdpau-devel
176
Development files for NVIDIA VDPAU
188
Development files for NVIDIA VDPAU
177
189
Lines 287-292 cat > %buildroot/%_altdir/%name <<__EOF__ Link Here
287
%_bindir/nvidia-bug-report.sh %_bindir/nvidia-bug-report-%version.sh %version
299
%_bindir/nvidia-bug-report.sh %_bindir/nvidia-bug-report-%version.sh %version
288
__EOF__
300
__EOF__
289
301
302
# for Cuda
303
for F in nvidia-smi nvidia-cuda-mps-control nvidia-cuda-mps-server
304
do
305
    install -m 0755 $F %buildroot/%_bindir/
306
done
307
# Not sure if we need it:
308
%__install -m 0644 libnvidia-ml.so.%tbver %buildroot/%_libdir/
290
309
291
%post -n %{bin_pkg_name}_%{version}
310
%post -n %{bin_pkg_name}_%{version}
292
# switch nvidia driver and libraries
311
# switch nvidia driver and libraries
Lines 323-329 fi Link Here
323
%nv_lib_dir/libglx.*
342
%nv_lib_dir/libglx.*
324
%nv_lib_dir/libGL.so*
343
%nv_lib_dir/libGL.so*
325
%nv_lib_dir/libnvidia-cfg.so*
344
%nv_lib_dir/libnvidia-cfg.so*
326
%nv_lib_dir/libvdpau_nvidia.so
345
%nv_lib_dir/libvdpau_nvidia.so*
327
%nv_lib_dir/libwfb.so
346
%nv_lib_dir/libwfb.so
328
%nv_lib_dir/libnvidia-wfb.so*
347
%nv_lib_dir/libnvidia-wfb.so*
329
%nv_lib_dir/nvidia.xinf
348
%nv_lib_dir/nvidia.xinf
Lines 334-354 fi Link Here
334
%dir %_includedir/nvidia
353
%dir %_includedir/nvidia
335
%_includedir/nvidia/GL
354
%_includedir/nvidia/GL
336
355
337
%if 0
338
%files -n libvdpau
356
%files -n libvdpau
339
%_libdir/libvdpau.so.*
357
%_libdir/libvdpau.so.*
340
358
359
%if 1
341
%files -n libvdpau-devel
360
%files -n libvdpau-devel
342
%_libdir/libvdpau.so
361
%_libdir/libvdpau.so
343
%_includedir/vdpau
362
#_includedir/vdpau
344
%endif
363
%endif
345
364
346
#%files -n libcuda
365
%files -n %{bin_pkg_name}_%{version}-cuda
347
#%_libdir/libcuda.so.*
366
%_bindir/nvidia-smi
367
%_bindir/nvidia-cuda*
368
%_libdir/libnvidia-ml.so*
348
369
349
#%files -n libcuda-devel
370
%files -n libcuda
350
#%_libdir/libcuda.so
371
%_libdir/libcuda.so.*
351
#%_includedir/cuda
372
373
%files -n libcuda-devel
374
%_libdir/libcuda.so
375
#_includedir/cuda
352
%endif
376
%endif
353
377
354
%if_enabled kernelsource
378
%if_enabled kernelsource
Lines 357-362 fi Link Here
357
%endif
381
%endif
358
382
359
%changelog
383
%changelog
384
* Sat Jun 29 2013 Denis Pynkin <dans@altlinux.ru> 319.32-alt114.1
385
- Rebuild with cuda libs
386
360
* Wed Jun 26 2013 Sergey V Turchin <zerg@altlinux.org> 319.32-alt114
387
* Wed Jun 26 2013 Sergey V Turchin <zerg@altlinux.org> 319.32-alt114
361
- new version
388
- new version
362
389
363
- 

Return to bug 29120