dav1d/dav1d.spec

72 lines
1.6 KiB
RPMSpec
Raw Normal View History

2021-05-08 10:06:25 +08:00
Name: dav1d
2023-04-12 15:48:52 +08:00
Version: 1.1.0
Release: 1
2021-05-08 10:06:25 +08:00
Summary: AV1 cross-platform Decoder
License: BSD
URL: https://code.videolan.org/videolan/dav1d
2022-06-17 17:19:55 +08:00
Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.bz2
2021-05-08 10:06:25 +08:00
2023-04-12 15:48:52 +08:00
BuildRequires: gcc doxygen
BuildRequires: nasm >= 2.14
BuildRequires: meson >= 0.49.0
BuildRequires: pkgconfig(libxxhash)
2021-05-08 10:06:25 +08:00
%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
2023-04-12 15:48:52 +08:00
%meson
2021-05-08 10:06:25 +08:00
%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
2023-04-12 15:48:52 +08:00
%{_libdir}/libdav1d.so.6*
2021-05-08 10:06:25 +08:00
%files -n libdav1d-devel
%{_includedir}/%{name}
%{_libdir}/libdav1d.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog
2023-04-12 15:48:52 +08:00
* Wed Apr 12 2023 liweiganga <liweiganga@uniontech.com> - 1.1.0-1
- update to 1.1.0
2022-06-17 17:19:55 +08:00
* Mon Jun 20 2022 zhangfan <zhangfan4@kylinos.cn> - 0.5.2-3
- Update Source0
2021-06-26 17:54:51 +08:00
* Sat Jun 26 2021 caodongxia <caodongxia@huawei.com> - 0.5.2-2
- Fix doc/html build method.
2021-05-08 10:06:25 +08:00
* Fri May 07 2021 weidong <weidong@uniontech.com> - 0.5.2-1
- Initial package.