%define git %nil #8e379f1d64bf09224ce2863b0d8aeb7cbfde92d6 %define shortgit %(c=%{git}; echo ${c:0:7}) %define date 20190304 %define major 1 %define libname %mklibname %{name} %{major} %define devel %mklibname %{name} -d %if "%{git}" %define relver %mkrel -c git%{date} %{rel} %define srcdir %{name}-%{git} %else %define relver %mkrel %{rel} %define srcdir %{name}-%{version} %endif %define rel 2 Name: dav1d Version: 0.2.2 Release: %{relver} Summary: dav1d is an AV1 decoder Group: Video/Utilities License: BSD URL: https://code.videolan.org/videolan/dav1d %if "%{git}" Source0: https://code.videolan.org/videolan/dav1d/-/archive/%{git}/%{name}-%{version}_%{date}_git%{shortgit}.tar.bz2 %else Source0: https://code.videolan.org/videolan/dav1d/-/archive/%{version}/%{name}-%{version}.tar.bz2 %endif BuildRequires: nasm BuildRequires: meson %description Dav1d is a new AV1 cross-platform decoder, open-source, and focused on speed and correctness. This project is partially funded by the Alliance for Open Media/AOM. The goal of this project is to provide a decoder for most platforms, and achieve the highest speed possible to overcome the lack of AV1 hardware decoder. It aims to support all features from AV1, including all subsampling and bit-depth parameters. In the future, this project will host simple tools or simple wrappings (like, for example, an MFT transform). %package -n %{libname} Summary: Dav1d is an AV1 decoder Group: System/Libraries %description -n %{libname} Dav1d is a new AV1 cross-platform decoder, open-source, and focused on speed and correctness. This project is partially funded by the Alliance for Open Media/AOM. The goal of this project is to provide a decoder for most platforms, and achieve the highest speed possible to overcome the lack of AV1 hardware decoder. It aims to support all features from AV1, including all subsampling and bit-depth parameters. In the future, this project will host simple tools or simple wrappings (like, for example, an MFT transform). %package -n %{devel} Summary: Dav1d is an AV1 decoder Group: System/Libraries Requires: %{libname} = %{version}-%{release} %description -n %{devel} Dav1d is a new AV1 cross-platform decoder, open-source, and focused on speed and correctness. This project is partially funded by the Alliance for Open Media/AOM. The goal of this project is to provide a decoder for most platforms, and achieve the highest speed possible to overcome the lack of AV1 hardware decoder. It aims to support all features from AV1, including all subsampling and bit-depth parameters. In the future, this project will host simple tools or simple wrappings (like, for example, an MFT transform). %prep %autosetup -n %{srcdir} %build %meson %meson_build %install %meson_install %files %license COPYING %doc CONTRIBUTING.md README.md THANKS.md NEWS %{_bindir}/%{name} %files -n %{devel} %{_includedir}/%{name}/ %{_libdir}/libdav1d.so %{_libdir}/pkgconfig/%{name}.pc %files -n %{libname} %{_libdir}/libdav1d.so.%{major}{,.*} %changelog * Sat Apr 27 2019 kekepower <kekepower> 0.2.2-2.mga7 + Revision: 1395773 - Update to version 0.2.2 * Wed Apr 17 2019 umeabot <umeabot> 0.2.1-2.mga7 + Revision: 1392141 - Rebuild with meson 0.50.1 * Fri Mar 15 2019 kekepower <kekepower> 0.2.1-1.mga7 + Revision: 1377592 - Update to version 0.2.1 * Tue Mar 05 2019 kekepower <kekepower> 0.2.0-1.mga7 + Revision: 1371645 - Update to version 0.2.0 - New lib major is now 1 * Thu Dec 13 2018 kekepower <kekepower> 0.1.0-0.git20181212.1.mga7 + Revision: 1340949 - Version 0.1.0 * Mon Dec 10 2018 kekepower <kekepower> 0.0.1-0.git20181209.1.mga7 + Revision: 1339824 - Update to git revsion from 20181209 * Thu Nov 29 2018 kekepower <kekepower> 0.0.1-0.git20181128.1.mga7 + Revision: 1336708 - imported package dav1d