Name: libalure Version: 1.0 Release: 2%{?dist} Summary: Audio Library Tools REloaded Group: System Environment/Libraries License: LGPLv2 URL: http://kcat.strangesoft.net/alure.html Source0: http://kcat.strangesoft.net/alure-releases/alure-%{version}-src.tar.bz2 # patch to compile with GCC 4.4 Patch0: alure_compile_with_gcc44.patch # set correct pkgconfig path for multilib Patch1: alure_multilib_pkgconfig.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # flac-devel not BRed as build against flac currently fails BuildRequires: cmake, libvorbis-devel, libsndfile-devel, openal-devel %description ALURE is a utility library to help manage common tasks with OpenAL applications. This includes device enumeration and initialization, file loading, and streaming. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q -n alure-%{version} %patch0 -p1 %patch1 -p1 %build # disable build against FLAC (currently fails) %cmake . -DFLAC:BOOL=OFF make VERBOSE=1 %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} find %{buildroot} -name '*.la' -exec rm -f {} ';' # strip installed html doc rm -rf %{buildroot}%{_docdir}/alure/html %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %doc docs/html %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog * Mon Sep 28 2009 Guido Grazioli - 1.0-2 - Fix multilib pkgconfig path * Sat Sep 26 2009 Guido Grazioli - 1.0-1 - Initial packaging