1 Summary: The Allegro game programming library GL backend
2 Summary(pl.UTF-8): Wsparcie GL dla biblioteki do programowania gier Allegro
8 Source0: http://dl.sourceforge.net/allegrogl/alleggl-%{version}.tar.bz2
9 # Source0-md5: b08cd58b37e1d3185c13d997a179ddc0
10 Patch0: %{name}-mouse.patch
11 Patch1: %{name}-link.patch
12 URL: http://allegrogl.sourceforge.net/
13 BuildRequires: OpenGL-GLU-devel
14 BuildRequires: allegro-devel >= 4.3.1
15 BuildRequires: autoconf >= 2.53
16 BuildRequires: automake
17 Requires: allegro >= 4.3.1
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define specflags -fomit-frame-pointer
23 AllegroGL is a cross-platform GL backend for the Allegro library.
25 %description -l pl.UTF-8
26 AllegroGL jest przenośną biblioteką dodającą wsparcie GL
27 w aplikacjach używających biblioteki Allegro.
30 Summary: A game programming library - header files
31 Summary(pl.UTF-8): Biblioteka do programowania gier - pliki nagłówkowe
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
34 Requires: allegro-devel >= 4.3.1
37 AllegroGL is a cross-platform GL backend for the Allegro library.
39 This package contains header files neccessary for compiling
40 applications using AllegroGL library.
42 %description devel -l pl.UTF-8
43 AllegroGL jest przenośną biblioteką dodającą wsparcie GL
44 w aplikacjach używających biblioteki Allegro.
46 Ten pakiet zawiera pliki nagłówkowe niezbędne do kompilowania
47 aplikacji wykorzystujących bibliotekę AllegroGL.
66 CFLAGS="%{rpmcflags} -Wall -ffast-math"
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}{,/allegrogl{,/GLext}}}
72 install include/*.h $RPM_BUILD_ROOT%{_includedir}
73 install include/allegrogl/*.h $RPM_BUILD_ROOT%{_includedir}/allegrogl
74 install include/allegrogl/GLext/*.h $RPM_BUILD_ROOT%{_includedir}/allegrogl/GLext
75 install lib/unix/libagl.so $RPM_BUILD_ROOT%{_libdir}
78 rm -rf $RPM_BUILD_ROOT
80 %post -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
84 %defattr(644,root,root,755)
85 %doc readme.txt todo.txt bugs.txt
86 %attr(755,root,root) %{_libdir}/libagl.so
89 %defattr(644,root,root,755)