libXvMC/libXvMC.spec

95 lines
2.3 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:00:03 -04:00
Name: libXvMC
2022-07-29 05:30:13 +08:00
Version: 1.0.13
Release: 3
2019-09-30 11:00:03 -04:00
Summary: X-Video Motion Compensation API
License: MIT
URL: https://www.x.org
2022-07-29 05:30:13 +08:00
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.gz
2019-09-30 11:00:03 -04:00
Patch0: backport-configure-Use-LT_INIT-from-libtool-2-instead-of-depr.patch
2019-09-30 11:00:03 -04:00
BuildRequires: autoconf automake libtool xorg-x11-util-macros
BuildRequires: pkgconfig(videoproto) pkgconfig(xv) libX11-devel
Requires: libX11
%description
XvMC is an extension of the X video extension (Xv) for the X Window System.
The XvMC API allows video programs to offload portions of the video decoding
process to the GPU video-hardware.
%package devel
Summary: Development package for libXvMC
Requires: %{name} = %{version}-%{release}
%description devel
The development package for libXvMC.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
autoreconf -vif
%configure
%make_build
2023-03-16 08:35:04 +00:00
%check
make check
2019-09-30 11:00:03 -04:00
%install
%make_install
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11
touch $RPM_BUILD_ROOT%{_sysconfdir}/X11/XvMCConfig
%delete_la
%ldconfig_scriptlets
%files
%defattr(-,root,root)
2019-11-06 19:36:43 +08:00
%license COPYING
2019-09-30 11:00:03 -04:00
%{_libdir}/*.so.*
%ghost %config(missingok,noreplace) %verify (not md5 size mtime) %{_sysconfdir}/X11/XvMCConfig
%files devel
%defattr(-,root,root)
%{_libdir}/{*.so,*.a}
%{_libdir}/pkgconfig/*.pc
%{_includedir}/X11/extensions/*.h
%exclude %{_docdir}/*/*.txt
%files help
%defattr(-,root,root)
%doc README.md XvMC_API.txt
%changelog
* Tue Jul 30 2024 lingsheng <lingsheng1@h-partners.com> - 1.0.13-3
- configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
2023-03-16 08:35:04 +00:00
* Thu Mar 16 2023 zhangpan <zhangpan103@h-partners.com> - 1.0.13-2
- enable test
2022-07-29 05:30:13 +08:00
* Sun Jul 31 2022 tianlijing <tianlijing@kylinos.cn> - 1.0.13-1
- update to 1.0.13
2020-07-27 15:09:21 +08:00
* Fri Jul 24 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.0.12-1
2020-07-23 20:48:28 +08:00
- updata package
2019-11-06 19:36:43 +08:00
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.11-2
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:change the directory of the license file
2019-09-30 11:00:03 -04:00
* Mon Sep 09 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.11-1
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: rebuilt spec, add help package.
* Mon Aug 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.10-8
- Package init