]>
Commit | Line | Data |
---|---|---|
59c15ec4 | 1 | Summary: A Generic Game Engine library for 2D double-buffering animation |
6bbeb08a | 2 | Summary(pl.UTF-8): Ogólny silnik gier z podwójnie buforowaną animacją 2D |
59c15ec4 | 3 | Name: flatzebra |
c4d4b8e1 | 4 | Version: 0.1.1 |
59c15ec4 JB |
5 | Release: 1 |
6 | License: GPL | |
7 | Group: Libraries | |
8 | Source0: http://www3.sympatico.ca/sarrazip/dev/%{name}-%{version}.tar.gz | |
c4d4b8e1 | 9 | # Source0-md5: c6c2002f9da4d4dca4934ce41c094965 |
59c15ec4 | 10 | Patch0: %{name}-link.patch |
c4d4b8e1 JW |
11 | BuildRequires: SDL-devel >= 1.2.7 |
12 | BuildRequires: SDL_image-devel >= 1.2.3 | |
13 | BuildRequires: SDL_mixer-devel >= 1.2.5 | |
59c15ec4 JB |
14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
16 | BuildRequires: libstdc++-devel | |
17 | BuildRequires: libtool | |
e41c8dc2 | 18 | BuildRequires: pkgconfig |
c4d4b8e1 JW |
19 | Requires: SDL >= 1.2.7 |
20 | Requires: SDL_image >= 1.2.3 | |
21 | Requires: SDL_mixer >= 1.2.5 | |
59c15ec4 JB |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
3e435800 ER |
25 | Generic Game Engine library suitable for BurgerSpace, Afternoon |
26 | Stalker and Cosmosmash. | |
59c15ec4 | 27 | |
6bbeb08a JR |
28 | %description -l fr.UTF-8 |
29 | Moteur de jeu générique utilisé par BurgerSpace, Afternoon Stalker et | |
3e435800 | 30 | Cosmosmash. |
59c15ec4 | 31 | |
6bbeb08a JR |
32 | %description -l pl.UTF-8 |
33 | Biblioteka ogólnego silnika gier służąca między innymi dla gier | |
59c15ec4 JB |
34 | BurgerSpace, Afternoon Stalker i Cosmosmash. |
35 | ||
36 | %package devel | |
37 | Summary: C++ header files for FlatZebra library | |
6bbeb08a JR |
38 | Summary(fr.UTF-8): En-têtes C++ pour la librairie FlatZebra |
39 | Summary(pl.UTF-8): Pliki nagłówkowe C++ biblioteki FlatZebra | |
59c15ec4 | 40 | Group: Development/Libraries |
3e435800 | 41 | Requires: %{name} = %{version}-%{release} |
59c15ec4 JB |
42 | Requires: SDL-devel >= 1.2.4 |
43 | Requires: SDL_image-devel >= 1.2.2 | |
44 | Requires: SDL_mixer-devel >= 1.2.4 | |
45 | Requires: libstdc++-devel | |
46 | ||
47 | %description devel | |
48 | C++ header files for FlatZebra library. | |
49 | ||
6bbeb08a JR |
50 | %description devel -l fr.UTF-8 |
51 | En-têtes C++ pour la librairie FlatZebra. | |
59c15ec4 | 52 | |
6bbeb08a JR |
53 | %description devel -l pl.UTF-8 |
54 | Pliki nagłówkowe C++ biblioteki FlatZebra. | |
59c15ec4 JB |
55 | |
56 | %package static | |
57 | Summary: Static FlatZebra library | |
6bbeb08a | 58 | Summary(pl.UTF-8): Statyczna biblioteka FlatZebra |
59c15ec4 | 59 | Group: Development/Libraries |
3e435800 | 60 | Requires: %{name}-devel = %{version}-%{release} |
59c15ec4 JB |
61 | |
62 | %description static | |
63 | Static FlatZebra library. | |
64 | ||
6bbeb08a | 65 | %description static -l pl.UTF-8 |
59c15ec4 JB |
66 | Statyczna biblioteka FlatZebra. |
67 | ||
68 | %prep | |
69 | %setup -q | |
32120c47 | 70 | %patch0 -p1 |
59c15ec4 JB |
71 | |
72 | %build | |
73 | # supplied libtool is broken (no C++ support) | |
74 | %{__libtoolize} | |
75 | %{__aclocal} -I macros | |
76 | %{__autoconf} | |
77 | %{__automake} | |
78 | %configure \ | |
79 | --enable-static | |
80 | ||
81 | %{__make} | |
82 | ||
83 | %install | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %{__make} install \ | |
87 | DESTDIR=$RPM_BUILD_ROOT | |
88 | ||
89 | %clean | |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | ||
92 | %post -p /sbin/ldconfig | |
93 | %postun -p /sbin/ldconfig | |
94 | ||
95 | %files | |
96 | %defattr(644,root,root,755) | |
97 | %doc AUTHORS NEWS README | |
98 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
99 | ||
100 | %files devel | |
101 | %defattr(644,root,root,755) | |
102 | %attr(755,root,root) %{_libdir}/lib*.so | |
103 | %{_libdir}/lib*.la | |
104 | %{_includedir}/* | |
105 | %{_pkgconfigdir}/*.pc | |
106 | ||
107 | %files static | |
108 | %defattr(644,root,root,755) | |
109 | %{_libdir}/lib*.a |