]> git.pld-linux.org Git - packages/gengameng.git/blob - gengameng.spec
dd8f43c067f43b64282ea235a8188ace8567d521
[packages/gengameng.git] / gengameng.spec
1 Summary:        A Generic Game Engine library for 2D double-buffering animation
2 Name:           gengameng
3 Version:        4.1
4 Release:        1
5 License:        GPL
6 Group:          X11/Libraries
7 Source0:        http://www3.sympatico.ca/sarrazip/dev/%{name}-%{version}.tar.gz
8 Patch0:         %{name}-config.patch
9 URL:            http://sarrazip.com/dev/burgerspace.html
10 BuildRequires:  SDL-devel
11 BuildRequires:  SDL_image-devel
12 BuildRequires:  nas-devel
13 Requires:       nas
14 Requires:       SDL >= 1.2.0
15 Requires:       SDL_image >= 1.2.0
16 PreReq:         /sbin/ldconfig
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _prefix /usr/X11R6
20
21 %description
22 Generic Game Engine library suitable for BurgerSpace and Cosmosmash.
23
24 %package devel
25 Summary:        C++ header files for the gengameng library
26 Group:          X11/Development/Libraries
27
28 %description devel
29 C++ header files for the Generic Game Engine ("gengameng") library
30 for 2D double-buffering animation.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35
36 %build
37 %configure
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 %{__make} DESTDIR=$RPM_BUILD_ROOT install
43 install -d $RPM_BUILD_ROOT/%{_aclocaldir}
44 mv $RPM_BUILD_ROOT/%{_datadir}/aclocal/* $RPM_BUILD_ROOT/%{_aclocaldir} 
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %post   -p /sbin/ldconfig
50 %postun -p /sbin/ldconfig
51
52 %files
53 %defattr(644,root,root,755)
54 %attr(755,root,root) %{_libdir}/libgengameng.*
55
56 %files devel
57 %defattr(644,root,root,755)
58 %attr(755,root,root) %{_bindir}/gengameng-config
59 %dir %{_includedir}/gengameng
60 %{_includedir}/gengameng/*
61 %{_aclocaldir}/gengameng.m4
This page took 0.678772 seconds and 2 git commands to generate.