Source: libcudnn8-devel-8.9.7.29-1.cuda12.2.x86_64.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: 3c3c70351418 #BUILDTIME: Thu Nov 30 10:40:23 2023 #SOURCERPM: cudnn-8.9.7.29-1.cuda12.2.src.rpm #RPMVERSION: 4.16.1.3 #COOKIE: 3c3c70351418 1701333623 #OS: linux #SIZE: 1281193348 #ARCHIVESIZE: 1281196656 #ARCH: x86_64 #BuildArch: x86_64 Name: libcudnn8-devel Version: 8.9.7.29 Release: 2.cuda12.3 License: NVIDIA Proprietary Group: Unspecified Summary: cuDNN development libraries and headers URL: http://nvidia.com Provides: libcudnn8-devel = 8.9.7.29-1.cuda12.2 Provides: libcudnn8-devel(x86-64) = 8.9.7.29-1.cuda12.2 Requires(post): /bin/sh Requires(postun): /bin/sh Requires: libcudnn8 = 8.9.7.29 #Requires: rpmlib(CompressedFileNames) <= 3.0.4-1 #Requires: rpmlib(FileDigests) <= 4.6.0-1 #Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 %description cuDNN development libraries and headers. cuDNN provides primitives for deep neural networks. %files %attr(0644, root, root) "/usr/include/cudnn_adv_infer_v8.h" %attr(0644, root, root) "/usr/include/cudnn_adv_train_v8.h" %attr(0644, root, root) "/usr/include/cudnn_backend_v8.h" %attr(0644, root, root) "/usr/include/cudnn_cnn_infer_v8.h" %attr(0644, root, root) "/usr/include/cudnn_cnn_train_v8.h" %attr(0644, root, root) "/usr/include/cudnn_ops_infer_v8.h" %attr(0644, root, root) "/usr/include/cudnn_ops_train_v8.h" %attr(0644, root, root) "/usr/include/cudnn_v8.h" %attr(0644, root, root) "/usr/include/cudnn_version_v8.h" %post -p /bin/sh if [ -f /usr/sbin/update-alternatives ]; then /usr/sbin/update-alternatives \ --install /usr/include/cudnn.h libcudnn /usr/include/cudnn_v8.h \ 80 \ --slave /usr/include/cudnn_version.h libcudnn_version /usr/include/cudnn_version_v8.h \ --slave /usr/include/cudnn_backend.h libcudnn_backend /usr/include/cudnn_backend_v8.h \ --slave /usr/include/cudnn_ops_infer.h libcudnn_ops_infer /usr/include/cudnn_ops_infer_v8.h \ --slave /usr/include/cudnn_ops_train.h libcudnn_ops_train /usr/include/cudnn_ops_train_v8.h \ --slave /usr/include/cudnn_adv_infer.h libcudnn_adv_infer /usr/include/cudnn_adv_infer_v8.h \ --slave /usr/include/cudnn_adv_train.h libcudnn_adv_train /usr/include/cudnn_adv_train_v8.h \ --slave /usr/include/cudnn_cnn_infer.h libcudnn_cnn_infer /usr/include/cudnn_cnn_infer_v8.h \ --slave /usr/include/cudnn_cnn_train.h libcudnn_cnn_train /usr/include/cudnn_cnn_train_v8.h \ --slave /usr/lib64/libcudnn.so libcudnn_so /usr/lib64/libcudnn.so.8 \ --slave /usr/lib64/libcudnn_ops_infer.so libcudnn_ops_infer_so /usr/lib64/libcudnn_ops_infer.so.8 \ --slave /usr/lib64/libcudnn_ops_train.so libcudnn_ops_train_so /usr/lib64/libcudnn_ops_train.so.8 \ --slave /usr/lib64/libcudnn_adv_infer.so libcudnn_adv_infer_so /usr/lib64/libcudnn_adv_infer.so.8 \ --slave /usr/lib64/libcudnn_adv_train.so libcudnn_adv_train_so /usr/lib64/libcudnn_adv_train.so.8 \ --slave /usr/lib64/libcudnn_cnn_infer.so libcudnn_cnn_infer_so /usr/lib64/libcudnn_cnn_infer.so.8 \ --slave /usr/lib64/libcudnn_cnn_train.so libcudnn_cnn_train_so /usr/lib64/libcudnn_cnn_train.so.8 fi %postun -p /bin/sh if [ $1 -eq 0 ] && [ -f /usr/sbin/update-alternatives ]; then /usr/sbin/update-alternatives --remove libcudnn /usr/include/cudnn_v8.h fi %changelog * Wed Jul 08 2015 Andy Dick - Initial cuda RPM repackaging %package static Summary: cuDNN development libraries and headers %description static %install rm -rf %{buildroot} mkdir -p %{buildroot} tar -zxvf %{SOURCE0} -C %{buildroot}