From b208cd1a381cbdabbb534245f71fcbb1cedd25a7 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Jul 13 2011 07:59:00 +0000 Subject: Rebuilt for new allegro-4.4 --- diff --git a/AllegroOGG.spec b/AllegroOGG.spec index a09a553..0d4f3d3 100644 --- a/AllegroOGG.spec +++ b/AllegroOGG.spec @@ -1,14 +1,13 @@ -Name: AllegroOGG -Version: 1.0.3 -Release: 7%{?dist} +Name: AllegroOGG +Version: 1.0.3 +Release: 8%{?dist} Summary: Ogg library for use with the Allegro game library Group: System Environment/Libraries -License: BSD -URL: http://nekros.freeshell.org/delirium/alogg.html +License: BSD +URL: http://www.allegro.cc/resource/Libraries/Audio/alogg Source0: http://www.hero6.com/filereviver/alogg.zip Source1: AllegroOGG.pc.in -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: allegro-devel libvorbis-devel +BuildRequires: allegro-devel libvorbis-devel %description %{name} is an Allegro wrapper for the Ogg Vorbis decoder from the Xiph.org @@ -17,10 +16,10 @@ amongst a lot of other capabilites. %package devel -Summary: Developmental libraries and include files for AllegroOgg -Group: Development/Libraries -Requires: %{name} = %{version} -Requires: allegro-devel pkgconfig +Summary: Developmental libraries and include files for AllegroOgg +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: allegro-devel %description devel Development libraries and include files for developing applications using @@ -39,13 +38,10 @@ the %{name} library. # of libogg and libvorbis and there is only one source file so lets DIY gcc $RPM_OPT_FLAGS -fPIC -DPIC -Iinclude -c src/alogg.c -o src/alogg.o gcc -g -shared -Wl,-soname=lib%{name}.so.0 -o lib%{name}.so.0 \ - src/alogg.o -logg -lvorbis -lvorbisfile \ - `allegro-config --libs | sed 's/-lalleg_unsharable//'` + src/alogg.o -logg -lvorbis -lvorbisfile $(allegro-config --libs) %install -rm -rf $RPM_BUILD_ROOT - mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig install -m 755 lib%{name}.so.0 $RPM_BUILD_ROOT%{_libdir} ln -s lib%{name}.so.0 $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so @@ -56,14 +52,9 @@ install -m 644 include/* $RPM_BUILD_ROOT%{_includedir}/%{name} %post -p /sbin/ldconfig - %postun -p /sbin/ldconfig -%clean -rm -rf $RPM_BUILD_ROOT - - %files %defattr(-,root,root,-) %doc docs/*.txt @@ -76,6 +67,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Jul 13 2011 Hans de Goede - 1.0.3-8 +- Rebuilt for new allegro-4.4 + * Mon Feb 07 2011 Fedora Release Engineering - 1.0.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild