File: gengameng.spec

package info (click to toggle)
gengameng 4.1-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,468 kB
  • ctags: 177
  • sloc: sh: 8,342; cpp: 935; makefile: 110
file content (49 lines) | stat: -rw-r--r-- 1,120 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
47
48
49
# Spec file for gengameng and gengameng-devel

Summary: A Generic Game Engine library for 2D double-buffering animation
Name: gengameng
Version: 4.1
Release: 1
Copyright: GPL
Group: Amusements/Games
Source: %{name}-%{version}.tar.gz
URL: http://sarrazip.com/dev/burgerspace.html
Packager: Pierre Sarrazin
Prefix: /usr
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: SDL >= 1.2.0, SDL_image >= 1.2.0

%description
Generic Game Engine library suitable for BurgerSpace and Cosmosmash.

%package devel
Summary: C++ header files for the gengameng library
Group: Development/Libraries

%description devel
C++ header files for the Generic Game Engine ("gengameng") library
for 2D double-buffering animation.


%prep
%setup

%build
./configure --prefix=%{prefix} --disable-static && make CXXFLAGS="-DNDEBUG -O2"

%install
rm -fR $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -fR $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%{prefix}/lib/libgengameng.*

%files devel
%defattr(-, root, root)
%{prefix}/include/gengameng
%{prefix}/bin/gengameng-config
%{prefix}/share/aclocal/gengameng.m4