Compare commits

...

No commits in common. "a9" and "c9s" have entirely different histories.
a9 ... c9s

5 changed files with 27 additions and 3 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/libxcvt-0.1.2.tar.xz
/libxcvt-0.1.2.tar.xz

View File

@ -1 +1 @@
a57569c7a119afb39c9c2314480d74c5a5854dc3 SOURCES/libxcvt-0.1.2.tar.xz
a57569c7a119afb39c9c2314480d74c5a5854dc3 libxcvt-0.1.2.tar.xz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

View File

@ -1,6 +1,10 @@
%if !0%{?rhel}
%global with_cvt 1
%endif
Name: libxcvt
Version: 0.1.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: VESA CVT standard timing modelines generator
URL: https://gitlab.freedesktop.org/xorg/lib/libxcvt/
@ -19,11 +23,13 @@ implementation of the VESA CVT standard timing modelines generator.
%package devel
Summary: Development package
Requires: pkgconfig
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%if 0%{?with_cvt}
%package -n cvt
Summary: Command line tool to calculate VESA CVT mode lines
Conflicts: xorg-x11-server-Xorg < 1.21
@ -32,6 +38,7 @@ 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 -S git_am -n %{name}-%{version}
@ -42,6 +49,10 @@ provided by the Xorg server.
%install
%meson_install
%if !0%{?with_cvt}
rm -vf %{buildroot}%{_bindir}/cvt
rm -vf %{buildroot}%{_mandir}/man1/cvt.1*
%endif
%files
%doc COPYING
@ -53,11 +64,17 @@ provided by the Xorg server.
%{_includedir}/libxcvt/*.h
%{_libdir}/libxcvt.so
%if 0%{?with_cvt}
%files -n cvt
%{_bindir}/cvt
%{_mandir}/man1/cvt.1*
%endif
%changelog
* Thu Dec 22 2022 Olivier Fourdan <ofourdan@redhat.com> - 0.1.2-2
- Add explicit package version requirement for the devel package
for rpminspect.
* Tue Jul 19 2022 Olivier Fourdan <ofourdan@redhat.com> - 0.1.2-1
- Update to 0.1.2

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (libxcvt-0.1.2.tar.xz) = 3f6b2baca712a4608780686932f8881255c07bb74b1a788f9b07d4e22975c038d75111cd6b452257882a0b2bad57eebb2002f80a3e435d2e2d16936597f039b0