]> git.pld-linux.org Git - packages/allegro.git/blobdiff - allegro.spec
- unified bconds
[packages/allegro.git] / allegro.spec
index 76cd62d2603bbfca41afa216cc872393a494b505..084c61c9a7394dabb4eb0034c639e81cf7b8dfe7 100644 (file)
@@ -4,13 +4,16 @@
 # _without_arts                - without arts module
 # _without_dbglib      - don't build debug versions of library
 # _without_proflib     - don't debug profiling versions of library
-# _without_svgalib      - without svgalib module
-# _with_alsa9  - use alsa 0.9 not 0.5
+# _without_svga                - without svgalib module
+# _with_alsa5          - use alsa 0.5 not 0.9
+# _without_sse         - build without sse (valgrind doesn't support it yet)
 #
+%define        _without_arts   1
+
 %ifarch sparc sparc64
 %define        _without_alsa   1
 %endif
-%{!?_without_alsa:%{!?_with_alsa9:%define _with_alsa5 1}}
+%{!?_without_alsa:%{!?_with_alsa5:%define _with_alsa9 1}}
 Summary:       A game programming library
 Summary(de):   Eine Bibliothek zur Programmierung von Spielen
 Summary(es):   Una libreria de programacion de juegos
@@ -19,7 +22,7 @@ Summary(it):  Una libreria per la programmazione di videogiochi
 Summary(pl):   Biblioteka do programowania gier
 Name:          allegro
 Version:       4.1.11
-Release:       1
+Release:       2
 License:       Giftware
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/alleg/%{name}-%{version}.tar.gz
@@ -29,6 +32,7 @@ Patch1:               %{name}-examples.patch
 Patch2:                %{name}-alsa9.patch
 Patch3:                %{name}-opt.patch
 Patch4:                %{name}-ldflags.patch
+Patch5:                %{name}-frame-pointer.patch
 URL:           http://alleg.sourceforge.net/
 BuildRequires: XFree86-devel
 %{!?_without_alsa:BuildRequires:       alsa-lib-devel}
@@ -37,7 +41,7 @@ BuildRequires:        autoconf
 BuildRequires: automake
 BuildRequires: esound-devel
 %ifarch %{ix86} alpha
-%{!?_without_svgalib:BuildRequires:    svgalib-devel}
+%{!?_without_svga:BuildRequires:       svgalib-devel}
 %endif
 BuildRequires: texinfo
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -252,6 +256,7 @@ grach komputerowych i innych rodzajach oprogramowania multimedialnego.
 
 Ten pakiet zawiera modu³ do wykorzystania z aRts.
 
+%if 0
 %package fbcon
 Summary:       A game programming library - framebuffer module
 Summary(pl):   Biblioteka do programowania gier - modu³ dla framebuffera
@@ -269,6 +274,7 @@ Allegro jest przeno
 grach komputerowych i innych rodzajach oprogramowania multimedialnego.
 
 Ten pakiet zawiera modu³ do wykorzystania z framebufferem.
+%endif
 
 %package vga
 Summary:       A game programming library - vga module
@@ -391,19 +397,21 @@ Group:            Development/Libraries
 Requires:      %{name} = %{version}
 
 %description examples
-This package contains example programs which are showing
-allegro features.
+This package contains example programs which demonstrate allegro
+features.
 
 %description examples -l pl
-Pakiet zawiera programy przyk³adowe demonstruj±ce mo?liwo¶ci biblioteki allegro.
+Pakiet zawiera programy przyk³adowe demonstruj±ce mo¿liwo¶ci
+biblioteki allegro.
 
 %prep
-%setup  -q
+%setup -q
 %patch0 -p1
 %patch1 -p1
-#%patch2 -p1   # you want it, you do it
+%{!?_without_alsa:%patch2 -p1}
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 %{__aclocal}
@@ -413,14 +421,16 @@ TARGET_ARCH="%{rpmcflags}" export TARGET_ARCH
 # dbglib & proflib are compiled besides normlib, so it's ok to have them here
 %configure \
        --enable-static \
-       %{?_without_svgalib:--disable-svgalib} \
+       %{?_without_svga:--disable-svgalib} \
        %{!?_without_dbglib:--enable-dbglib} \
 %ifnarch %{ix86} alpha
-       --disable-vga \
+       --disable-vga \
        --disable-linux \
 %endif
        %{!?_without_proflib:--enable-proflib} \
        %{?_without_arts:--disable-artsdigi} \
+       %{?_without_sse:--disable-sse} \
+       %{?_without_sse:--disable-asm} \
 %ifnarch %{ix86}
        --disable-asm \
        --disable-mmx \
@@ -491,7 +501,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/liballp.a
 %endif
 
-%if %{!?_without_svgalib:1}0
+%if %{!?_without_svga:1}0
 %ifarch %{ix86} alpha
 %files svgalib
 %defattr(644,root,root,755)
@@ -513,9 +523,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/allegro/4.1/alleg-artsdigi.so
 %endif
 
-%files fbcon
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/allegro/4.1/alleg-fbcon.so
+#%files fbcon
+#%defattr(644,root,root,755)
+#%attr(755,root,root) %{_libdir}/allegro/4.1/alleg-fbcon.so
 
 %files vga
 %defattr(644,root,root,755)
@@ -576,6 +586,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/exblend
 %attr(755,root,root) %{_bindir}/excamera
 %attr(755,root,root) %{_bindir}/excolmap
+%attr(755,root,root) %{_bindir}/exconfig
 %attr(755,root,root) %{_bindir}/excustom
 %attr(755,root,root) %{_bindir}/exdata
 %attr(755,root,root) %{_bindir}/exdbuf
This page took 0.140412 seconds and 4 git commands to generate.