Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
000release-packages
sle-module-NVIDIA-compute-release.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sle-module-NVIDIA-compute-release.spec of Package 000release-packages
# # spec file for package SLE_HPC-ESPOS # # Copyright (c) 2018 SUSE LINUX 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 http://bugs.opensuse.org/ # %define PRODUCT sle-module-NVIDIA-compute Name: %{PRODUCT}-release Summary: NVIDIA Compute Module License: MIT Group: System/Fhs Version: 15 Release: 0 Provides: %name-%version Provides: product() = %PRODUCT Provides: %name-%version Provides: product() = sle-module-NVIDIA-compute Provides: product(sle-module-NVIDIA-compute) = 15-0 %ifarch x86_64 Provides: product-register-target() = sle%2D15%2Dx86_64 %endif Provides: product-label() = NVIDIA%2DCompute%2DModule Provides: product-cpeid() = cpe%3A%2Fo%3Asuse%3Asle%2Dmodule%2Dnvidia%2Dcompute%3A15 Provides: product-url(EULA) = http%3A%2F%2Fdocs.nvidia.com%2Fcuda%2Feula%2Findex.html %ifarch x86_64 Provides: product-updates-repoid() = obsrepository%3A%2F%2Fbuild.suse.de%2FSUSE%3AUpdates%3ASLE%2DModule%2DNVIDIA%2DCompute%3A15%3Ax86_64%2Fupdate %endif %ifarch x86_64 Provides: product-updates-repoid() = obsrepository%3A%2F%2Fbuild.suse.de%2FSUSE%3AUpdates%3ASLE%2DModule%2DNVIDIA%2DCompute%3A15%3Ax86_64%2Fupdate_debug %endif Provides: product-endoflife() Requires: product(SUSE_SLE) >= 15 BuildRoot: %{_tmppath}/%{name}-%{version}-build # this package should only be available for the "basearchs" of a product ExclusiveArch: x86_64 %description NVIDIA Compute Drivers - NVIDIA CUDA This Module contains software under the terms and conditions of a 3rd party EULA (End User License Agreement). The EULA can be found at http://docs.nvidia.com/cuda/eula/index.html. By using this software you agree to fully comply with the terms and conditions of the EULA. If you do not agree to the terms and conditions of the EULA, do not use the software. %prep %build %install mkdir -p $RPM_BUILD_ROOT/etc/products.d # Setup rpm macros mkdir -p $RPM_BUILD_ROOT/etc/rpm/ mkdir -p $RPM_BUILD_ROOT/etc/products.d cat >$RPM_BUILD_ROOT/etc/products.d/sle-module-NVIDIA-compute.prod << EOF <?xml version="1.0" encoding="UTF-8"?> <product schemeversion="0"> <vendor>SUSE</vendor> <name>sle-module-NVIDIA-compute</name> <version>15</version> <baseversion>15</baseversion> <patchlevel>0</patchlevel> <release>0</release> <endoflife></endoflife> <arch>%{_target_cpu}</arch> <cpeid>cpe:/o:suse:sle-module-nvidia-compute:15</cpeid> <productline>sle-module-NVIDIA-compute</productline> <register> %ifarch x86_64 <target>sle-15-x86_64</target> %endif <flavor>module</flavor> </register> <repositories> %ifarch x86_64 <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-NVIDIA-Compute:15:x86_64/update" /> %endif %ifarch x86_64 <repository type="update" repoid="obsrepository://build.suse.de/SUSE:Updates:SLE-Module-NVIDIA-Compute:15:x86_64/update_debug" /> %endif %ifarch x86_64 <repository type="pool" repoid="obsproduct://build.suse.de/SUSE:Products:SLE-Module-NVIDIA-Compute:15:x86_64/sle-module-NVIDIA-compute/15/%{_target_cpu}" /> %endif %ifarch x86_64 <repository type="pool" repoid="obsproduct://build.suse.de/SUSE:Products:SLE-Module-NVIDIA-Compute:15:x86_64/sle-module-NVIDIA-compute/15/%{_target_cpu}" /> %endif %ifarch x86_64 <repository type="pool" repoid="obsproduct://build.suse.de/SUSE:Products:SLE-Module-NVIDIA-Compute:15:x86_64/sle-module-NVIDIA-compute/15/%{_target_cpu}" /> %endif </repositories> <summary>NVIDIA Compute Module</summary> <shortsummary>NVIDIA-Compute-Module</shortsummary> <description>NVIDIA Compute Drivers - NVIDIA CUDA This Module contains software under the terms and conditions of a 3rd party EULA (End User License Agreement). The EULA can be found at http://docs.nvidia.com/cuda/eula/index.html. By using this software you agree to fully comply with the terms and conditions of the EULA. If you do not agree to the terms and conditions of the EULA, do not use the software.</description> <urls> <url name="EULA">http://docs.nvidia.com/cuda/eula/index.html</url> </urls> <buildconfig> <producttheme>SLES</producttheme> </buildconfig> <installconfig> <defaultlang>en_US</defaultlang> <releasepackage name="%{name}" flag="EQ" version="%{version}" release="%{release}"/> <distribution>SUSE_SLE</distribution> </installconfig> <runtimeconfig/> <productdependency relationship="requires" name="SUSE_SLE" baseversion="15" patchlevel="0" flag="GE"/> </product> EOF %files %defattr(644,root,root,755) %dir /etc/products.d /etc/products.d/*.prod %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor