From 0bdf38ec5fbde29883f65b54f4d9871a129ce21b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= Date: Tue, 11 Dec 2018 20:23:35 +0100 Subject: [PATCH] Initial import (#1652305) --- .gitignore | 1 + dav1d.spec | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 72 insertions(+) create mode 100644 .gitignore create mode 100644 dav1d.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8dc929c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/dav1d-0.1.0.tar.gz diff --git a/dav1d.spec b/dav1d.spec new file mode 100644 index 0000000..3087fbf --- /dev/null +++ b/dav1d.spec @@ -0,0 +1,70 @@ +Name: dav1d +Version: 0.1.0 +Release: 1%{?dist} +Summary: AV1 cross-platform Decoder + +License: BSD +URL: https://code.videolan.org/videolan/dav1d +Source0: %url/-/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: nasm +BuildRequires: meson >= 0.47.0 + +%description +dav1d is a new AV1 cross-platform Decoder, open-source, and focused on speed +and correctness. + + +%package -n libdav1d +Summary: Library files for dav1d + +%description -n libdav1d +Library files for dav1d, the AV1 cross-platform Decoder. + + +%package -n libdav1d-devel +Summary: Development files for dav1d +Requires: libdav1d%{?_isa} = %{version}-%{release} + +%description -n libdav1d-devel +Development files for dav1d, the AV1 cross-platform Decoder. + + +%prep +%autosetup -n %{name}-%{version} + + +%build +%meson --buildtype=release +%meson_build + + +%install +%meson_install + + +%check +%meson_test + + +%files +%license COPYING doc/PATENTS +%doc CONTRIBUTING.md NEWS README.md +%{_bindir}/dav1d + + +%files -n libdav1d +%license COPYING doc/PATENTS +%{_libdir}/libdav1d.so.0* + + +%files -n libdav1d-devel +%{_includedir}/%{name} +%{_libdir}/libdav1d.so +%{_libdir}/pkgconfig/%{name}.pc + + +%changelog +* Mon Dec 11 2018 Robert-André Mauchin - 0.1.0-1 +- Initial build diff --git a/sources b/sources new file mode 100644 index 0000000..7c84e74 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (dav1d-0.1.0.tar.gz) = 005c25df0f45568ccafbda4a268cbc7b7c4e273540c8f08131fa89684658430fec9c03c2221ccd739514f9414840a40b73e7b84b841e56fca94b480a91e7c154