Automatic import for version 0.7.0-1

This commit is contained in:
Rosa 2017-08-22 02:47:07 +03:00
commit 0a0373d963
5 changed files with 76 additions and 0 deletions

2
.abf.yml Normal file
View file

@ -0,0 +1,2 @@
sources:
"GpuTest_Linux_x64_0.7.0.zip": 1fe19e066f2b9241890d4a4e0dc168744f66bf46

1
gputest Normal file
View file

@ -0,0 +1 @@
#!/bin/bash

12
gputest.desktop Normal file
View file

@ -0,0 +1,12 @@
[Desktop Entry]
Type=Application
Name=GpuTest
Name[ru]=GpuTest
Comment=Geeks3D GpuTest
Comment[ru]=Geeks3D GpuTest
Exec=gputest
Icon=gputest
StartupNotify=false
Terminal=false
Categories=Monitor;
Name[ru_RU]=GpuTest

BIN
gputest.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

61
gputest.spec Normal file
View file

@ -0,0 +1,61 @@
# Debug is empty here
%define _enable_debug_packages %{nil}
%define debug_package %{nil}
%define oname GpuTest
Summary: Test Gpu Linux 64-bit
Name: gputest
Version: 0.7.0
Release: 1
License: Proprietary
Group: Monitoring
Url: http://www.geeks3d.com
Source0: http://www.geeks3d.com/dl/show/392/%{oname}_Linux_x64_%{version}.zip
Source1: %{name}.desktop
Source2: %{name}.png
Source3: %{name}
Requires: tkinter
ExclusiveArch: x86_64
%description
Geeks3D %{summary}
%files
%doc EULA.txt README.txt
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_bindir}/%{name}
%{_datadir}/%{name}/*
#----------------------------------------------------------------------------
%prep
%setup -qn %{oname}_Linux_x64_%{version}
%build
# Nothing to build yet
%install
# install files
mkdir -p %{buildroot}%{_datadir}/%{name}/
install -m755 %{oname} %{name}_gui.py *.sh %{buildroot}%{_datadir}/%{name}/
install -m644 *.csv *.so %{buildroot}%{_datadir}/%{name}/
mkdir -p %{buildroot}%{_datadir}/%{name}/data/
install -m644 data/* *.csv %{buildroot}%{_datadir}/%{name}/data/
# desktop file
mkdir -p %{buildroot}%{_datadir}/applications
install -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications/
# icon file
mkdir -p %{buildroot}%{_datadir}/pixmaps
install -m644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/
mkdir -p %{buildroot}%{_bindir}/
install -m755 %{SOURCE3} %{buildroot}%{_bindir}/
echo "cd "%{_datadir}/%{name} >> %{buildroot}%{_bindir}/%{name}
echo "python gputest_gui.py" >> %{buildroot}%{_bindir}/%{name}
%changelog