%define name libvisual %define version 0.4.0 %define major 0 %define libname %mklibname visual %major %define develname %mklibname -d visual Name: %{name} Version: %{version} Release: %mkrel 14 Summary: Audio visualisation framework Source0: %{name}-%{version}.tar.bz2 Patch: libvisual-0.4.0-fix-str-fmt.patch License: LGPLv2+ Group: System/Libraries Url: http://localhost.nl/~synap/libvisual %description Libvisual is a library that acts as a middle layer between applications that want audio visualisation and audio visualisation plugins. Libvisual is aimed at developers who have a need for audio visualisation and those who actually write the visualisation plugins. #-------------------------------------------------------------------- %package -n %libname Group: System/Libraries Summary: Shared library of the audio visualisation framework Provides: %name = %version-%release Obsoletes: libvisual-plugins < 0.4.0 Conflicts: gstreamer0.10-libvisual <= 0.10.7-1mdk Suggests: libvisual-plugins %description -n %libname Libvisual is a library that acts as a middle layer between applications that want audio visualisation and audio visualisation plugins. Libvisual is aimed at developers who have a need for audio visualisation and those who actually write the visualisation plugins. %files -n %libname -f %name-0.4.lang %defattr(-,root,root) %doc README NEWS TODO ChangeLog AUTHORS %_libdir/libvisual-0.4.so.%{major}* #-------------------------------------------------------------------- %package -n %develname Group: Development/C Summary: Header files of the audio visualisation framework Requires: %libname = %version Provides: libvisual-devel = %version-%release Obsoletes: %{_lib}visual0-devel < %version-%release %description -n %develname Libvisual is a library that acts as a middle layer between applications that want audio visualisation and audio visualisation plugins. Libvisual is aimed at developers who have a need for audio visualisation and those who actually write the visualisation plugins. %files -n %develname %defattr(-,root,root) %_includedir/* %_libdir/*.so %_libdir/pkgconfig/* #-------------------------------------------------------------------- %prep %setup -q %patch %build %configure2_5x --disable-static %make %install rm -rf %buildroot %makeinstall_std %find_lang %name-0.4 find %buildroot -name '*.la' | xargs rm %clean rm -rf %buildroot %changelog * Sat Jan 12 2013 umeabot <umeabot> 0.4.0-14.mga3 + Revision: 358378 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Sep 21 2011 fwang <fwang> 0.4.0-13.mga2 + Revision: 146367 - drop .la files * Fri Jan 14 2011 dmorgan <dmorgan> 0.4.0-12.mga1 + Revision: 17716 - Get rid of mdv macros - imported package libvisual