Summary(pl): Biblioteka do programowania gier
Name: allegro
Version: 4.0.1
-Release: %{_rel}
+Release: 0.1
License: Giftware
Group: X11/Libraries
Source0: http://prdownloads.sourceforge.net/alleg/%{name}-%{version}.tar.gz
%ifnarch sparc sparc64
BuildRequires: alsa-lib-devel
%endif
+%ifarch %{ix86}
BuildRequires: svgalib-devel
+%endif
BuildRequires: texinfo
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%build
aclocal
-autoconf
+%{__autoconf}
%configure \
--enable-static \
--enable-dbglib \
- --enable-proflib
+ --enable-proflib \
+%ifnarch %{ix86}
+ --disable-vga \
+ --disable-linux
+%endif
%{__make} MAKEINFO=makeinfo
%defattr(644,root,root,755)
%{_libdir}/*.a
+%ifarch %{ix86}
%files svgalib
%defattr(644,root,root,755)
%{_libdir}/allegro/4.0/alleg-svgalib.so
+%endif
%files dga2
%defattr(644,root,root,755)
%defattr(644,root,root,755)
%{_libdir}/allegro/4.0/alleg-esddigi.so
-%ifnarch sparc sparc64
+%ifarch %{ix86}
%files alsa
%defattr(644,root,root,755)
%{_libdir}/allegro/4.0/alleg-alsadigi.so