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