1 |
Name: opengl-games-utils |
2 |
Version: 0.1 |
3 |
Release: 10%{?dist} |
4 |
Summary: Utilities to check proper 3d support before launching 3d games |
5 |
Group: Amusements/Games |
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 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
12 |
BuildArch: noarch |
13 |
Requires: zenity glx-utils |
14 |
|
15 |
%description |
16 |
This package contains various shell scripts which are intented for use by |
17 |
3D games packages. These shell scripts can be used to check if direct rendering |
18 |
is available before launching an OpenGL game. This package is intended for use |
19 |
by other packages and is not intended for direct end user use! |
20 |
|
21 |
|
22 |
%prep |
23 |
%setup -c -T |
24 |
cp %{SOURCE2} . |
25 |
|
26 |
|
27 |
%build |
28 |
# nothing to build |
29 |
|
30 |
|
31 |
%install |
32 |
rm -rf $RPM_BUILD_ROOT |
33 |
mkdir -p $RPM_BUILD_ROOT%{_bindir} |
34 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name} |
35 |
install -p -m 755 %{SOURCE0} $RPM_BUILD_ROOT%{_bindir} |
36 |
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/%{name} |
37 |
|
38 |
|
39 |
%clean |
40 |
rm -rf $RPM_BUILD_ROOT |
41 |
|
42 |
|
43 |
%files |
44 |
%defattr(-,root,root,-) |
45 |
%doc README |
46 |
%{_bindir}/opengl-game-wrapper.sh |
47 |
%{_datadir}/%{name} |
48 |
|
49 |
|