]> git.pld-linux.org Git - packages/allegro-gl.git/blame - allegro-gl.spec
- new URL
[packages/allegro-gl.git] / allegro-gl.spec
CommitLineData
ec725800 1Summary: The Allegro game programming library GL backend
f1da807b 2Summary(pl.UTF-8): Wsparcie GL dla biblioteki do programowania gier Allegro
ec725800 3Name: allegro-gl
f27ca4a2 4Version: 0.4.3
ec725800 5Release: 1
751f3f29 6License: GPL v2 or zlib
ec725800 7Group: Libraries
d5148d62 8Source0: http://dl.sourceforge.net/allegrogl/alleggl-%{version}.tar.bz2
f27ca4a2 9# Source0-md5: de84c6ab982499501940854893ea0dbd
036883c1
JB
10Patch0: %{name}-mouse.patch
11Patch1: %{name}-link.patch
f84279f5 12Patch2: %{name}-libpthread.patch
a7d5079a 13URL: http://sourceforge.net/projects/allegrogl/
b56f029d 14BuildRequires: OpenGL-GLU-devel
036883c1 15BuildRequires: allegro-devel >= 4.3.1
ec725800
PZ
16BuildRequires: autoconf >= 2.53
17BuildRequires: automake
036883c1 18Requires: allegro >= 4.3.1
ec725800
PZ
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
a5bee254
JB
21%define specflags -fomit-frame-pointer
22
ec725800
PZ
23%description
24AllegroGL is a cross-platform GL backend for the Allegro library.
25
7a2620e6
JR
26%description -l pl.UTF-8
27AllegroGL jest przenośną biblioteką dodającą wsparcie GL
28w aplikacjach używających biblioteki Allegro.
ec725800
PZ
29
30%package devel
31Summary: A game programming library - header files
f1da807b 32Summary(pl.UTF-8): Biblioteka do programowania gier - pliki nagłówkowe
ec725800
PZ
33Group: Development/Libraries
34Requires: %{name} = %{version}-%{release}
036883c1 35Requires: allegro-devel >= 4.3.1
ec725800
PZ
36
37%description devel
38AllegroGL is a cross-platform GL backend for the Allegro library.
39
40This package contains header files neccessary for compiling
41applications using AllegroGL library.
42
7a2620e6
JR
43%description devel -l pl.UTF-8
44AllegroGL jest przenośną biblioteką dodającą wsparcie GL
45w aplikacjach używających biblioteki Allegro.
ec725800 46
7a2620e6
JR
47Ten pakiet zawiera pliki nagłówkowe niezbędne do kompilowania
48aplikacji wykorzystujących bibliotekę AllegroGL.
ec725800
PZ
49
50%prep
d5148d62 51%setup -q -n alleggl
036883c1
JB
52%patch0 -p1
53%patch1 -p1
f84279f5 54%patch2 -p1
ec725800
PZ
55
56%build
57%{__aclocal}
58%{__autoconf}
ec725800
PZ
59%configure \
60 --enable-static \
61%ifnarch %{ix86}
62 --disable-asm \
63 --disable-mmx \
64 --disable-sse
65%endif
66
a5bee254
JB
67%{__make} lib \
68 CFLAGS="%{rpmcflags} -Wall -ffast-math"
ec725800
PZ
69
70%install
71rm -rf $RPM_BUILD_ROOT
751f3f29 72install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/allegrogl/GLext}
ec725800 73
2411d1af 74install include/alleggl*.h $RPM_BUILD_ROOT%{_includedir}
ec725800
PZ
75install include/allegrogl/*.h $RPM_BUILD_ROOT%{_includedir}/allegrogl
76install include/allegrogl/GLext/*.h $RPM_BUILD_ROOT%{_includedir}/allegrogl/GLext
77install lib/unix/libagl.so $RPM_BUILD_ROOT%{_libdir}
78
79%clean
80rm -rf $RPM_BUILD_ROOT
81
82%post -p /sbin/ldconfig
83%postun -p /sbin/ldconfig
84
85%files
86%defattr(644,root,root,755)
751f3f29 87%doc bugs.txt readme.txt todo.txt zlib.txt
ec725800
PZ
88%attr(755,root,root) %{_libdir}/libagl.so
89
90%files devel
91%defattr(644,root,root,755)
92%doc howto.txt
751f3f29
JB
93%{_includedir}/alleggl*.h
94%{_includedir}/allegrogl
This page took 0.101812 seconds and 4 git commands to generate.