Source: libcusparse-12-3-12.2.0.103-1.aarch64.rpm.tgz
# rpmrebuild autogenerated specfile

%define defaultbuildroot /
AutoProv: no
%undefine __find_provides
AutoReq: no
%undefine __find_requires
# Do not try autogenerate prereq/conflicts/obsoletes and check files
%undefine __check_files
%undefine __find_prereq
%undefine __find_conflicts
%undefine __find_obsoletes
# Be sure buildpolicy set to do nothing
%define __spec_install_post %{nil}
# Something that need for rpm-4.1
%define _missing_doc_files_terminate_build 0
#dummy
#dummy
#BUILDHOST:    cia-tf-rocky9-agent-2.client.nvidia.com
#BUILDTIME:    Tue Oct 31 12:10:37 2023
#SOURCERPM:    libcusparse-12-3-12.2.0.103-1.src.rpm

#RPMVERSION:   4.16.1.3
#COOKIE:       cia-tf-rocky9-agent-2.client.nvidia.com 1698747037


#OS:           linux
#SIZE:           264041913
#ARCHIVESIZE:           264043428
#ARCH:         aarch64
#BuildArch:     aarch64
Name:          libcusparse-12-3
Version:       12.2.0.103
Release:       2
License:       NVIDIA Proprietary 
Group:         Unspecified
Summary:       CUSPARSE native runtime libraries


URL:           http://nvidia.com







Provides:      libcusparse-12-3 = 12.2.0.103-1
Provides:      libcusparse-12-3(aarch-64) = 12.2.0.103-1
Provides:      libcusparse.so.12()(64bit)  
Provides:      libcusparse.so.12(libcusparse.so.12)(64bit)  
Requires(post): /sbin/ldconfig  
Requires(postun): /sbin/ldconfig  
Requires:      cuda-toolkit-12-3-config-common  
Requires:      cuda-toolkit-12-config-common  
Requires:      cuda-toolkit-config-common  
#Requires:      rpmlib(CompressedFileNames) <= 3.0.4-1
#Requires:      rpmlib(FileDigests) <= 4.6.0-1
#Requires:      rpmlib(PayloadFilesHavePrefix) <= 4.0-1





%description
CUSPARSE native runtime libraries
%files
%attr(0777, root, root) "/usr/local/cuda-12.3/lib64"
%attr(0777, root, root) "/usr/local/cuda-12.3/targets/sbsa-linux/lib/libcusparse.so.12"
%attr(0755, root, root) "/usr/local/cuda-12.3/targets/sbsa-linux/lib/libcusparse.so.12.2.0.103"
%attr(0644, root, root) "/usr/share/licenses/libcusparse-12-3/LICENSE"




%post -p /sbin/ldconfig



%postun -p /sbin/ldconfig

%changelog

* Wed Jul 08 2015 Andy Dick
- Initial cuda RPM repackaging


%package static
Summary:       CUSPARSE native runtime libraries
%description static

%install
rm -rf %{buildroot}
mkdir -p  %{buildroot}
tar -zxvf %{SOURCE0} -C %{buildroot}