88 lines
2.5 KiB
RPMSpec
88 lines
2.5 KiB
RPMSpec
#
|
|
# 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
|