File: planets.spec

package info (click to toggle)
planets 0.1.13-19
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 512 kB
  • sloc: ml: 4,541; makefile: 207; ansic: 38
file content (52 lines) | stat: -rw-r--r-- 1,243 bytes parent folder | download | duplicates (7)
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
47
48
49
50
51
52
Summary: A simple and fun planetary simulator
Name: planets
Version: 0.1.13
Release: 1
URL: http://planets.homedns.org
Source0: %{name}-%{version}.tgz
License: GPL
Group: Amusements/Games
BuildRoot: %{_tmppath}/%{name}-root

%description 
Planets is a simple interactive program for playing with
simulations of planetary systems.  The user interface is
aimed at being simple enough that a fairly young kid can get
some joy out of it.  But it's probably as much if not more
fun for adults.

%prep
%setup -q

%build
make all

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/usr/share/applications
mkdir -p $RPM_BUILD_ROOT/usr/share/applnk/Games
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
make PREFIX=$RPM_BUILD_ROOT/usr install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc KEYBINDINGS.txt LICENSE CHANGES BUGS CREDITS getting_started.html
/usr/bin/*
/usr/share/applications/*
/usr/share/applnk/Games/*
/usr/share/pixmaps/*
/usr/share/man/man1/*

%changelog
* Mon Apr 21 2003 Yaron M. Minsky <yminsky@cs.cornell.edu>
- modified spec file to use "make install"
* Mon Feb 25 2002 Yaron M. Minsky <yminsky@cs.cornell.edu>
- Initial build.