X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=allegro.spec;h=7f843d227b2c31e3562d286f64b0d61f6ad1285f;hb=6c6637ed1d658f1f106534e2ac91116e05a3d886;hp=a222d6edcc7fb3933ee577ef2a8924b778ba2818;hpb=63180687769b89254b2b25fa0e6fe1b67fc01216;p=packages%2Fallegro5.git diff --git a/allegro.spec b/allegro.spec index a222d6e..7f843d2 100644 --- a/allegro.spec +++ b/allegro.spec @@ -1,46 +1,75 @@ # +# TODO: - check (and update if required) allegro-frame-pointer.patch +# - check allegro-vga and allegro-svga packages if they should contains any files +# - unpackaged files +# - create bconds for gl, jpg, loadpng and logg +# # Conditional build: -# --without alsa +%bcond_without alsa # without ALSA modules +%bcond_without dga2 # without DGA2 module +%bcond_without jack # without JACK module +%bcond_without svga # without svgalib module +%bcond_without vga # without vga module # Summary: A game programming library -Summary(pl): Biblioteka do programowania gier +Summary(de.UTF-8): Eine Bibliothek zur Programmierung von Spielen +Summary(es.UTF-8): Una biblioteca de programación de juegos +Summary(fr.UTF-8): Une librairie de programmation de jeux +Summary(it.UTF-8): Una libreria per la programmazione di videogiochi +Summary(pl.UTF-8): Biblioteka do programowania gier Name: allegro -Version: 4.1.7 -Release: 1 +Version: 4.4.1.1 +Release: 0.1 License: Giftware Group: Libraries -Source0: http://belnet.dl.sourceforge.net/sourceforge/alleg/%{name}-%{version}.tar.gz +Source0: http://downloads.sourceforge.net/alleg/%{name}-%{version}.tar.gz +# Source0-md5: 0f1cfff8f2cf88e5c91a667d9fd386ec Patch0: %{name}-info.patch -Patch1: %{name}-examples.patch -Patch2: %{name}-alsa9.patch -URL: http://alleg.sourceforge.net -BuildRequires: XFree86-devel -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: esound-devel -%ifnarch sparc sparc64 -BuildRequires: alsa-lib-devel -%endif -%ifarch %{ix86} alpha -BuildRequires: svgalib-devel -%endif -BuildRequires: arts-devel +#Patch1: %{name}-frame-pointer.patch +Patch2: %{name}-config.patch +URL: http://alleg.sourceforge.net/ +%{?with_alsa:BuildRequires: alsa-lib-devel} +BuildRequires: cmake >= 2.6 +%{?with_svga:BuildRequires: svgalib-devel} BuildRequires: texinfo +BuildRequires: xorg-lib-libX11-devel +BuildRequires: xorg-lib-libXcursor-devel +BuildRequires: xorg-lib-libXext-devel +BuildRequires: xorg-lib-libXpm-devel +BuildRequires: xorg-lib-libXxf86dga-devel +BuildRequires: xorg-lib-libXxf86vm-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Allegro is a cross-platform library intended for use in computer games and other types of multimedia programming. -%description -l pl -Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w +%description -l de.UTF-8 +Allegro ist eine plattformübergreifende Bibliothek zur Verwendung in +Computerspielen und anderen Formen von Multinediaprogrammierung. + +%description -l es.UTF-8 +Allegro es una librería multi-plataforma creada para ser usada en la +programación de juegos u otro tipo de programación multimedia. + +%description -l fr.UTF-8 +Allegro est une librairie multi-plateforme destinée à être utilisée +dans les jeux vidéo ou d'autres types de programmation multimédia. + +%description -l it.UTF-8 +Allegro è una libreria multipiattaforma dedicata all'uso nei +videogiochi ed in altri tipi di programmazione multimediale. + +%description -l pl.UTF-8 +Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w grach komputerowych i innych rodzajach oprogramowania multimedialnego. %package devel Summary: A game programming library - header files -Summary(pl): Biblioteka do programowania gier - pliki nag³ówkowe +Summary(es.UTF-8): Archivos de inclusión +Summary(pl.UTF-8): Biblioteka do programowania gier - pliki nagłówkowe Group: Development/Libraries -Requires: %{name} = %{version} +Requires: %{name} = %{version}-%{release} %description devel Allegro is a cross-platform library intended for use in computer games @@ -49,43 +78,44 @@ and other types of multimedia programming. This package contains header files neccessary for compiling applications using allegro library. -%description devel -l pl -Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w +%description devel -l de.UTF-8 +Allegro ist eine plattformübergreifende Bibliothek zur Verwendung in +Computerspielen und anderen Formen von Multinediaprogrammierung. +Dieses Paket wird benötigt, um Programme zu bauen, die Allegro +verwenden. + +%description devel -l es.UTF-8 +Allegro es una librería multi-plataforma creada para ser usada en la +programación de juegos u otro tipo de programación multimedia. Este +paquete es necesario para compilar los programas que usen Allegro. + +%description devel -l fr.UTF-8 +Allegro est une librairie multi-plateforme destinée à être utilisée +dans les jeux vidéo ou d'autres types de programmation multimédia. Ce +package est nécessaire pour compiler les programmes utilisant Allegro. + +%description devel -l it.UTF-8 +Allegro è una libreria multipiattaforma dedicata all'uso nei +videogiochi ed in altri tipi di programmazione multimediale. Questo +pacchetto è necessario per compilare programmi scritti con Allegro. + +%description devel -l pl.UTF-8 +Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w grach komputerowych i innych rodzajach oprogramowania multimedialnego. -Ten pakiet zawiera pliki nag³ówkowe niezbêdne do kompilowania -aplikacji wykorzystuj±cych bibliotekê allegro. - -%package tests -Summary: A game programming library - test programs -Summary(pl): Biblioteka do programowania gier - programy testuj±ce -Group: Development/Libraries -Requires: %{name} = %{version} - -%description tests -This package contains programs for testing allegro library. - -%description tests -l pl -Pakiet zawiera programy testuj±ce bibliotekê allegro. - -%package examples -Summary: A game programming library - examples -Summary(pl): Biblioteka do programowania gier - programy przyk³adowe -Group: Development/Libraries -Requires: %{name} = %{version} - -%description examples -This package contains example programs which are showing -allegro features. - -%description examples -l pl -Pakiet zawiera programy przyk³adowe demonstruj±ce mo?liwo¶ci biblioteki allegro. +Ten pakiet zawiera pliki nagłówkowe niezbędne do kompilowania +aplikacji wykorzystujących bibliotekę allegro. %package static Summary: A game programming library - static libraries -Summary(pl): Biblioteka do programowania gier - biblioteki statyczne +Summary(pl.UTF-8): Biblioteka do programowania gier - biblioteki statyczne Group: Development/Libraries -Requires: %{name}-devel = %{version} +Requires: %{name}-devel = %{version}-%{release} +Requires: xorg-lib-libX11-devel +Requires: xorg-lib-libXcursor-devel +Requires: xorg-lib-libXext-devel +Requires: xorg-lib-libXpm-devel +Requires: xorg-lib-libXxf86vm-devel %description static Allegro is a cross-platform library intended for use in computer games @@ -94,18 +124,18 @@ and other types of multimedia programming. This package contains static libraries for linking with allegro applications. -%description static -l pl -Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w +%description static -l pl.UTF-8 +Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w grach komputerowych i innych rodzajach oprogramowania multimedialnego. -Ten pakiet zawiera biblioteki statyczne do linkowania z aplikacjami -wykorzystuj±cymi allegro. +Ten pakiet zawiera biblioteki statyczne do konsolidacji z aplikacjami +wykorzystującymi allegro. %package svgalib Summary: A game programming library - svgalib module -Summary(pl): Biblioteka do programowania gier - modu³ dla svgalib +Summary(pl.UTF-8): Biblioteka do programowania gier - moduł dla svgalib Group: Libraries -PreReq: %{name} = %{version} +Requires: %{name} = %{version}-%{release} %description svgalib Allegro is a cross-platform library intended for use in computer games @@ -113,17 +143,17 @@ and other types of multimedia programming. This package contains module for use with allegro and svgalib. -%description svgalib -l pl -Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w +%description svgalib -l pl.UTF-8 +Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w grach komputerowych i innych rodzajach oprogramowania multimedialnego. -Ten pakiet zawiera modu³ do wykorzystania allegro z svgalibem. +Ten pakiet zawiera moduł do wykorzystania allegro z svgalibem. %package dga2 Summary: A game programming library - DGA2 module -Summary(pl): Biblioteka do programowania gier - modu³ dla DGA2 +Summary(pl.UTF-8): Biblioteka do programowania gier - moduł dla DGA2 Group: Libraries -PreReq: %{name} = %{version} +Requires: %{name} = %{version}-%{release} %description dga2 Allegro is a cross-platform library intended for use in computer games @@ -131,71 +161,17 @@ and other types of multimedia programming. This package contains module for use with DGA. -%description dga2 -l pl -Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w -grach komputerowych i innych rodzajach oprogramowania multimedialnego. - -Ten pakiet zawiera modu³ do wykorzystania z DGA. - -%package esd -Summary: A game programming library - esound module -Summary(pl): Biblioteka do programowania gier - modu³ dla esound -Group: Libraries -PreReq: %{name} = %{version} - -%description esd -Allegro is a cross-platform library intended for use in computer games -and other types of multimedia programming. - -This package contains a esound module for use with ESound daemon. - -%description esd -l pl -Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w +%description dga2 -l pl.UTF-8 +Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w grach komputerowych i innych rodzajach oprogramowania multimedialnego. -Ten pakiet zawiera modu³ do wykorzystania z demonem ESound. - -%package arts -Summary: A game programming library - aRts module -Summary(pl): Biblioteka do programowania gier - modu³ dla aRts -Group: Libraries -PreReq: %{name} = %{version} - -%description arts -Allegro is a cross-platform library intended for use in computer games -and other types of multimedia programming. - -This package contains a esound module for use with aRts. - -%description arts -l pl -Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w -grach komputerowych i innych rodzajach oprogramowania multimedialnego. - -Ten pakiet zawiera modu³ do wykorzystania z aRts. - -%package fbcon -Summary: A game programming library - framebuffer module -Summary(pl): Biblioteka do programowania gier - modu³ dla framebuffera -Group: Libraries -PreReq: %{name} = %{version} - -%description fbcon -Allegro is a cross-platform library intended for use in computer games -and other types of multimedia programming. - -This package contains a esound module for use with framebuffer. - -%description fbcon -l pl -Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w -grach komputerowych i innych rodzajach oprogramowania multimedialnego. - -Ten pakiet zawiera modu³ do wykorzystania z framebufferem. +Ten pakiet zawiera moduł do wykorzystania z DGA. %package vga Summary: A game programming library - vga module -Summary(pl): Biblioteka do programowania gier - modu³ dla vga +Summary(pl.UTF-8): Biblioteka do programowania gier - moduł dla vga Group: Libraries -PreReq: %{name} = %{version} +Requires: %{name} = %{version}-%{release} %description vga Allegro is a cross-platform library intended for use in computer games @@ -203,55 +179,59 @@ and other types of multimedia programming. This package contains a esound module for use with vga. -%description vga -l pl -Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w +%description vga -l pl.UTF-8 +Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w grach komputerowych i innych rodzajach oprogramowania multimedialnego. -Ten pakiet zawiera modu³ do wykorzystania z vga. +Ten pakiet zawiera moduł do wykorzystania z vga. -%package alsa9 -Summary: A game programming library - ALSA 0.9 modules -Summary(pl): Biblioteka do programowania gier - modu³y dla ALSA 0.9 +%package alsa +Summary: A game programming library - ALSA modules +Summary(pl.UTF-8): Biblioteka do programowania gier - moduły dla ALSA Group: Libraries -PreReq: %{name} = %{version} +Requires: %{name} = %{version}-%{release} +Obsoletes: allegro-alsa9 -%description alsa9 +%description alsa Allegro is a cross-platform library intended for use in computer games and other types of multimedia programming. -This package contains modules for use with ALSA 0.9 sound library. +This package contains modules for use with ALSA sound library. -%description alsa9 -l pl -Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w +%description alsa -l pl.UTF-8 +Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w grach komputerowych i innych rodzajach oprogramowania multimedialnego. -Ten pakiet zawiera modu³y do wykorzystania z bibliotek± d¼wiêkow± -ALSA 0.9. +Ten pakiet zawiera moduły do wykorzystania z biblioteką dźwiękową +ALSA. -%package alsa -Summary: A game programming library - ALSA modules -Summary(pl): Biblioteka do programowania gier - modu³y dla ALSA +%package jack +Summary: A game programming library - JACK module +Summary(pl.UTF-8): Biblioteka do programowania gier - moduł dla JACK-a Group: Libraries -PreReq: %{name} = %{version} +Requires: %{name} = %{version}-%{release} -%description alsa +%description jack Allegro is a cross-platform library intended for use in computer games and other types of multimedia programming. -This package contains modules for use with ALSA sound library. +This package contains module for use with JACK sound library. -%description alsa -l pl -Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w +%description jack -l pl.UTF-8 +Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w grach komputerowych i innych rodzajach oprogramowania multimedialnego. -Ten pakiet zawiera modu³y do wykorzystania z bibliotek± d¼wiêkow± -ALSA. +Ten pakiet zawiera moduł do wykorzystania z biblioteką dźwiękową JACK. %package tools Summary: A game programming library - tools -Summary(pl): Biblioteka do programowania gier - narzêdzia +Summary(de.UTF-8): Zusätzliche Hilfprogramme für die Allegro Bibliothek +Summary(es.UTF-8): Herramientas adicionales para la librería de programación Allegro +Summary(fr.UTF-8): Outils supplémentaires pour la librairie de programmation Allegro +Summary(it.UTF-8): Programmi di utilità aggiuntivi per la libreria Allegro +Summary(pl.UTF-8): Biblioteka do programowania gier - narzędzia Group: Libraries -PreReq: %{name} = %{version} +Requires: %{name} = %{version}-%{release} %description tools Allegro is a cross-platform library intended for use in computer games @@ -259,147 +239,191 @@ and other types of multimedia programming. This package contains tools. -%description tools -l pl -Allegro jest przeno¶n± bibliotek± przeznaczon± do wykorzystania w +%description tools -l de.UTF-8 +Allegro ist eine plattformübergreifende Bibliothek zur Verwendung in +Computerspielen und anderen Formen von Multinediaprogrammierung. +Dieses Paket enthält Programme, die für die Entwicklung von Allegro +Programmen hilfreich sind. + +%description tools -l es.UTF-8 +Allegro es una librería multi-plataforma creada para ser usada en la +programación de juegos u otro tipo de programación multimedia. Este +paquete contiene herramientas adicionales que son útiles para +desarrollar programas que usen Allegro. + +%description tools -l fr.UTF-8 +Allegro est une librairie multi-plateforme destinée à être utilisée +dans les jeux vidéo ou d'autres types de programmation multimédia. Ce +package contient des outils supplémentaires qui sont utiles pour le +développement de programmes avec Allegro. + +%description tools -l it.UTF-8 +Allegro è una libreria multipiattaforma dedicata all'uso nei +videogiochi ed in altri tipi di programmazione multimediale. Questo +pacchetto contiene programmi di utilità aggiuntivi utili allo sviluppo +di programmi con Allegro. + +%description tools -l pl.UTF-8 +Allegro jest przenośną biblioteką przeznaczoną do wykorzystania w grach komputerowych i innych rodzajach oprogramowania multimedialnego. -Ten pakiet zawiera narzêdzia. +Ten pakiet zawiera narzędzia. + +%package tests +Summary: A game programming library - test programs +Summary(pl.UTF-8): Biblioteka do programowania gier - programy testujące +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description tests +This package contains programs for testing allegro library. + +%description tests -l pl.UTF-8 +Pakiet zawiera programy testujące bibliotekę allegro. + +%package examples +Summary: A game programming library - examples +Summary(pl.UTF-8): Biblioteka do programowania gier - programy przykładowe +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description examples +This package contains example programs which demonstrate allegro +features. + +%description examples -l pl.UTF-8 +Pakiet zawiera programy przykładowe demonstrujące możliwości +biblioteki allegro. %prep -%setup -q +%setup -q %patch0 -p1 -%patch1 -p1 +#%%patch1 -p1 %patch2 -p1 %build -%{__aclocal} -%{__autoheader} configure.in include/allegro/platform/alunixac.hin -%{__autoconf} -# dbglib & proflib are compiled besides normlib, so it's ok to have them here -%configure \ - --enable-static \ - --enable-dbglib \ -%ifnarch %{ix86} alpha - --disable-vga \ - --disable-linux \ -%endif - --enable-proflib \ -%ifnarch %{ix86} - --disable-asm +install -d build +cd build +%cmake .. \ + -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \ + -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DMANDIR=%{_mandir} \ + -DINFODIR=%{_infodir} \ + %{!?with_vga:-DWANT_LINUX_VGA=off} \ + %{!?with_svga:-DWANT_LINUX_SVGALIB=off} \ +%if "%{_lib}" == "lib64" + -DLIB_SUFFIX=64 %endif -%{__make} \ - MAKEINFO=makeinfo \ - CFLAGS="%{rpmcflags} `artsc-config --cflags` -pipe %{?!debug:-funroll-loops -ffast-math -fomit-frame-pointer} -Wall \ -%ifnarch %{ix86} - -DALLEGRO_USE_C \ -%endif - -DALLEGRO_LIB_BUILD" +%{__make} %install rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_mandir}/man3 -%{__make} install install-man install-info install-lib \ +%{__make} -C build install \ DESTDIR=$RPM_BUILD_ROOT -install modules.lst $RPM_BUILD_ROOT%{_libdir}/allegro/4.1/ +install modules.lst $RPM_BUILD_ROOT%{_libdir}/allegro/%{version} + +# install examples and tests +find build/examples -perm 755 -maxdepth 1 -name "ex*" -exec install {} $RPM_BUILD_ROOT%{_bindir} \; +find build/tests -perm 755 -maxdepth 1 ! -name CMakeFiles -exec install {} $RPM_BUILD_ROOT%{_bindir} \; + +# force install man pages +cp build/docs/man/* $RPM_BUILD_ROOT%{_mandir}/man3 -mv $RPM_BUILD_ROOT%{_bindir}/demo{,-allegro} mv $RPM_BUILD_ROOT%{_bindir}/play{,-allegro} -mv $RPM_BUILD_ROOT%{_bindir}/setup{,-allegro} mv $RPM_BUILD_ROOT%{_bindir}/test{,-allegro} +%clean %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%clean -rm -rf $RPM_BUILD_ROOT +%post devel -p /sbin/postshell +-/usr/sbin/fix-info-dir -c %{_infodir} + +%postun devel -p /sbin/postshell +-/usr/sbin/fix-info-dir -c %{_infodir} %files %defattr(644,root,root,755) -%doc AUTHORS CHANGES THANKS -%attr(755,root,root) %{_libdir}/liballeg-%{version}.so -%dir %{_libdir}/allegro/ -%{_libdir}/allegro/4.1/modules.lst +%doc AUTHORS CHANGES THANKS readme.txt todo.txt +%attr(755,root,root) %{_libdir}/liballeg.so.*.*.* +%attr(755,root,root) %{_libdir}/liballeg.so +%dir %{_libdir}/allegro +%dir %{_libdir}/allegro/4.4.1 +%{_libdir}/allegro/4.4.1/modules.lst %files devel %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/liballd-%{version}.so -%attr(755,root,root) %{_libdir}/liballp-%{version}.so -%{_includedir}/* %attr(755,root,root) %{_bindir}/allegro-config +%{_includedir}/* %{_mandir}/man3/* -%{_infodir}/* -%{_libdir}/*_unsharable.a - -%files tools -%defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/colormap -%attr(755,root,root) %{_bindir}/exedat -%attr(755,root,root) %{_bindir}/pack -%attr(755,root,root) %{_bindir}/rgbmap -%attr(755,root,root) %{_bindir}/textconv -%attr(755,root,root) %{_bindir}/dat -%attr(755,root,root) %{_bindir}/dat2c -%attr(755,root,root) %{_bindir}/dat2s -%attr(755,root,root) %{_bindir}/grabber -%attr(755,root,root) %{_bindir}/pat2dat -%attr(755,root,root) %{_bindir}/setup-allegro -%attr(755,root,root) %{_bindir}/keyconf +%{_infodir}/*.info* +%{_pkgconfigdir}/allegro.pc +%{_pkgconfigdir}/allegrogl.pc +%{_pkgconfigdir}/jpgalleg.pc +%{_pkgconfigdir}/loadpng.pc +%{_pkgconfigdir}/logg.pc %files static %defattr(644,root,root,755) -%{_libdir}/liballd.a -%{_libdir}/liballeg.a -%{_libdir}/liballp.a +%{_libdir}/liballeggl.a +%{_libdir}/libjpgalleg.a +%{_libdir}/libloadpng.a +%{_libdir}/liblogg.a -%ifarch %{ix86} alpha +%if %{with svga} %files svgalib %defattr(644,root,root,755) -%{_libdir}/allegro/4.1/alleg-svgalib.so +#%%attr(755,root,root) %{_libdir}/allegro/%{version}/alleg-svgalib.so %endif +%if %{with dga2} %files dga2 %defattr(644,root,root,755) -%{_libdir}/allegro/4.1/alleg-dga2.so - -%files esd -%defattr(644,root,root,755) -%{_libdir}/allegro/4.1/alleg-esddigi.so - -%files arts -%defattr(644,root,root,755) -%{_libdir}/allegro/4.1/alleg-artsdigi.so - -%files fbcon -%defattr(644,root,root,755) -%{_libdir}/allegro/4.1/alleg-fbcon.so +%attr(755,root,root) %{_libdir}/allegro/4.4.1/alleg-dga2.so +%endif +%ifarch %{ix86} +%if %{with vga} %files vga %defattr(644,root,root,755) -%{_libdir}/allegro/4.1/alleg-vga.so +#%%attr(755,root,root) %{_libdir}/allegro/%{version}/alleg-vga.so +%endif +%endif -%ifnarch sparc sparc64 -%if %{!?_without_alsa:1}%{?_without_alsa:0} -%if %{!?_with_alsa9:1}%{?_with_alsa9:0} +%if %{with alsa} %files alsa %defattr(644,root,root,755) -%{_libdir}/allegro/4.1/alleg-alsadigi.so -%{_libdir}/allegro/4.1/alleg-alsamidi.so -%else -%files alsa9 -%defattr(644,root,root,755) -%{_libdir}/allegro/4.1/alleg-alsa9digi.so -%{_libdir}/allegro/4.1/alleg-alsa9midi.so -%endif +%attr(755,root,root) %{_libdir}/allegro/4.4.1/alleg-alsadigi.so +%attr(755,root,root) %{_libdir}/allegro/4.4.1/alleg-alsamidi.so %endif + +%if %{with jack} +%files jack +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/allegro/4.4.1/alleg-jack.so %endif +%files tools +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/colormap +%attr(755,root,root) %{_bindir}/exedat +%attr(755,root,root) %{_bindir}/pack +%attr(755,root,root) %{_bindir}/rgbmap +%attr(755,root,root) %{_bindir}/textconv +%attr(755,root,root) %{_bindir}/dat +%attr(755,root,root) %{_bindir}/dat2c +%attr(755,root,root) %{_bindir}/dat2s +%attr(755,root,root) %{_bindir}/grabber +%attr(755,root,root) %{_bindir}/pat2dat + %files tests %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/afinfo %attr(755,root,root) %{_bindir}/akaitest -%attr(755,root,root) %{_bindir}/demo-allegro %attr(755,root,root) %{_bindir}/digitest %attr(755,root,root) %{_bindir}/filetest %attr(755,root,root) %{_bindir}/gfxinfo @@ -421,14 +445,15 @@ 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 -%attr(755,root,root) %{_bindir}/exdodgy %attr(755,root,root) %{_bindir}/exexedat %attr(755,root,root) %{_bindir}/exfixed %attr(755,root,root) %{_bindir}/exflame %attr(755,root,root) %{_bindir}/exflip +%attr(755,root,root) %{_bindir}/exfont %attr(755,root,root) %{_bindir}/exgui %attr(755,root,root) %{_bindir}/exhello %attr(755,root,root) %{_bindir}/exjoy @@ -437,11 +462,15 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/exmem %attr(755,root,root) %{_bindir}/exmidi %attr(755,root,root) %{_bindir}/exmouse +%attr(755,root,root) %{_bindir}/expackf %attr(755,root,root) %{_bindir}/expal %attr(755,root,root) %{_bindir}/expat %attr(755,root,root) %{_bindir}/exquat %attr(755,root,root) %{_bindir}/exrgbhsv +%attr(755,root,root) %{_bindir}/exrotscl +%attr(755,root,root) %{_bindir}/extrans2 %attr(755,root,root) %{_bindir}/exsample +%attr(755,root,root) %{_bindir}/exsyscur %attr(755,root,root) %{_bindir}/exscale %attr(755,root,root) %{_bindir}/exscn3d %attr(755,root,root) %{_bindir}/exscroll