From 5fd467caf5ce7731bcabba614c57901e3791a5c812d92f2c957d573ab852289e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 16:09:39 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main libxcvt revision 883e306d43a194186bebf24e63822923 --- .gitattributes | 23 ++++++++++++ libxcvt-0.1.2.tar.xz | 3 ++ libxcvt.changes | 27 ++++++++++++++ libxcvt.spec | 87 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 140 insertions(+) create mode 100644 .gitattributes create mode 100644 libxcvt-0.1.2.tar.xz create mode 100644 libxcvt.changes create mode 100644 libxcvt.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/libxcvt-0.1.2.tar.xz b/libxcvt-0.1.2.tar.xz new file mode 100644 index 0000000..b6097c3 --- /dev/null +++ b/libxcvt-0.1.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0561690544796e25cfbd71806ba1b0d797ffe464e9796411123e79450f71db38 +size 9648 diff --git a/libxcvt.changes b/libxcvt.changes new file mode 100644 index 0000000..eb5bf45 --- /dev/null +++ b/libxcvt.changes @@ -0,0 +1,27 @@ +------------------------------------------------------------------- +Tue Jul 19 09:52:49 UTC 2022 - Stefan Dirsch + +- Update to version 0.1.2 + * make xrandr report 1366x768 instead of 1360x768 + * meson: Add initial darwin_versions + +------------------------------------------------------------------- +Thu Oct 28 19:03:25 UTC 2021 - Bjørn Lie + +- Use full URL for source tarball. + +------------------------------------------------------------------- +Thu Oct 28 12:45:57 UTC 2021 - Jan Engelhardt + +- Update descriptions. + +------------------------------------------------------------------- +Thu Oct 28 10:48:49 UTC 2021 - Stefan Dirsch + +- moved cvt binary and cvt manual page to main package, since it + violates the SLPP to have non-library files in a library package + +------------------------------------------------------------------- +Wed Oct 27 14:39:18 UTC 2021 - Stefan Dirsch + +- created package (needed since xorg-server 21.1.0) diff --git a/libxcvt.spec b/libxcvt.spec new file mode 100644 index 0000000..1f6ebdf --- /dev/null +++ b/libxcvt.spec @@ -0,0 +1,87 @@ +# +# spec file for package libxcvt +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: libxcvt +%define lname libxcvt0 +Version: 0.1.2 +Release: 0 +Summary: CVT standard timing modeline generator +License: MIT +Group: Development/Libraries/C and C++ +URL: https://gitlab.freedesktop.org/xorg/lib/libxcvt +Source: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.xz +BuildRequires: meson + +%description +libxcvt is a library providing a standalone version of the X server +implementation of the VESA Coordinated Video Timings (CVT) standard +timing modelines generator. libxcvt also provides 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. + +%package -n %lname +Summary: CVT standard timing modeline generator +Group: System/Libraries + +%description -n %lname +libxcvt is a library providing a standalone version of the X server +implementation of the VESA Coordinated Video Timings (CVT) standard +timing modelines generator. + +%package devel +Summary: Development files for the CVT library +Group: Development/Libraries/C and C++ +Requires: %lname = %version + +%description devel +libxcvt is a library providing a standalone version of the X server +implementation of the VESA Coordinated Video Timings (CVT) standard +timing modelines generator. + +This package contains the development headers for the library found +in %lname. + +%prep +%autosetup -p1 + +%build +%{meson} +%{meson_build} + +%install +%{meson_install} + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + +%files +%doc COPYING README.md +%{_bindir}/cvt +%{_mandir}/man1/cvt.1.gz + +%files -n %lname +%_libdir/libxcvt.so.0* + +%files devel +%_includedir/libxcvt/ +%_libdir/libxcvt.so +%_libdir/pkgconfig/libxcvt.pc + +%changelog