]> git.pld-linux.org Git - packages/gengameng.git/blob - gengameng.spec
- finished.
[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_image-devel
11 BuildRequires:  libstdc++-devel
12 PreReq:         /sbin/ldconfig
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _prefix /usr/X11R6
16
17 %description
18 Generic Game Engine library suitable for BurgerSpace and Cosmosmash.
19
20 %package devel
21 Summary:        C++ header files for the gengameng library
22 Group:          X11/Development/Libraries
23 Requires:       %{name} = %version}
24
25 %description devel
26 C++ header files for the Generic Game Engine ("gengameng") library
27 for 2D double-buffering animation.
28
29 %package static
30 Summary:        Static gengameng library
31 Group:          X11/Development/Libraries
32 Requires:       %{name}-devel = %version}
33
34 %description static
35 Static gengameng library.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40
41 %build
42 %configure \
43         --enable-static
44
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT \
52         aclocaldir=%{_aclocaldir}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post   -p /sbin/ldconfig
58 %postun -p /sbin/ldconfig
59
60 %files
61 %defattr(644,root,root,755)
62 %attr(755,root,root) %{_libdir}/libgengameng.so.*.*
63
64 %files devel
65 %defattr(644,root,root,755)
66 %attr(755,root,root) %{_bindir}/gengameng-config
67 %attr(755,root,root) %{_libdir}/libgengameng.so
68 %attr(755,root,root) %{_libdir}/libgengameng.la
69 %{_includedir}/gengameng
70 %{_aclocaldir}/gengameng.m4
71
72 %files static
73 %defattr(644,root,root,755)
74 %{_libdir}/libgengameng.a
This page took 0.078874 seconds and 3 git commands to generate.