]> git.pld-linux.org Git - packages/gengameng.git/blob - gengameng.spec
fc0e801116bc6dad8125166339384b9a64958aaa
[packages/gengameng.git] / gengameng.spec
1 Summary:        A Generic Game Engine library for 2D double-buffering animation
2 Summary(pl):    Biblioteka ogólnego silnika gier z podwójnie buforowan± animacj± 2D
3 Name:           gengameng
4 Version:        4.1
5 Release:        3
6 License:        GPL
7 Group:          X11/Libraries
8 Source0:        http://www3.sympatico.ca/sarrazip/dev/%{name}-%{version}.tar.gz
9 # Source0-md5:  112322dbdc6684717cdfd7c61d225655
10 Patch0:         %{name}-config.patch
11 URL:            http://sarrazip.com/dev/burgerspace.html
12 BuildRequires:  SDL_image-devel
13 BuildRequires:  libstdc++-devel
14 Requires:       SDL >= 1.2.0
15 Requires:       SDL_image >= 1.2.0
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18
19 %description
20 Generic Game Engine library suitable for BurgerSpace and Cosmosmash.
21
22 %description -l pl
23 Biblioteka ogólnego silnika gier wykorzystana w grach BurgerSpace i
24 Cosmosmash.
25
26 %package devel
27 Summary:        C++ header files for the gengameng library
28 Summary(pl):    Pliki nag³ówkowe C++ dla biblioteki gengameng
29 Group:          X11/Development/Libraries
30 Requires:       %{name} = %{version}
31
32 %description devel
33 C++ header files for the Generic Game Engine ("gengameng") library
34 for 2D double-buffering animation.
35
36 %description devel -l pl
37 Pliki nag³ówkowe C++ dla biblioteki ogólnego silnika gier
38 ("gengameng") z podwójnie buforowan± animacj± 2D.
39
40 %package static
41 Summary:        Static gengameng library
42 Summary(pl):    Statyczna biblioteka gengameng
43 Group:          X11/Development/Libraries
44 Requires:       %{name}-devel = %{version}
45
46 %description static
47 Static gengameng library.
48
49 %description static -l pl
50 Statyczna biblioteka gengameng.
51
52 %prep
53 %setup -q
54 %patch0 -p1
55
56 %build
57 %configure \
58         --enable-static
59
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT \
67         aclocaldir=%{_aclocaldir}
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post   -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
74
75 %files
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_libdir}/libgengameng.so.*.*
78
79 %files devel
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_bindir}/gengameng-config
82 %attr(755,root,root) %{_libdir}/libgengameng.so
83 %{_libdir}/libgengameng.la
84 %{_includedir}/gengameng
85 %{_aclocaldir}/gengameng.m4
86
87 %files static
88 %defattr(644,root,root,755)
89 %{_libdir}/libgengameng.a
This page took 0.042977 seconds and 2 git commands to generate.