Accepting request 1088400 from home:jengelh:branches:multimedia:libs

- Trim redundancies and compact descriptions.

OBS-URL: https://build.opensuse.org/request/show/1088400
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libyuv?expand=0&rev=13
This commit is contained in:
Callum Farmer 2023-05-22 16:24:43 +00:00 committed by Git OBS Bridge
parent 163170ebd4
commit 8431470a67
2 changed files with 18 additions and 25 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 22 13:35:51 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Trim redundancies and compact descriptions.
-------------------------------------------------------------------
Sun May 21 13:13:13 UTC 2023 - Bruno Pitrus <brunopitrus@hotmail.com>

View File

@ -21,7 +21,7 @@ Version: 20230517+a377993
Release: 0
Summary: YUV scaling and conversion library
License: BSD-3-Clause
Group: Productivity/Multimedia/Other
Group: Productivity/Graphics/Other
URL: https://chromium.googlesource.com/libyuv/libyuv/
Source0: %{name}-%{version}.tar.xz
Source99: baselibs.conf
@ -40,21 +40,16 @@ BuildRequires: pkgconfig(gtest)
BuildRequires: pkgconfig(libjpeg)
%description
libyuv is an open source project that includes YUV scaling and conversion functionality.
- Scale YUV to prepare content for compression, with point, bilinear or box filter.
- Convert to YUV from webcam formats for compression.
- Convert to RGB formats for rendering/effects.
- Rotate by 90/180/270 degrees to adjust for mobile devices in portrait mode.
- Optimized for SSSE3/AVX2 on x86/x64.
- Optimized for Neon on Arm.
- Optimized for MSA on Mips.
libyuv is a project for YUV image scaling and conversion. It can
convert between RGB and YUV, scale images with point/bilinear/box
filter, rotate by 90/180/270°, and offers SSE/NEON/MSA acceleration.
%package -n libyuv0
Summary: YUV scaling and conversion library
Group: System/Libraries
%description -n libyuv0
libyuv is an open source project that includes YUV scaling and conversion functionality.
libyuv is a project for YUV image scaling and conversion.
%package devel
Summary: Development files for the YUV scaling and conversion library
@ -63,25 +58,19 @@ Requires: libyuv0%{_isa} = %{version}
%description devel
This package contains the development files
for the YUV scaling and conversion library
for the YUV scaling and conversion library.
%package tools
Summary: YUV scaling and conversion library Command line utilities
Group: Productivity/Multimedia/Other
Summary: Command line utilities from libyuv
Group: Productivity/Graphics/Other
%description tools
libyuv is an open source project that includes YUV scaling and conversion functionality.
- Scale YUV to prepare content for compression, with point, bilinear or box filter.
- Convert to YUV from webcam formats for compression.
- Convert to RGB formats for rendering/effects.
- Rotate by 90/180/270 degrees to adjust for mobile devices in portrait mode.
- Optimized for SSSE3/AVX2 on x86/x64.
- Optimized for Neon on Arm.
- Optimized for MSA on Mips.
libyuv is a project for YUV image scaling and conversion. It can
convert between RGB and YUV, scale images with point/bilinear/box
filter, rotate by 90/180/270°, and offers SSE/NEON/MSA acceleration.
This package contains the yuvconvert and yuvconstants commandline programs.
%prep
%autosetup -p1
@ -115,8 +104,7 @@ install -pDm0644 %{name}.pc %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
%ldconfig_scriptlets -n libyuv0
%check
LD_LIBRARY_PATH=$(pwd)/build ./build/libyuv_unittest
LD_LIBRARY_PATH=$PWD/build ./build/libyuv_unittest
%files -n libyuv0
%{_libdir}/libyuv.so.*