]> git.pld-linux.org Git - packages/flatzebra.git/blob - flatzebra.spec
- strict internal deps
[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 BuildRequires:  pkgconfig
19 Requires:       SDL >= 1.2.7
20 Requires:       SDL_image >= 1.2.3
21 Requires:       SDL_mixer >= 1.2.5
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Generic Game Engine library suitable for BurgerSpace, Afternoon
26 Stalker and Cosmosmash.
27
28 %description -l fr
29 Moteur de jeu générique utilisé par BurgerSpace, Afternoon Stalker et
30 Cosmosmash.
31
32 %description -l pl
33 Biblioteka ogólnego silnika gier s³u¿±ca miêdzy innymi dla gier
34 BurgerSpace, Afternoon Stalker i Cosmosmash.
35
36 %package devel
37 Summary:        C++ header files for FlatZebra library
38 Summary(fr):    En-têtes C++ pour la librairie FlatZebra
39 Summary(pl):    Pliki nag³ówkowe C++ biblioteki FlatZebra
40 Group:          Development/Libraries
41 Requires:       %{name} = %{version}-%{release}
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
50 %description devel -l fr
51 En-têtes C++ pour la librairie FlatZebra.
52
53 %description devel -l pl
54 Pliki nag³ówkowe C++ biblioteki FlatZebra.
55
56 %package static
57 Summary:        Static FlatZebra library
58 Summary(pl):    Statyczna biblioteka FlatZebra
59 Group:          Development/Libraries
60 Requires:       %{name}-devel = %{version}-%{release}
61
62 %description static
63 Static FlatZebra library.
64
65 %description static -l pl
66 Statyczna biblioteka FlatZebra.
67
68 %prep
69 %setup -q
70 %patch0 -p1
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
This page took 0.107947 seconds and 3 git commands to generate.