Accepting request 774727 from multimedia:libs

- Update to version 0.5.5
  https://github.com/AOMediaCodec/libavif/releases/tag/v0.5.5
- Rename libavif-tools to avif-tools
  This fixes an rpmlint warning

OBS-URL: https://build.opensuse.org/request/show/774727
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libavif?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2020-02-18 09:36:33 +00:00 committed by Git OBS Bridge
commit 66f7f71960
4 changed files with 33 additions and 19 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f695828f8673cf0940171f3dd60aa2d5206ecf53d2d568a208cba41244199f9b
size 64973

3
libavif-0.5.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4ed3381142bc25421294b01e5d5bc786d1d9d6bb3d66b646ad01d64d62caed44
size 2859008

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun Feb 16 19:03:03 UTC 2020 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 0.5.5
https://github.com/AOMediaCodec/libavif/releases/tag/v0.5.5
- Rename libavif-tools to avif-tools
This fixes an rpmlint warning
-------------------------------------------------------------------
Wed Dec 11 18:10:04 UTC 2019 - Andreas Schneider <asn@cryptomilk.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package libavif
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,20 +12,21 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%bcond_with aom
%define lib_name libavif0
Name: libavif
Version: 0.5.3
Version: 0.5.5
Release: 0
Summary: Library for encoding and decoding .avif files
License: BSD-2-Clause
Group: Development/Libraries/C and C++
Url: https://github.com/AOMediaCodec/libavif
URL: https://github.com/AOMediaCodec/libavif
Source: https://github.com/AOMediaCodec/libavif/archive/v%{version}/%{name}-%{version}.tar.gz
Patch: https://github.com/cryptomilk/libavif/commit/cbcf62c2200be83b85b48059c819ae708216ccec.patch
BuildRequires: cmake
@ -36,17 +37,20 @@ BuildRequires: pkgconfig(dav1d)
BuildRequires: pkgconfig(aom)
%endif
BuildRequires: pkgconfig(rav1e)
%description
This library aims to be a friendly, portable C implementation of the AV1 Image
File Format, as described here:
https://aomediacodec.github.io/av1-avif/
%package tools
Group: Productivity/Graphics/Convertors
#
%package -n avif-tools
Summary: Tools for libavif
%description tools
Group: Productivity/Graphics/Convertors
Provides: libavif-tools = %{version}
Obsoletes: libavif-tools < %{version}
%description -n avif-tools
This library aims to be a friendly, portable C implementation of the AV1 Image
File Format, as described here:
@ -55,9 +59,10 @@ https://aomediacodec.github.io/av1-avif/
This package holds the commandline tools for libavif.
%package -n %{lib_name}
Group: Development/Libraries/C and C++
#
Summary: Shared library from libavif
Group: Development/Libraries/C and C++
%description -n %{lib_name}
This library aims to be a friendly, portable C implementation of the AV1 Image
File Format, as described here:
@ -67,10 +72,11 @@ https://aomediacodec.github.io/av1-avif/
This package holds the shared library for libavif.
%package devel
Group: Development/Libraries/C and C++
Requires: %{lib_name} = %{version}-%{release}
#
Summary: Development files for libavif
Group: Development/Libraries/C and C++
%description devel
This library aims to be a friendly, portable C implementation of the AV1 Image
File Format, as described here:
@ -99,12 +105,6 @@ make %{?_smp_mflags}
%post -n %{lib_name} -p /sbin/ldconfig
%postun -n %{lib_name} -p /sbin/ldconfig
%files tools
%doc *.md
%license LICENSE
%{_bindir}/avifdec
%{_bindir}/avifenc
%files -n %{lib_name}
%license LICENSE
%{_libdir}/libavif.so.*
@ -115,4 +115,10 @@ make %{?_smp_mflags}
%{_includedir}/avif/
%{_libdir}/cmake/libavif/
%files -n avif-tools
%doc *.md
%license LICENSE
%{_bindir}/avifdec
%{_bindir}/avifenc
%changelog