File cuda-nvcc-11-8.spec of Package cuda-nvcc-11-8

#
# spec file for package cuda-nvcc
#
# Copyright (c) 2023 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#


Name:           cuda-nvcc-11-8
Version:        11.8
Release:        1.0
Summary:        Cuda nvcc of NVIDIA cuda sdk
License:        PROPRIETARY
Group:          Development/Libraries/C and C++
URL:            https://www.nvidia.com
Source:         cuda-nvcc-%{version}.tar.gz

%description
This package contains the NVIDIA cuda sdk compiler required for FFmpeg to build
NVIDIA codec support.

%prep
%setup -q -n cuda-nvcc-%{version}

%build

%install
mkdir -p %{buildroot}/usr/local
mkdir -p %{buildroot}/usr/share/licenses/cuda-nvcc-%{version}
cp -r cuda-11.8 %{buildroot}/usr/local
rm %{buildroot}/usr/local/cuda-11.8/LICENSE
cp cuda-11.8/LICENSE %{buildroot}/usr/share/licenses/cuda-nvcc-%{version}

%files
/usr/local/cuda-11.8
/usr/share/licenses/cuda-nvcc-%{version}

%changelog
* Fri Jan 19 2024 Olaf Bechler <olaf.bechler@posteo.de>
- Create Package
openSUSE Build Service is sponsored by