1 Summary: The Allegro game programming library GL backend
2 Summary(pl.UTF-8): Wsparcie GL dla biblioteki do programowania gier Allegro
6 License: GPL v2 or zlib
8 Source0: http://dl.sourceforge.net/allegrogl/alleggl-%{version}.tar.bz2
9 # Source0-md5: de84c6ab982499501940854893ea0dbd
10 Patch0: %{name}-mouse.patch
11 Patch1: %{name}-link.patch
12 Patch2: %{name}-libpthread.patch
13 URL: http://allegrogl.sourceforge.net/
14 BuildRequires: OpenGL-GLU-devel
15 BuildRequires: allegro-devel >= 4.3.1
16 BuildRequires: autoconf >= 2.53
17 BuildRequires: automake
18 Requires: allegro >= 4.3.1
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define specflags -fomit-frame-pointer
24 AllegroGL is a cross-platform GL backend for the Allegro library.
26 %description -l pl.UTF-8
27 AllegroGL jest przenośną biblioteką dodającą wsparcie GL
28 w aplikacjach używających biblioteki Allegro.
31 Summary: A game programming library - header files
32 Summary(pl.UTF-8): Biblioteka do programowania gier - pliki nagłówkowe
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
35 Requires: allegro-devel >= 4.3.1
38 AllegroGL is a cross-platform GL backend for the Allegro library.
40 This package contains header files neccessary for compiling
41 applications using AllegroGL library.
43 %description devel -l pl.UTF-8
44 AllegroGL jest przenośną biblioteką dodającą wsparcie GL
45 w aplikacjach używających biblioteki Allegro.
47 Ten pakiet zawiera pliki nagłówkowe niezbędne do kompilowania
48 aplikacji wykorzystujących bibliotekę AllegroGL.
68 CFLAGS="%{rpmcflags} -Wall -ffast-math"
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/allegrogl/GLext}
74 install include/alleggl*.h $RPM_BUILD_ROOT%{_includedir}
75 install include/allegrogl/*.h $RPM_BUILD_ROOT%{_includedir}/allegrogl
76 install include/allegrogl/GLext/*.h $RPM_BUILD_ROOT%{_includedir}/allegrogl/GLext
77 install lib/unix/libagl.so $RPM_BUILD_ROOT%{_libdir}
80 rm -rf $RPM_BUILD_ROOT
82 %post -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
86 %defattr(644,root,root,755)
87 %doc bugs.txt readme.txt todo.txt zlib.txt
88 %attr(755,root,root) %{_libdir}/libagl.so
91 %defattr(644,root,root,755)
93 %{_includedir}/alleggl*.h
94 %{_includedir}/allegrogl