update to version 0.1.2

This commit is contained in:
lwg K 2023-11-17 11:28:38 +08:00
parent d026c90d3f
commit cd1dc31a40
4 changed files with 6 additions and 13 deletions

Binary file not shown.

BIN
libxcvt-0.1.2.tar.xz Normal file

Binary file not shown.

View File

@ -1,8 +1,8 @@
%global enable_cvt 0
Name: libxcvt
Version: 0.1.1
Release: 2
Version: 0.1.2
Release: 1
Summary: VESA CVT standard timing modelines generator
License: MIT
URL: https://gitlab.freedesktop.org/xorg/lib/libxcvt/
@ -23,7 +23,6 @@ Requires: pkgconfig
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%if %{enable_cvt}
%package -n cvt
Summary: Command line tool to calculate VESA CVT mode lines
Conflicts: xorg-x11-server-Xorg < 1.21
@ -32,16 +31,11 @@ Conflicts: xorg-x11-server-Xorg < 1.21
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.
%endif
%prep
%autosetup -n %{name}-%{version}
%build
%if !%{enable_cvt}
sed -i "/subdir('cvt')/d" meson.build
%endif
%meson
%meson_build
@ -58,15 +52,14 @@ sed -i "/subdir('cvt')/d" meson.build
%{_includedir}/libxcvt/*.h
%{_libdir}/libxcvt.so
%if %{enable_cvt}
%files -n cvt
%{_bindir}/cvt
%{_mandir}/man1/cvt.1*
%else
%exclude %{_mandir}/man1/cvt.1*
%endif
%changelog
* 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

View File

@ -1,4 +1,4 @@
version_control: git
src_repo: https://xorg.freedesktop.org/archive/individual/lib/
tag_prefix: ^v
seperator: _
separator: _