代码拉取完成,页面将自动刷新
%global enable_cvt 0
Name: libxcvt
Version: 0.1.2
Release: 2
Summary: VESA CVT standard timing modelines generator
License: MIT
URL: https://gitlab.freedesktop.org/xorg/lib/libxcvt/
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.xz
Patch0: 0001-Fix-hsync_start-computation.patch
Patch1: 0002-Fix-too-small-back-porch-at-very-low-resolutions.patch
BuildRequires: gcc
BuildRequires: meson
%description
libxcvt is a library providing a standalone version of the X server
implementation of the VESA CVT standard timing modelines generator.
%package devel
Summary: Development package
Requires: pkgconfig
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package -n cvt
Summary: Command line tool to calculate VESA CVT mode lines
Conflicts: xorg-x11-server-Xorg < 1.21
%description -n cvt
A standalone version of the command line tool cvt copied from the Xorg
implementation and is meant to be a direct replacement to the version
provided by the Xorg server.
%prep
%autosetup -p1 -n %{name}-%{version}
%build
%meson
%meson_build
%install
%meson_install
%files
%doc README.md
%license COPYING
%{_libdir}/libxcvt.so.*
%files devel
%{_libdir}/pkgconfig/libxcvt.pc
%dir %{_includedir}/libxcvt
%{_includedir}/libxcvt/*.h
%{_libdir}/libxcvt.so
%files -n cvt
%{_bindir}/cvt
%{_mandir}/man1/cvt.1*
%changelog
* Fri Sep 20 2024 lvgenggeng <lvgenggeng@uniontech.com> - 0.1.2-2
- backport: 0001-Fix-hsync_start-computation.patch
- backport: 0002-Fix-too-small-back-porch-at-very-low-resolutions.patch
- spec: move license file to the right dir
* Fri Nov 17 2023 lwg <liweiganga@uniontech.com> - 0.1.2-1
- update to version 0.1.2
* Wed Jul 27 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.1.1-2
- remove cvt subpackage
- fix issue #I5J3LC
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.1.1-1
- Initial Packaging
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。