Name: libgavl Version: 1.4.0 Release: 2mamba Summary: Library for handling uncompressed audio and video data Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://gmerlin.sourceforge.net/ Source: http://downloads.sourceforge.net/project/gmerlin/gavl/%{version}/gavl-%{version}.tar.gz Patch0: libgavl-1.2.0-overflow.patch Patch1: libgavl-1.2.0-system_libgdither.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END BuildRequires: doxygen BuildRequires: libpng-devel BuildRequires: libsamplerate-devel %description Gavl is short for Gmerlin Audio Video Library. It is a low level library, upon which multimedia APIs can be built. Gavl handles all the details of audio and video formats like colorspaces, samplerates, multichannel configurations etc. It provides standardized definitions for those formats as well as container structures for carrying audio samples or video images inside an application. In addition, it handles the sometimes ugly task to convert between all these formats and provides some elementary operations (copying, scaling, alpha blending etc). %package devel Group: Development/Libraries Summary: Libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel Gavl - A library for handling uncompressed audio and video data. This package contains libraries and header files need for development. %package docs Group: Documentation Summary: Documentation for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description docs Gavl - A library for handling uncompressed audio and video data. This package contains documentation for %{name}. %debug_package %prep %setup -q -n gavl-%{version} #%patch0 -p0 %patch1 -p1 sed -i -i 's/LQT_TRY_CFLAGS/dnl LQT_TRY_CFLAGS/g' configure.ac sed -i -i 's/LQT_OPT_CFLAGS/dnl LQT_OPT_CFLAGS/g' configure.ac sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" configure.ac sh autogen.sh %build %configure \ --enable-shared \ --disable-static \ --disable-cpu-clip \ --enable-libgdither %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall rm -rf %{buildroot}%{_libdir}/lib*.la #touch -r include/gavl/gavl.h %{buildroot}%{_includedir}/gavl/gavl_version.h %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libgavl.so.* %doc AUTHORS COPYING %files devel %defattr(-,root,root) %dir %{_includedir}/gavl %{_includedir}/gavl/*.h %{_libdir}/libgavl.so %{_libdir}/pkgconfig/gavl.pc %doc README TODO %files docs %defattr(-,root,root) %{_docdir}/gavl %changelog * Tue Feb 13 2024 Silvan Calarco 1.4.0-2mamba - rebuilt with debug package * Fri Jan 11 2013 Silvan Calarco 1.4.0-1mamba - update to 1.4.0 * Thu Mar 10 2011 gil 1.2.0-1mamba - package created by autospec