From 178e9524443b43680348929abdf5ac8f65484d7e8ef024627865bb46333b872f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Thu, 29 Sep 2011 14:17:55 +0000 Subject: [PATCH] Accepting request 85462 from home:RedDwarf To submit to Factory. It's needed by frei0r-plugins from GNOME:Apps. OBS-URL: https://build.opensuse.org/request/show/85462 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gavl?expand=0&rev=1 --- .gitattributes | 23 +++++++++ .gitignore | 1 + gavl-1.2.0-overflow.patch | 13 +++++ gavl-1.2.0.tar.gz | 3 ++ gavl.changes | 5 ++ gavl.spec | 103 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 148 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 gavl-1.2.0-overflow.patch create mode 100644 gavl-1.2.0.tar.gz create mode 100644 gavl.changes create mode 100644 gavl.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/gavl-1.2.0-overflow.patch b/gavl-1.2.0-overflow.patch new file mode 100644 index 0000000..444bc66 --- /dev/null +++ b/gavl-1.2.0-overflow.patch @@ -0,0 +1,13 @@ +Index: gavl/videoframe.c +=================================================================== +--- gavl/videoframe.c.orig ++++ gavl/videoframe.c +@@ -1510,7 +1510,7 @@ void gavl_video_frame_fill(gavl_video_fr + uint16_t packed_16; + uint8_t packed_32[4]; + uint16_t packed_64[4]; +- float color_float[2]; ++ float color_float[4]; + + gavl_init_memcpy(); + diff --git a/gavl-1.2.0.tar.gz b/gavl-1.2.0.tar.gz new file mode 100644 index 0000000..d156910 --- /dev/null +++ b/gavl-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:814120339f7a99d35c36e0eb61ba6cf60bd939ee4a47d73a17f3ba1438c5f88e +size 4589139 diff --git a/gavl.changes b/gavl.changes new file mode 100644 index 0000000..2fa48f8 --- /dev/null +++ b/gavl.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sat Jan 8 16:43:14 UTC 2011 - reddwarf@opensuse.org + +- Initial package + diff --git a/gavl.spec b/gavl.spec new file mode 100644 index 0000000..da54d6d --- /dev/null +++ b/gavl.spec @@ -0,0 +1,103 @@ +# +# 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: GPLv3+ +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