Initial package.
This commit is contained in:
parent
a12d8b95c5
commit
357cc24b85
BIN
dav1d-0.5.2.tar.bz2
Normal file
BIN
dav1d-0.5.2.tar.bz2
Normal file
Binary file not shown.
63
dav1d.spec
Normal file
63
dav1d.spec
Normal file
@ -0,0 +1,63 @@
|
||||
Name: dav1d
|
||||
Version: 0.5.2
|
||||
Release: 1
|
||||
Summary: AV1 cross-platform Decoder
|
||||
|
||||
License: BSD
|
||||
URL: https://code.videolan.org/videolan/dav1d
|
||||
Source0: %url/-/archive/%{version}/%{name}-%{version}.tar.bz2
|
||||
|
||||
BuildRequires: gcc nasm doxygen
|
||||
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 -p1 -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
%meson --buildtype=release
|
||||
|
||||
%meson_build
|
||||
%meson_build doc/html
|
||||
|
||||
%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.3*
|
||||
|
||||
%files -n libdav1d-devel
|
||||
%doc %{_host_alias}/doc/html
|
||||
%{_includedir}/%{name}
|
||||
%{_libdir}/libdav1d.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%changelog
|
||||
* Fri May 07 2021 weidong <weidong@uniontech.com> - 0.5.2-1
|
||||
- Initial package.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user