public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Andreas Schneider <asn@cryptomilk.org>
To: git-commits@fedoraproject.org
Subject: [rpms/libavif] epel9-next: Initial package
Date: Tue, 14 Jul 2026 21:39:44 GMT	[thread overview]
Message-ID: <178406518402.1.1855458467018924217.rpms-libavif-4296ae81f912@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/libavif
Branch : epel9-next
Commit : 4296ae81f9121a2a65c6942874611bf7b559ab17
Author : Andreas Schneider <asn@cryptomilk.org>
Date   : 2020-03-04T15:57:45+01:00
Stats  : +98/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/libavif/c/4296ae81f9121a2a65c6942874611bf7b559ab17?branch=epel9-next

Log:
Initial package

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b264950
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/libavif-0.5.7.tar.gz

diff --git a/libavif.spec b/libavif.spec
new file mode 100644
index 0000000..f9025a3
--- /dev/null
+++ b/libavif.spec
@@ -0,0 +1,96 @@
+%bcond_with aom
+
+Name:           libavif
+Version:        0.5.7
+Release:        1%{?dist}
+Summary:        Library for encoding and decoding .avif files
+License:        BSD
+Group:          Development/Libraries/C and C++
+Url:            https://github.com/AOMediaCodec/libavif
+
+Source0:        https://github.com/AOMediaCodec/libavif/archive/v%{version}/%{name}-%{version}.tar.gz
+
+BuildRequires:  cmake
+BuildRequires:  gcc-c++
+BuildRequires:  nasm
+BuildRequires:  pkgconfig(dav1d)
+%if %{with aom}
+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 devel
+Requires:       %{name} = %{version}-%{release}
+Summary:        Development files for libavif
+
+%description devel
+This package holds the development files for libavif.
+
+%package tools
+Summary:        Tools for libavif
+
+%description tools
+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/
+
+This package holds the commandline tools for libavif.
+
+%prep
+%autosetup -p1
+
+%build
+mkdir -p obj
+pushd obj
+%cmake \
+    -DAVIF_CODEC_RAV1E:BOOL=ON \
+    -DAVIF_CODEC_DAV1D:BOOL=ON \
+    %if %{with aom}
+    -DAVIF_CODEC_AOM:BOOL=ON \
+    %endif
+    -DAVIF_BUILD_APPS:BOOL=ON \
+    -DAVIF_BUILD_EXAMPLES:BOOL=ON \
+    %{_builddir}/%{name}-%{version}
+make %{?_smp_mflags}
+popd
+
+%install
+pushd obj
+make %{?_smp_mflags} DESTDIR=%{buildroot} install
+popd
+
+%ldconfig_scriptlets
+
+%files
+%license LICENSE
+%{_libdir}/libavif.so.*
+
+%files devel
+%license LICENSE
+%{_libdir}/libavif.so
+%{_includedir}/avif/
+%{_libdir}/cmake/libavif/
+%{_libdir}/pkgconfig/libavif.pc
+
+%files tools
+%doc CHANGELOG.md README.md
+%license LICENSE
+%{_bindir}/avifdec
+%{_bindir}/avifenc
+
+%changelog
+* Wed Mar 04 2020 Andreas Schneider <asn@redhat.com> - 0.5.7-1
+- Update to version 0.5.7
+
+* Wed Mar 04 2020 Andreas Schneider <asn@redhat.com> - 0.5.3-2
+- Fix License
+
+* Sun Feb 16 2020 Andreas Schneider <asn@redhat.com> - 0.5.3-1
+- Initial version

diff --git a/sources b/sources
new file mode 100644
index 0000000..a1fde8c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (libavif-0.5.7.tar.gz) = 81a3517534f1dfffb9e999de6f563b5d9b1eef51c3f59897cf5b454d28af423c12ba347808ccef65dcc720e1edccf02cd91ab34f206c2b3a45da8e59bae817dc

                 reply	other threads:[~2026-07-14 21:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178406518402.1.1855458467018924217.rpms-libavif-4296ae81f912@fedoraproject.org \
    --to=asn@cryptomilk.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox