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: 43e5d123fa5c78ade8e9b486b4102998
10 URL: http://allegrogl.sourceforge.net/
11 BuildRequires: OpenGL-GLU-devel
12 BuildRequires: allegro-devel >= 4.0.0
13 BuildRequires: autoconf >= 2.53
14 BuildRequires: automake
15 Requires: allegro >= 4.0.0
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define specflags -fomit-frame-pointer
21 AllegroGL is a cross-platform GL backend for the Allegro library.
23 %description -l pl.UTF-8
24 AllegroGL jest przenośną biblioteką dodającą wsparcie GL
25 w aplikacjach używających biblioteki Allegro.
28 Summary: A game programming library - header files
29 Summary(pl.UTF-8): Biblioteka do programowania gier - pliki nagłówkowe
30 Group: Development/Libraries
31 Requires: %{name} = %{version}-%{release}
32 Requires: allegro-devel >= 4.0.0
35 AllegroGL is a cross-platform GL backend for the Allegro library.
37 This package contains header files neccessary for compiling
38 applications using AllegroGL library.
40 %description devel -l pl.UTF-8
41 AllegroGL jest przenośną biblioteką dodającą wsparcie GL
42 w aplikacjach używających biblioteki Allegro.
44 Ten pakiet zawiera pliki nagłówkowe niezbędne do kompilowania
45 aplikacji wykorzystujących bibliotekę AllegroGL.
62 CFLAGS="%{rpmcflags} -Wall -ffast-math"
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}{,/allegrogl{,/GLext}}}
68 install include/*.h $RPM_BUILD_ROOT%{_includedir}
69 install include/allegrogl/*.h $RPM_BUILD_ROOT%{_includedir}/allegrogl
70 install include/allegrogl/GLext/*.h $RPM_BUILD_ROOT%{_includedir}/allegrogl/GLext
71 install lib/unix/libagl.so $RPM_BUILD_ROOT%{_libdir}
74 rm -rf $RPM_BUILD_ROOT
76 %post -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
80 %defattr(644,root,root,755)
81 %doc readme.txt todo.txt bugs.txt
82 %attr(755,root,root) %{_libdir}/libagl.so
85 %defattr(644,root,root,755)