-
Notifications
You must be signed in to change notification settings - Fork 0
/
nobara-amdgpu-config.spec
38 lines (31 loc) · 1.28 KB
/
nobara-amdgpu-config.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Name: nobara-amdgpu-config
Version: 2.0
Release: 0%{?dist}
License: GPLv2
Group: System Environment/Libraries
Summary: GUI Installer for amdgpu-pro stack in fedora / nobara
URL: https://github.com/CosmicFusion/nobara-amdgpu-config
Source0: %{name}-%{version}.tar.gz
BuildRequires: wget
Requires: /usr/bin/bash
Requires: /usr/bin/rpmbuild
Requires: fedora-packager
Requires: rpmdevtools
Requires: mock
Requires: zenity
%install
tar -xf %{SOURCE0}
mv usr %{buildroot}/
mv etc %{buildroot}/
mkdir -p %{buildroot}/usr/share/licenses/nobara-amdgpu-config
wget https://raw.githubusercontent.com/CosmicFusion/nobara-amdgpu-config/main/LICENSE.md -O %{buildroot}/usr/share/licenses/nobara-amdgpu-config/LICENSE
%description
GUI Installer for amdgpu-pro stack in fedora / nobara
%files
%attr(0755, root, root) "/etc/nobara/scripts/amdgpu-build.sh"
%attr(0755, root, root) "/etc/nobara/scripts/amdgpu-modify.sh"
%attr(0755, root, root) "/etc/nobara/scripts/amdgpu-remove.sh"
%attr(0755, root, root) "/etc/nobara/scripts/nobara-amdgpu-config.ui"
%attr(0644, root, root) "/etc/nobara/scripts/nobara-amdgpu-config.py"
%attr(0755, root, root) "/usr/bin/nobara-amdgpu-config"
%attr(0644, root, root) "/usr/share/licenses/nobara-amdgpu-config/LICENSE"