mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-04 19:02:19 +00:00
41 lines
1.1 KiB
RPMSpec
41 lines
1.1 KiB
RPMSpec
%global real_name cuda_profiler_api
|
|
|
|
%global debug_package %{nil}
|
|
%global major_package_version 12-6
|
|
|
|
Name: cuda-profiler
|
|
Epoch: 1
|
|
Version: 13.1.115
|
|
Release: 1%?dist
|
|
Summary: CUDA Profiler API
|
|
License: CUDA Toolkit
|
|
URL: https://developer.nvidia.com/cuda-toolkit
|
|
BuildArch: noarch
|
|
|
|
# Different tarballs per architecture but they all contain the same headers:
|
|
Source0: https://developer.download.nvidia.com/compute/cuda/redist/%{real_name}/linux-x86_64/%{real_name}-linux-x86_64-%{version}-archive.tar.xz
|
|
|
|
%description
|
|
NVIDIA CUDA API for profiling.
|
|
|
|
%package devel
|
|
Summary: Development files for CUDA Profiler API
|
|
Conflicts: %{real_name}-%{major_package_version} < %{?epoch:%{epoch}:}%{version}
|
|
|
|
%description devel
|
|
This package provides development files for the CUDA Profiler API.
|
|
|
|
%prep
|
|
%autosetup -n %{real_name}-linux-x86_64-%{version}-archive
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{_includedir}
|
|
cp -f include/* %{buildroot}%{_includedir}/
|
|
|
|
%files devel
|
|
%license LICENSE
|
|
%{_includedir}/*
|
|
|
|
%changelog
|
|
%autochangelog
|