cvsextras 69fd365
Name:           allegro
ecb6718
Version:        4.2.1
ecb6718
Release:        1%{?dist}
04ceb5e
cvsextras 69fd365
Summary:        A game programming library
cvsextras 69fd365
Summary(es):    Una libreria de programacion de juegos
cvsextras 69fd365
Summary(fr):    Une librairie de programmation de jeux
cvsextras 69fd365
Summary(it):    Una libreria per la programmazione di videogiochi
947503f
Summary(cz):    Knihovna pro programování her
cvsextras 69fd365
cvsextras 69fd365
Group:          System Environment/Libraries
cvsextras 69fd365
License:        Giftware
cvsextras 69fd365
URL:            http://alleg.sourceforge.net/
40390ca
Source:         http://download.sourceforge.net/alleg/allegro-%{version}.tar.gz
40390ca
Patch1:         allegro-4.0.3-libdir.patch
40390ca
Patch2:         allegro-4.0.3-cfg.patch
352ff89
Patch3:         allegro-4.2.0-nostrip.patch
cvsextras 69fd365
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
71f4b39
BuildRequires:  esound-devel, texinfo, perl, arts-devel
ca241f8
BuildRequires:  xorg-x11-proto-devel, libX11-devel, libXext-devel, libXt-devel
ca241f8
BuildRequires:  libXpm-devel, libXcursor-devel, libXxf86vm-devel
a458820
BuildRequires:  libXxf86dga-devel, autoconf
1db8370
Requires:	timidity++
cvsextras 69fd365
cvsextras 69fd365
%description
cvsextras 69fd365
Allegro is a cross-platform library intended for use in computer games
cvsextras 69fd365
and other types of multimedia programming.
cvsextras 69fd365
cvsextras 69fd365
%description -l es
cvsextras 69fd365
Allegro es una librería multi-plataforma creada para ser usada en la
cvsextras 69fd365
programación de juegos u otro tipo de programación multimedia.
cvsextras 69fd365
cvsextras 69fd365
%description -l fr
cvsextras 69fd365
Allegro est une librairie multi-plateforme destinée à être utilisée
cvsextras 69fd365
dans les jeux vidéo ou d'autres types de programmation multimédia.
cvsextras 69fd365
cvsextras 69fd365
%description -l it
cvsextras 69fd365
Allegro è una libreria multipiattaforma dedicata all'uso nei
cvsextras 69fd365
videogiochi ed in altri tipi di programmazione multimediale.
cvsextras 69fd365
947503f
%description -l cs
947503f
Allegro je multiplatformní knihovna pro počítačové hry a jiné
947503f
typy multimediálního programování.
947503f
cvsextras 69fd365
%package devel
cvsextras 69fd365
Summary:        A game programming library
cvsextras 69fd365
Summary(es):    Una libreria de programacion de juegos
cvsextras 69fd365
Summary(fr):    Une librairie de programmation de jeux
cvsextras 69fd365
Summary(it):    Una libreria per la programmazione di videogiochi
947503f
Summary(cz):    Knihovna pro programování her
cvsextras 69fd365
Group:          Development/Libraries
ca241f8
Requires:       %{name} = %{version}-%{release}, xorg-x11-proto-devel
ca241f8
Requires:       libX11-devel, libXcursor-devel
df5d954
Requires(post): /sbin/install-info
df5d954
Requires(preun): /sbin/install-info
cvsextras 69fd365
cvsextras 69fd365
%description devel
cvsextras 69fd365
Allegro is a cross-platform library intended for use in computer games
cvsextras 69fd365
and other types of multimedia programming. This package is needed to
cvsextras 69fd365
build programs written with Allegro.
cvsextras 69fd365
cvsextras 69fd365
%description devel -l es
cvsextras 69fd365
Allegro es una librería multi-plataforma creada para ser usada en la
cvsextras 69fd365
programación de juegos u otro tipo de programación multimedia. Este
cvsextras 69fd365
paquete es necesario para compilar los programas que usen Allegro.
cvsextras 69fd365
cvsextras 69fd365
%description devel -l fr
cvsextras 69fd365
Allegro est une librairie multi-plateforme destinée à être utilisée
cvsextras 69fd365
dans les jeux vidéo ou d'autres types de programmation multimédia. Ce
cvsextras 69fd365
package est nécessaire pour compiler les programmes utilisant Allegro.
cvsextras 69fd365
cvsextras 69fd365
%description devel -l it
cvsextras 69fd365
Allegro è una libreria multipiattaforma dedicata all'uso nei
cvsextras 69fd365
videogiochi ed in altri tipi di programmazione multimediale. Questo
cvsextras 69fd365
pacchetto è necessario per compilare programmi scritti con Allegro.
cvsextras 69fd365
947503f
%description devel -l cs
947503f
Allegro je multiplatformní knihovna pro počítačové hry a jiné
947503f
typy multimediálního programování. Tento balíček je je potřebný
947503f
k sestavení programů napsaných v Allegru.
947503f
cvsextras 69fd365
%package tools
cvsextras 69fd365
Summary:        Extra tools for the Allegro programming library
947503f
Summary(es):    Herramientas adicionales para la librería de programación Allegro
947503f
Summary(fr):    Outils supplémentaires pour la librairie de programmation Allegro
cvsextras 69fd365
Summary(it):    Programmi di utilità aggiuntivi per la libreria Allegro
947503f
Summary(cz):    Přídavné nástroje pro programovou knihovnu Allegro
cvsextras 69fd365
Group:          Development/Tools
4927311
Requires:       %{name} = %{version}-%{release}
cvsextras 69fd365
cvsextras 69fd365
%description tools
cvsextras 69fd365
Allegro is a cross-platform library intended for use in computer games
cvsextras 69fd365
and other types of multimedia programming. This package contains extra
cvsextras 69fd365
tools which are useful for developing Allegro programs.
cvsextras 69fd365
cvsextras 69fd365
%description tools -l es
cvsextras 69fd365
Allegro es una librería multi-plataforma creada para ser usada en la
cvsextras 69fd365
programación de juegos u otro tipo de programación multimedia. Este
cvsextras 69fd365
paquete contiene herramientas adicionales que son útiles para
cvsextras 69fd365
desarrollar programas que usen Allegro.
cvsextras 69fd365
cvsextras 69fd365
%description tools -l fr
cvsextras 69fd365
Allegro est une librairie multi-plateforme destinée à être utilisée
cvsextras 69fd365
dans les jeux vidéo ou d'autres types de programmation multimédia. Ce
cvsextras 69fd365
package contient des outils supplémentaires qui sont utiles pour le
cvsextras 69fd365
développement de programmes avec Allegro.
cvsextras 69fd365
cvsextras 69fd365
%description tools -l it
cvsextras 69fd365
Allegro è una libreria multipiattaforma dedicata all'uso nei
cvsextras 69fd365
videogiochi ed in altri tipi di programmazione multimediale. Questo
cvsextras 69fd365
pacchetto contiene programmi di utilità aggiuntivi utili allo sviluppo
cvsextras 69fd365
di programmi con Allegro.
cvsextras 69fd365
947503f
%description tools -l cs
947503f
Allegro je multiplatformní knihovna pro počítačové hry a jiné
947503f
typy multimediálního programování. Tento balíček obsahuje přídavné nástroje,
947503f
které jsou užitečné pro vývoj Allegro programů.
947503f
cvsextras 69fd365
cvsextras 69fd365
%prep
cvsextras 69fd365
%setup -q
aa5f9d5
%patch1 -p1 -b .libdir
96f2be0
%patch2 -p1 -b .config
352ff89
%patch3 -p1 -z .nostrip
cvsextras 69fd365
8d82bc1
cvsextras 69fd365
%build
bdeec79
%configure \
cd0c4c9
%ifnarch %{ix86}
bdeec79
  --enable-vga=no --enable-vbeaf=no \
bdeec79
%endif
8d82bc1
  --enable-svgalib=no \
8d82bc1
  --enable-dbglib=yes \
8d82bc1
  --enable-proflib=yes
283ccc4
%ifnarch %{ix86}
bf54c3c
make CFLAGS="$RPM_OPT_FLAGS -DALLEGRO_USE_C -I%{_includedir}/kde/artsc"
283ccc4
%else
bf54c3c
make CFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/kde/artsc"
283ccc4
%endif
cvsextras 69fd365
cvsextras 69fd365
cvsextras 69fd365
%install
cvsextras 69fd365
rm -rf $RPM_BUILD_ROOT
bdeec79
make install install-man install-info \
bdeec79
  DESTDIR=$RPM_BUILD_ROOT LDCONFIG=/bin/true
12bb060
install -Dpm 644 allegro.cfg $RPM_BUILD_ROOT%{_sysconfdir}/allegrorc
12bb060
install -dm 755 $RPM_BUILD_ROOT%{_datadir}/allegro
cvsextras 69fd365
install -pm 644 keyboard.dat language.dat $RPM_BUILD_ROOT%{_datadir}/allegro
cvsextras 69fd365
find demo examples setup -type f -perm +111 -print | xargs rm
cvsextras 69fd365
chmod 755 `find $RPM_BUILD_ROOT%{_libdir} -type f -name "*.so"`
cvsextras 69fd365
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
8d82bc1
rm -f $RPM_BUILD_ROOT%{_libdir}/liball{p,d}_unsharable.a
cvsextras 69fd365
cvsextras 69fd365
cvsextras 69fd365
%post -p /sbin/ldconfig
cvsextras 69fd365
cvsextras 69fd365
%postun -p /sbin/ldconfig
cvsextras 69fd365
cvsextras 69fd365
%post devel
cvsextras 69fd365
/sbin/install-info %{_infodir}/allegro.info %{_infodir}/dir 2>/dev/null || :
cvsextras 69fd365
cvsextras 69fd365
%preun devel
12bb060
if [ $1 -eq 0 ] ; then
cvsextras 69fd365
  /sbin/install-info --delete %{_infodir}/allegro.info %{_infodir}/dir \
cvsextras 69fd365
    2>/dev/null || :
cvsextras 69fd365
fi
cvsextras 69fd365
cvsextras 69fd365
cvsextras 69fd365
%clean
cvsextras 69fd365
rm -rf $RPM_BUILD_ROOT
cvsextras 69fd365
cvsextras 69fd365
cvsextras 69fd365
%files
cvsextras 69fd365
%defattr(-,root,root,-)
cvsextras 69fd365
%doc readme.txt docs/build/unix.txt docs/build/linux.txt
cvsextras 69fd365
%doc AUTHORS CHANGES THANKS
cvsextras 69fd365
%config(noreplace) %{_sysconfdir}/allegrorc
12bb060
%{_libdir}/liballeg*.so*
cvsextras 69fd365
%{_libdir}/allegro
cvsextras 69fd365
%{_datadir}/allegro
cvsextras 69fd365
cvsextras 69fd365
%files devel
cvsextras 69fd365
%defattr(-,root,root,-)
cvsextras 69fd365
%doc docs/txt/abi.txt docs/txt/ahack.txt docs/txt/allegro.txt
cvsextras 69fd365
%doc docs/txt/const.txt docs/txt/faq.txt docs/txt/help.txt
cvsextras 69fd365
%doc todo.txt docs/html
cvsextras 69fd365
%doc demo examples setup
cvsextras 69fd365
%{_bindir}/allegro-config
12bb060
%{_libdir}/liballeg_unsharable.a
ee56753
%{_libdir}/liball?.so.*
ee56753
%{_libdir}/liball?-%{version}.so
12bb060
%{_includedir}/*alleg*
cvsextras 69fd365
%{_infodir}/allegro.info*
cvsextras 69fd365
%{_mandir}/man3/*
40390ca
%{_datadir}/aclocal/allegro.m4
cvsextras 69fd365
cvsextras 69fd365
%files tools
cvsextras 69fd365
%defattr(-,root,root,-)
40390ca
%doc tools/plugins/plugins.txt
cvsextras 69fd365
%{_bindir}/colormap
cvsextras 69fd365
%{_bindir}/dat
cvsextras 69fd365
%{_bindir}/dat2s
40390ca
%{_bindir}/dat2c
cvsextras 69fd365
%{_bindir}/exedat
cvsextras 69fd365
%{_bindir}/grabber
cvsextras 69fd365
%{_bindir}/pack
cvsextras 69fd365
%{_bindir}/pat2dat
cvsextras 69fd365
%{_bindir}/rgbmap
cvsextras 69fd365
%{_bindir}/textconv
cvsextras 69fd365
cvsextras 69fd365
cvsextras 69fd365
%changelog
ecb6718
* Tue Nov 28 2006 Jindrich Novy <jnovy@redhat.com> 4.2.1-1
ecb6718
- update to 4.2.1
ecb6718
aa5f9d5
* Sun Oct 15 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 4.2.0-18
aa5f9d5
- Multilib devel goodness (make allegro-devel i386 and x86_64 parallel
aa5f9d5
  installable)
aa5f9d5
7ab9c7c
* Sat Sep  2 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 4.2.0-17
7ab9c7c
- FE6 Rebuild
7ab9c7c
ee56753
* Fri Jul 14 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 4.2.0-16
ee56753
- Don't package the main allegro lib in -devel as its already in the main
ee56753
  package, iow only put the debug and profile versions -devel.
ee56753
2005ba1
* Thu Jul  6 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 4.2.0-15
2005ba1
- Stop allegro from making applications linked against it claim that they
2005ba1
  need an executable stack (Patch11). Unfortunatly this requires a rebuild of
2005ba1
  all applications linked against allegro.
2005ba1
8d82bc1
* Mon Jun 26 2006 Jindrich Novy <jnovy@redhat.com> 4.2.0-14
8d82bc1
- compile alld and allp debuging/profiling libraries (#196616)
8d82bc1
- fix typo in release caused by recent changes
8d82bc1
a458820
* Sat Jun 10 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 4.2.0-13
a458820
- Add autoconf BR for missing autoheader with the new mock config.
a458820
f682ef7
* Tue Mar 21 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 4.2.0-12
f682ef7
- Sleep in xwindows vsync emulation, instead of busy waiting.
c2418aa
- Add %%{dist} to Release
f682ef7
43d8ce2
* Mon Mar 13 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 4.2.0-11
43d8ce2
- really, _really_ fix asm stretch code on i386 with NX processors, long
43d8ce2
  story see bugzilla bug 185214 .
43d8ce2
85e6f88
* Sat Mar 11 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 4.2.0-10
85e6f88
- really fix asm stretch code on i386 with NX processors, on OpenBSD mprotects
85e6f88
  first argument does not need to be page-aligned, but on Linux it does.
85e6f88
  Note that for this to work you may also need to disable selinux (rh 185214)
85e6f88
378732a
* Wed Mar  8 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 4.2.0-9
378732a
- fix fullscreen <-> window switching bug (bz 183645)
378732a
- fix asm stretch code on i386 with NX processors, thanks to openBSD.
378732a
6f1526a
* Mon Feb 27 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 4.2.0-8
6f1526a
- fix sound not working on PPC (bz 183112)
6f1526a
- fix allegro not finding and loading plugins/modules on x86_64 (bz 183113)
6f1526a
1db8370
* Tue Feb  8 2006 Jindrich Novy <jnovy@redhat.com> 4.2.0-7
1db8370
- set timidity++ as Requires instead of BuildRequires
1db8370
defa94e
* Tue Feb  7 2006 Jindrich Novy <jnovy@redhat.com> 4.2.0-6
defa94e
- fix digmid loading of timidity midi patches (#180154)
defa94e
96f2be0
* Wed Jan 25 2006 Jindrich Novy <jnovy@redhat.com> 4.2.0-5
96f2be0
- update default allegro configuration to use sound successfully,
96f2be0
  thanks to Hans de Goede (#178383)
96f2be0
- add timidity++ dependency
96f2be0
352ff89
* Mon Jan 23 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 4.2.0-4
352ff89
- add allegro-4.2.0-nostrip.patch, so that the main .so file
352ff89
  doesn't get stripped and we actually get debuginfo for it in
352ff89
  allegro-debuginfo
352ff89
ca241f8
* Fri Jan 20 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 4.2.0-3
176597b
- update / fix BuildRequires for modular X (bz 178245)
ca241f8
bf54c3c
* Fri Dec 16 2005 Jindrich Novy <jnovy@redhat.com> 4.2.0-2
71f4b39
- update dependencies for the new modular X
bf54c3c
- disable _smp_mflags to workaround build failure caused
bf54c3c
  by bad dependencies
71f4b39
40390ca
* Wed May 25 2005 Jindrich Novy <jnovy@redhat.com> 4.2.0-1
40390ca
- update to 4.2.0
40390ca
- package dat2c, allegro.m4
40390ca
- replace XFree86-devel Buildrequires with xorg-x11-devel
40390ca
- drop mmaptest, novga, gcc4 patches
40390ca
283ccc4
* Wed May 25 2005 Jindrich Novy <jnovy@redhat.com> 4.0.3-13
283ccc4
- fix compilation on x86_64 (#158648)
283ccc4
69f390b
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 4.0.3-12
69f390b
- rebuild on all arches
69f390b
947503f
* Mon May  2 2005 Jindrich Novy <jnovy@redhat.com> 0:4.0.3-11
947503f
- fix build failures with gcc4 (#156224)
947503f
- don't use %%{name} in patch names
947503f
- add Czech translation to package description/summary
947503f
04ceb5e
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
04ceb5e
- rebuilt
04ceb5e
df5d954
* Fri Mar  4 2005 Ville Skyttä <ville.skytta at iki.fi>
df5d954
- Split context marked dependency syntax to work around #118773.
df5d954
cd0c4c9
* Sun Feb 13 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:4.0.3-9
cd0c4c9
- Disable vga and vbeaf on all non-%%{ix86}.
cd0c4c9
- Fix lib paths in allegro-config for 64-bit archs.
cd0c4c9
- Use *nix commands in allegrorc's [grabber] section.
cd0c4c9
bdeec79
* Sun Feb 13 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:4.0.3-8
bdeec79
- Build without vga and vbeaf on non-x86-like archs.
bdeec79
- Apply upstream patch to fix build without vga.
bdeec79
12bb060
* Fri Nov 12 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:4.0.3-7
12bb060
- Explicitly disable svgalib for now.
12bb060
- Let rpm take care of all stripping.
12bb060
- Build with whatever the compiler supports, MMX and friends are detected
12bb060
  at runtime.
12bb060
- Minor specfile style improvements.
12bb060
a70ab5a
* Wed Nov 10 2004 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:4.0.3-6
a70ab5a
- Fix build for FC3 via fixed mmap test in configure script.
a70ab5a
cvsextras 69fd365
* Mon Nov 10 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.0.3-0.fdr.5
cvsextras 69fd365
- Use MMX/SSE where appropriate (bug 959).
cvsextras 69fd365
cvsextras 69fd365
* Mon May 26 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.0.3-0.fdr.4
cvsextras 69fd365
- Include *.so.* symlink.
cvsextras 69fd365
- Re-introduce ldconfigs.
cvsextras 69fd365
- *grumble*
cvsextras 69fd365
cvsextras 69fd365
* Mon May 26 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.0.3-0.fdr.3
cvsextras 69fd365
- -devel Requires XFree86-devel.
cvsextras 69fd365
cvsextras 69fd365
* Mon May 26 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.0.3-0.fdr.2
cvsextras 69fd365
- Handle --excludedocs installs gracefully.
cvsextras 69fd365
- BuildRequires arts-devel.
cvsextras 69fd365
- Make *.so executable so RPM groks autodependencies.
cvsextras 69fd365
- Update to accordance with current Fedora spec template.
cvsextras 69fd365
cvsextras 69fd365
* Sat Apr 26 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.0.3-0.fdr.1
cvsextras 69fd365
- Update to 4.0.3.
cvsextras 69fd365
- Make build honor optflags.
cvsextras 69fd365
- Remove redundant ldconfigs.
cvsextras 69fd365
cvsextras 69fd365
* Sat Apr  5 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.0.3-0.fdr.0.1.rc3
cvsextras 69fd365
- Update to 4.0.3RC3.
cvsextras 69fd365
cvsextras 69fd365
* Thu Mar 20 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:4.0.3-0.fdr.0.1.rc2
cvsextras 69fd365
- Update to 4.0.3RC2, and to current Fedora guidelines.
cvsextras 69fd365
- make -jX works again.
cvsextras 69fd365
- Don't remove info files on -devel upgrade.
cvsextras 69fd365
cvsextras 69fd365
* Wed Feb 19 2003 Warren Togami <warren@togami.com> 4.0.3-0.beta2.fedora.2
cvsextras 69fd365
- Disable smp make flags, Makefile needs fixing
cvsextras 69fd365
cvsextras 69fd365
* Wed Feb 12 2003 Ville Skyttä <ville.skytta at iki.fi> - 4.0.3-0.beta2.fedora.1
cvsextras 69fd365
- First Fedora release, based on upstream source RPM.
cvsextras 69fd365
cvsextras 69fd365
* Fri Dec 07 2001 Angelo Mottola <lillo@users.sourceforge.net>  4.0.0-1
cvsextras 69fd365
- added italian translation
cvsextras 69fd365
cvsextras 69fd365
* Tue Oct 02 2001 Peter Wang <tjaden@users.sourceforge.net>  3.9.39-1
cvsextras 69fd365
- icon courtesy of Johan Peitz
cvsextras 69fd365
cvsextras 69fd365
* Mon Sep 24 2001 Peter Wang <tjaden@users.sourceforge.net>
cvsextras 69fd365
- remaining translations by Eric Botcazou and Grzegorz Adam Hankiewicz
cvsextras 69fd365
cvsextras 69fd365
* Sun Sep 23 2001 Peter Wang <tjaden@users.sourceforge.net>
cvsextras 69fd365
- translations by Eric Botcazou and Javier González
cvsextras 69fd365
- language.dat and keyboard.dat moved to main package
cvsextras 69fd365
- devel split into devel and tools packages
cvsextras 69fd365
- makedoc added to tools package
cvsextras 69fd365
cvsextras 69fd365
* Wed Sep 16 2001 Peter Wang <tjaden@users.sourceforge.net>
cvsextras 69fd365
- merged Osvaldo's spec file with gfoot's spec and some other changes
cvsextras 69fd365
cvsextras 69fd365
* Wed Sep 27 2000 Osvaldo Santana Neto <osvaldo@conectiva.com>
cvsextras 69fd365
- updated to 3.9.33