File: codebreaker.spec

package info (click to toggle)
codebreaker 1.2.1-5.3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 264 kB
  • ctags: 102
  • sloc: ansic: 1,217; makefile: 70; sh: 5
file content (35 lines) | stat: -rw-r--r-- 702 bytes parent folder | download | duplicates (4)
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
%define name codebreaker
%define version 1.2.1
%define release 1
%define prefix /usr/local
%define cflags "-O3 -ffast-math -fomit-frame-pointer"

Summary: A GTK+ MasterMind (R).
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: GPL
Group: X11/Games
Source: %{name}-%{version}.tar.gz

%description
Code Breaker is a variation on the game "MasterMind" (R),
that is put out by Pressman (R). So if you know how to
play "MasterMind" (R), you should catch onto this game
right away.

%prep
%setup

%build
CFLAGS=%{cflags} configure --prefix=%{prefix}
make

%install
make install
strip %{prefix}/bin/%{name}

%files
%defattr (-,root,root)
%{prefix}/doc/%{name}-%{version}
%{prefix}/bin/%{name}