From 4d8ecbc3a89d781de2ed55a54d60aa1b5047a820 Mon Sep 17 00:00:00 2001 From: Sofia Boldyreva Date: Mon, 27 Mar 2023 19:10:21 +0200 Subject: [PATCH] Import libxcvt-0.1.2-1.el9 --- .gitignore | 1 + .libxcvt.metadata | 1 + SPECS/libxcvt.spec | 71 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 .gitignore create mode 100644 .libxcvt.metadata create mode 100644 SPECS/libxcvt.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ad687e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libxcvt-0.1.2.tar.xz diff --git a/.libxcvt.metadata b/.libxcvt.metadata new file mode 100644 index 0000000..c4fc43d --- /dev/null +++ b/.libxcvt.metadata @@ -0,0 +1 @@ +a57569c7a119afb39c9c2314480d74c5a5854dc3 SOURCES/libxcvt-0.1.2.tar.xz diff --git a/SPECS/libxcvt.spec b/SPECS/libxcvt.spec new file mode 100644 index 0000000..f119f15 --- /dev/null +++ b/SPECS/libxcvt.spec @@ -0,0 +1,71 @@ +Name: libxcvt +Version: 0.1.2 +Release: 1%{?dist} +Summary: VESA CVT standard timing modelines generator + +URL: https://gitlab.freedesktop.org/xorg/lib/libxcvt/ +Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.xz + +License: MIT + +BuildRequires: gcc +BuildRequires: git-core +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 -S git_am -n %{name}-%{version} + +%build +%meson +%meson_build + +%install +%meson_install + +%files +%doc 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 +* Tue Jul 19 2022 Olivier Fourdan - 0.1.2-1 +- Update to 0.1.2 + +* Thu Jan 20 2022 Fedora Release Engineering - 0.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Oct 27 2021 Olivier Fourdan - 0.1.1-1 +- Update to 0.1.1 + +* Thu Jul 8 2021 Olivier Fourdan - 0.1.0-1 +- Initial import (#1980342)