File: lightspeed.spec

package info (click to toggle)
lightspeed 1.2-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,052 kB
  • ctags: 1,193
  • sloc: ansic: 11,604; sh: 327; makefile: 205; sed: 93
file content (46 lines) | stat: -rw-r--r-- 1,295 bytes parent folder | download | duplicates (2)
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
39
40
41
42
43
44
45
46
%define ver 1.2
%define rel 1
%define prefix /usr/X11R6

Summary: Light Speed! - an interactive relativistic simulator
Name: lightspeed
Version: %ver
Release: %rel
Copyright: MozPL
Group: X11/Amusements
Source: http://fox.mit.edu/skunk/soft/src/lightspeed-%ver.tar.gz
URL: http://fox.mit.edu/skunk/soft/lightspeed/
Requires: gtk+ >= 1.0.1
BuildRoot: /tmp/lightspeed-root

%description
Light Speed! is an OpenGL-based program which illustrates the effects of
special relativity on the appearance of moving objects. When an object
accelerates past a few million meters per second, these effects begin to
grow noticeable, becoming more and more pronounced as the speed of light
is approached. These relativistic effects are viewpoint-dependent, and
include shifts in length, object hue, brightness and shape.

The moving object is, by default, a geometric lattice. 3D Studio and
LightWave 3D objects may be imported as well. Best of all, the simulator
is completely interactive, rendering the exotic distortions in real-time!

%prep

%setup

%build
./configure --prefix=$RPM_BUILD_ROOT%{prefix}
make

%install
rm -rf $RPM_BUILD_ROOT
make install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS CONTROLS COPYING ChangeLog MATH OVERVIEW README TODO
%{prefix}/bin/lightspeed