libvdpau/libvdpau.spec

68 lines
1.7 KiB
RPMSpec
Raw Normal View History

2019-12-14 18:57:18 +08:00
Name: libvdpau
2023-10-11 14:46:13 +08:00
Version: 1.5
2020-01-16 15:37:47 +08:00
Release: 1
2019-12-14 18:57:18 +08:00
Summary: Wrapper library for the Video Decode and Presentation API for UNIX
License: MIT
URL: http://freedesktop.org/wiki/Software/VDPAU
2023-10-11 14:46:13 +08:00
Source0: https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/%{version}/libvdpau-%{version}.tar.bz2
2019-12-14 18:57:18 +08:00
2023-10-11 14:46:13 +08:00
BuildRequires: doxygen, gcc-c++, graphviz, libtool, libX11-devel, libXext-devel, meson
2019-12-14 18:57:18 +08:00
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
2023-10-11 14:46:13 +08:00
%meson
%meson_build
2019-12-14 18:57:18 +08:00
%install
2023-10-11 14:46:13 +08:00
%meson_install
find %{buildroot} -name '*.la' -delete
rm -fr %{buildroot}%{_docdir}
mv %{_vpath_builddir}/doc/html html
2019-12-14 18:57:18 +08:00
%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
2023-10-11 14:46:13 +08:00
* Wed Oct 11 2023 wulei <wu_lei@hoperun.com> - 1.5-1
- Update to 1.5
2020-01-16 15:37:47 +08:00
* Thu Jan 16 2020 yangjian<yangjian79@huawei.com> - 1.2-1
- Change the Source to valid address
2019-12-14 18:57:18 +08:00
* Thu Nov 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.1-11
- Package init