File nvidia-prime.spec of Package nvidia-prime

#
# spec file for package nvidia-prime
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2022 Tejas Guruswamy <tejas.guruswamy@opensuse.org>
#
# 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/
#

%define pkgname nvidia-prime
%define pkgver 1.0
%define pkgrel 4

Name:           %{pkgname}
Version:        %{pkgver}
Release:        %{pkgrel}
Summary:        NVIDIA Prime Render Offload configuration and utilities
License:        MIT
Group:          System/X11/Utilities
URL:            https://www.archlinux.org/packages/extra/any/nvidia-prime/
Source0:        prime-run
BuildArch:      noarch
#md5sums: 3d377404ef87df6e18ea3b149ba1110b
#sha512sums: d9158ddee6ec105796d86ac42b32c6c925cfa866d5e25c64d5a29be47fe393ace0efb4ef8a3e7cff699abc599d28ee46866dcbfdfd1920122e426ee262c562e6

%description
NVIDIA Prime Render Offload configuration and utilities.

%prep
# Nothing to do

%build
# Nothing to do

%install
install -Dm755 %{SOURCE0} %{buildroot}%{_bindir}/prime-run

%files
%{_bindir}/prime-run

%changelog
openSUSE Build Service is sponsored by