]> git.pld-linux.org Git - packages/gengameng.git/blob - gengameng.spec
- reverted false libatomic_ops BR
[packages/gengameng.git] / gengameng.spec
1 Summary:        A Generic Game Engine library for 2D double-buffering animation
2 Summary(pl.UTF-8):      Biblioteka ogólnego silnika gier z podwójnie buforowaną animacją 2D
3 Name:           gengameng
4 Version:        4.1
5 Release:        4
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 Patch1:         %{name}-link.patch
12 Patch2:         %{name}-acfix.patch
13 URL:            http://sarrazip.com/dev/burgerspace.html
14 BuildRequires:  SDL-devel >= 1.2.0
15 BuildRequires:  SDL_image-devel >= 1.2.0
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  libstdc++-devel
19 BuildRequires:  libtool >= 2:1.4d
20 Requires:       SDL >= 1.2.0
21 Requires:       SDL_image >= 1.2.0
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Generic Game Engine library suitable for BurgerSpace and Cosmosmash.
26
27 %description -l pl.UTF-8
28 Biblioteka ogólnego silnika gier wykorzystana w grach BurgerSpace i
29 Cosmosmash.
30
31 %package devel
32 Summary:        C++ header files for the gengameng library
33 Summary(pl.UTF-8):      Pliki nagłówkowe C++ dla biblioteki gengameng
34 Group:          X11/Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36 Requires:       SDL-devel >= 1.2.0
37 Requires:       SDL_image-devel >= 1.2.0
38 Requires:       libstdc++-devel
39
40 %description devel
41 C++ header files for the Generic Game Engine ("gengameng") library
42 for 2D double-buffering animation.
43
44 %description devel -l pl.UTF-8
45 Pliki nagłówkowe C++ dla biblioteki ogólnego silnika gier
46 ("gengameng") z podwójnie buforowaną animacją 2D.
47
48 %package static
49 Summary:        Static gengameng library
50 Summary(pl.UTF-8):      Statyczna biblioteka gengameng
51 Group:          X11/Development/Libraries
52 Requires:       %{name}-devel = %{version}-%{release}
53
54 %description static
55 Static gengameng library.
56
57 %description static -l pl.UTF-8
58 Statyczna biblioteka gengameng.
59
60 %prep
61 %setup -q
62 %patch0 -p1
63 %patch1 -p1
64 %patch2 -p1
65
66 %build
67 # supplied libtool is broken (C++)
68 %{__libtoolize}
69 %{__aclocal} -I macros
70 %{__autoconf}
71 %{__automake}
72 %configure \
73         --enable-static
74
75 %{__make}
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT \
82         aclocaldir=%{_aclocaldir}
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %post   -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
89
90 %files
91 %defattr(644,root,root,755)
92 %doc AUTHORS NEWS README
93 %attr(755,root,root) %{_libdir}/libgengameng.so.*.*
94
95 %files devel
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_bindir}/gengameng-config
98 %attr(755,root,root) %{_libdir}/libgengameng.so
99 %{_libdir}/libgengameng.la
100 %{_includedir}/gengameng
101 %{_aclocaldir}/gengameng.m4
102
103 %files static
104 %defattr(644,root,root,755)
105 %{_libdir}/libgengameng.a
This page took 0.064948 seconds and 3 git commands to generate.