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