libvdpau/libvdpau.spec
2023-10-11 14:46:13 +08:00

68 lines
1.7 KiB
RPMSpec

Name: libvdpau
Version: 1.5
Release: 1
Summary: Wrapper library for the Video Decode and Presentation API for UNIX
License: MIT
URL: http://freedesktop.org/wiki/Software/VDPAU
Source0: https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/%{version}/libvdpau-%{version}.tar.bz2
BuildRequires: doxygen, gcc-c++, graphviz, libtool, libX11-devel, libXext-devel, meson
BuildRequires: tex(latex), xorg-x11-proto-devel
Provides: %{name}-trace%{?_isa} %{name}-trace
Obsoletes: %{name}-trace
Supplements: %{name}-debuginfo%{?_isa}
Provides: %{name}-docs%{?_isa} %{name}-docs
Obsoletes: %{name}-docs
%description
This module is wrapper library for the Video Decode and Presentation API for UNIX.
%package devel
Summary: Header files for development
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: libX11-devel, pkgconfig
%description devel
This package includes header files for development.
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
find %{buildroot} -name '*.la' -delete
rm -fr %{buildroot}%{_docdir}
mv %{_vpath_builddir}/doc/html html
%ldconfig_scriptlets
%files
%doc AUTHORS html
%license COPYING
%config(noreplace) %{_sysconfdir}/*.cfg
%{_libdir}/*.so.*
%dir %{_libdir}/vdpau
%{_libdir}/vdpau/*.so*
%files devel
%{_includedir}/vdpau/*
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Wed Oct 11 2023 wulei <wu_lei@hoperun.com> - 1.5-1
- Update to 1.5
* Thu Jan 16 2020 yangjian<yangjian79@huawei.com> - 1.2-1
- Change the Source to valid address
* Thu Nov 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.1-11
- Package init