# # spec file for package gavl # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define soname 1 Name: gavl Version: 1.2.0 Release: 0 License: GPL-3.0+ Summary: Library which provides basic support for uncompressed multimedia data Url: http://gmerlin.sourceforge.net/ Group: System/Libraries Source0: http://sourceforge.net/projects/gmerlin/files/gavl/%{version}/gavl-%{version}.tar.gz # PATCH-FIX-UPSTREAM gavl-1.2.0-overflow.patch gmerlin-general_ML_2011-01-08 19:12 reddwarf@opensuse.org -- Fix buffer overflow Patch0: gavl-1.2.0-overflow.patch BuildRequires: doxygen BuildRequires: pkg-config %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 -n libgavl%{soname} Summary: Library which provides basic support for uncompressed multimedia data Group: System/Libraries %description -n libgavl%{soname} 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 %package -n libgavl-devel Summary: Library which provides basic support for uncompressed multimedia data Group: Development/Libraries/C and C++ Requires: libgavl%{soname} = %{version} %description -n libgavl-devel 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). %prep %setup -q %patch0 %build %configure --docdir=%{_docdir}/%{name} make %{?_smp_mflags} %install %make_install find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %post -n libgavl%{soname} -p /sbin/ldconfig %postun -n libgavl%{soname} -p /sbin/ldconfig %files -n libgavl%{soname} %defattr(0644, root, root, 0755) %doc AUTHORS COPYING README TODO %{_libdir}/libgavl.so.%{soname}* %files -n libgavl-devel %defattr(0644, root, root, 0755) %{_docdir}/%{name}/ %{_libdir}/libgavl.so %{_includedir}/%{name}/ %{_libdir}/pkgconfig/%{name}.pc %changelog