Initial Packaging
This commit is contained in:
parent
224f7c39f3
commit
e4f875fda8
BIN
libxcvt-0.1.1.tar.xz
Normal file
BIN
libxcvt-0.1.1.tar.xz
Normal file
Binary file not shown.
59
libxcvt.spec
Normal file
59
libxcvt.spec
Normal file
@ -0,0 +1,59 @@
|
||||
Name: libxcvt
|
||||
Version: 0.1.1
|
||||
Release: 1
|
||||
Summary: VESA CVT standard timing modelines generator
|
||||
License: MIT
|
||||
URL: https://gitlab.freedesktop.org/xorg/lib/libxcvt/
|
||||
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: gcc
|
||||
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 -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
|
||||
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.1.1-1
|
||||
- Initial Packaging
|
||||
4
libxcvt.yaml
Normal file
4
libxcvt.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: git
|
||||
src_repo: https://xorg.freedesktop.org/archive/individual/lib/
|
||||
tag_prefix: ^v
|
||||
seperator: _
|
||||
Loading…
x
Reference in New Issue
Block a user