- Enable building of JACK (Jack Audio Connection Kit) sound output plugin

- Put non default sound output plugins in their own subpackage to avoid
    dragging in unwanted deps (allegro-esound-plugin, allegro-arts-plugin,
    allegro-jack-plugin) (bz 250736)
- Make man pages and info file UTF-8
This commit is contained in:
Hans de Goede 2007-08-12 21:23:40 +00:00
commit d54327b83d

View file

@ -1,12 +1,12 @@
Name: allegro
Version: 4.2.2
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A game programming library
Summary(es): Una libreria de programacion de juegos
Summary(fr): Une librairie de programmation de jeux
Summary(it): Una libreria per la programmazione di videogiochi
Summary(cz): Knihovna pro programování her
Summary(cs): Knihovna pro programování her
Group: System Environment/Libraries
License: Giftware
@ -22,8 +22,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: esound-devel, texinfo, perl, arts-devel
BuildRequires: xorg-x11-proto-devel, libX11-devel, libXext-devel, libXt-devel
BuildRequires: libXpm-devel, libXcursor-devel, libXxf86vm-devel
BuildRequires: libXxf86dga-devel, autoconf
Requires: timidity++
BuildRequires: libXxf86dga-devel, jack-audio-connection-kit-devel, autoconf
Requires: timidity++
%ifarch %{ix86}
Requires(post): policycoreutils /sbin/ldconfig
Requires(postun): policycoreutils /sbin/ldconfig
@ -54,7 +54,7 @@ Summary: A game programming library
Summary(es): Una libreria de programacion de juegos
Summary(fr): Une librairie de programmation de jeux
Summary(it): Una libreria per la programmazione di videogiochi
Summary(cz): Knihovna pro programování her
Summary(cs): Knihovna pro programování her
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}, xorg-x11-proto-devel
Requires: libX11-devel, libXcursor-devel
@ -91,7 +91,7 @@ Summary: Extra tools for the Allegro programming library
Summary(es): Herramientas adicionales para la librería de programación Allegro
Summary(fr): Outils supplémentaires pour la librairie de programmation Allegro
Summary(it): Programmi di utilità aggiuntivi per la libreria Allegro
Summary(cz): Přídavné nástroje pro programovou knihovnu Allegro
Summary(cs): Přídavné nástroje pro programovou knihovnu Allegro
Group: Development/Tools
Requires: %{name} = %{version}-%{release}
@ -123,6 +123,33 @@ Allegro je multiplatformní knihovna pro počítačové hry a jiné
typy multimediálního programování. Tento balíček obsahuje přídavné nástroje,
které jsou užitečné pro vývoj Allegro programů.
%package esound-plugin
Summary: Allegro Enlightened Sound Daemon plugin
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
%description esound-plugin
This package contains a plugin for Allegro which enables Allegro to playback
sound through the Enlightened Sound Daemon (ESD / esound).
%package arts-plugin
Summary: Allegro aRts (analog realtime synthesizer) plugin
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
%description arts-plugin
This package contains a plugin for Allegro which enables Allegro to playback
sound through aRts (analog realtime synthesizer).
%package jack-plugin
Summary: Allegro JACK (Jack Audio Connection Kit) plugin
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
%description jack-plugin
This package contains a plugin for Allegro which enables Allegro to playback
sound through JACK (Jack Audio Connection Kit).
%prep
%setup -q
@ -132,6 +159,8 @@ které jsou užitečné pro vývoj Allegro programů.
%patch4 -p1 -z .multilib
%patch5 -p1 -z .noexecmod
%patch6 -p1 -z .multilib2
iconv -f iso-8859-1 -t utf-8 docs/src/allegro._tx > docs/src/allegro._tx.tmp
mv docs/src/allegro._tx.tmp docs/src/allegro._tx
%build
@ -209,6 +238,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/liballeg*.so*
%{_libdir}/allegro
%{_datadir}/allegro
%exclude %{_libdir}/allegro/%{version}/alleg-esddigi.so
%exclude %{_libdir}/allegro/%{version}/alleg-artsdigi.so
%exclude %{_libdir}/allegro/%{version}/alleg-jackdigi.so
%files devel
%defattr(-,root,root,-)
@ -239,8 +271,27 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/rgbmap
%{_bindir}/textconv
%files esound-plugin
%defattr(-,root,root,-)
%{_libdir}/allegro/%{version}/alleg-esddigi.so
%files arts-plugin
%defattr(-,root,root,-)
%{_libdir}/allegro/%{version}/alleg-artsdigi.so
%files jack-plugin
%defattr(-,root,root,-)
%{_libdir}/allegro/%{version}/alleg-jackdigi.so
%changelog
* Sun Aug 12 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 4.2.2-3
- Enable building of JACK (Jack Audio Connection Kit) sound output plugin
- Put non default sound output plugins in their own subpackage to avoid
dragging in unwanted deps (allegro-esound-plugin, allegro-arts-plugin,
allegro-jack-plugin) (bz 250736)
- Make man pages and info file UTF-8
* Tue Jul 24 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 4.2.2-2
- sync .libdir patch to 4.2.2 and use it again for multilib devel goodness
(make allegro-devel i386 and x86_64 parallel installable again)
@ -251,7 +302,7 @@ rm -rf $RPM_BUILD_ROOT
- sync .multilib patch
* Fri Jul 6 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 4.2.1-3
- Silence output of chcon command in %post, because otherwise users get this:
- Silence output of chcon command in %%post, because otherwise users get this:
"chcon: can't apply partial context to unlabeled file" when installing with
selinux disabled (bz 246820)