Revisions of libcuda

Jonatas Gonçalves's avatar Jonatas Gonçalves (MaxxedSUSE) committed (revision 33)
- Remove libcuda and libopenCL to fix conflict with nvidia-compute-G06
Jonatas Gonçalves's avatar Jonatas Gonçalves (MaxxedSUSE) committed (revision 32)
- Change CUDA location from /usr/lib64/cuda to /usr/local/cuda
Jonatas Gonçalves's avatar Jonatas Gonçalves (MaxxedSUSE) committed (revision 29)
- Add libQtAssistantClient4 requeriment.
- Change some package requeriments and links.

-This line, and those below, will be ignored--

R    CUDA.spec

Diff for working copy: .
Index: CUDA.spec
===================================================================

--- CUDA.spec	(revision 8d186578eedadd3fa44994008dc3660e)
+++ CUDA.spec	(working copy)
@@ -1,11 +1,29 @@
+#
+# spec file for package CUDA
+#
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via bumblebee.obs@gmail.com
+#
+
 %if 0%{?suse_version}  
 BuildRequires: kate fdupes libfakegpgpu
 %endif
 
-BuildRequires:chrpath
+BuildRequires: chrpath
+Requires:      libQtAssistantClient4
 Name:         CUDA
-License:      Redist
-Summary:      CUDA
+License:      GPL-2.0+
+Summary:      Cuda toolkit
 Version:      3.1
 Release:      1
 Group:        Development/Libraries/Other
@@ -38,13 +56,14 @@
 
 %package     devel
 Summary:      Headers for CUDA libs, including cuBLAS and cuFFT
-Requires:    CUDA-tools = %{version}-%{release}
+Requires:    libcublas3 = %{version}-%{release}
+Requires:    libcudart3 = %{version}-%{release}
+Requires:    libOpenCL.so.1.0.0
 %description  devel
 This Package Provides CUDA, CuBLAS and CuFFT Headers
 
 %package     tools
 Summary:     Provide NVCC
-Requires:    libcuda3-devel
 %description tools
 This package provides NVCC, the Nvidia compiler for C for CUDA.
 
@@ -62,8 +81,9 @@
 
 
 %package -n libOpenCL-devel
-Summary:      OpenCL lib
+Summary:    OpenCL lib
 Requires:   CUDA-tools = %{version}-%{release}
+Requires:   /usr/lib64/libOpenCL.so.1.0.0
 %description -n libOpenCL-devel
 This package provide a fake opencl lib
 
@@ -127,6 +147,7 @@
     install -m 644 -D $file %{buildroot}%{_libdir}/cuda/include
   done;
 popd
+
 pushd doc
   for file in `find * -type f`;do
     install  -m 644 -D $file %{buildroot}%{_docdir}/cuda
@@ -148,23 +169,28 @@
 chrpath --delete %{buildroot}%{_bindir}/computeprof
 %endif
 
-
 %post -n libcudart3
+/sbin/ldconfig
+
+%postun  -n libcudart3
+/sbin/ldconfig
+
+%post -n libcublas3
+/sbin/ldconfig
+
+%postun  -n libcublas3
+/sbin/ldconfig
+
+%post -n libcufft3
+/sbin/ldconfig
+
+%postun  -n libcufft3
+/sbin/ldconfig
+
+%post
 ldconfig
 
-%postun  -n libcudart3
-ldconfig
-
-%post -n libcublas3
-ldconfig
-
-%postun  -n libcublas3
-ldconfig
-
-%post -n libcufft3
-ldconfig
-
-%postun  -n libcufft3
+%postun
 ldconfig
Jonatas Gonçalves's avatar Jonatas Gonçalves (MaxxedSUSE) committed (revision 28)
- Fix libraries and packages links
Displaying revisions 1 - 20 of 33
openSUSE Build Service is sponsored by