1 |
Name: opengl-games-utils |
2 |
Version: 0.1 |
3 |
Release: %mkrel 3 |
4 |
Summary: Utilities to check proper 3d support before launching 3d games |
5 |
Group: Graphics |
6 |
License: Public Domain |
7 |
URL: http://fedoraproject.org/wiki/SIGs/Games |
8 |
Source0: opengl-game-wrapper.sh |
9 |
Source1: opengl-game-functions.sh |
10 |
Source2: README |
11 |
BuildArch: noarch |
12 |
Requires: zenity glxinfo |
13 |
|
14 |
%description |
15 |
This package contains various shell scripts which are intented for use by |
16 |
3D games packages. These shell scripts can be used to check if direct rendering |
17 |
is available before launching an OpenGL game. This package is intended for use |
18 |
by other packages and is not intended for direct end user use! |
19 |
|
20 |
%prep |
21 |
%setup -c -T |
22 |
cp %{SOURCE2} . |
23 |
|
24 |
%build |
25 |
# nothing to build |
26 |
|
27 |
%install |
28 |
rm -rf %{buildroot} |
29 |
mkdir -p %{buildroot}%{_bindir} |
30 |
mkdir -p %{buildroot}%{_datadir}/%{name} |
31 |
install -p -m 755 %{SOURCE0} %{buildroot}%{_bindir} |
32 |
install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/%{name} |
33 |
|
34 |
%clean |
35 |
rm -rf %{buildroot} |
36 |
|
37 |
%files |
38 |
%defattr(-,root,root,-) |
39 |
%doc README |
40 |
%{_bindir}/opengl-game-wrapper.sh |
41 |
%{_datadir}/%{name} |