Initial import (#1980342)
This commit is contained in:
parent
9967a53775
commit
3d1f7f2a07
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/libxcvt-0.1.0.tar.xz
|
26
8e7c3d4ff12f783322ad88999841daeabc09bd86.patch
Normal file
26
8e7c3d4ff12f783322ad88999841daeabc09bd86.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From 8e7c3d4ff12f783322ad88999841daeabc09bd86 Mon Sep 17 00:00:00 2001
|
||||
From: Olivier Fourdan <ofourdan@redhat.com>
|
||||
Date: Thu, 8 Jul 2021 10:46:14 +0200
|
||||
Subject: [PATCH] lib/meson: Add version to the shared library
|
||||
|
||||
This is a very early release likely to change in the future, make sure
|
||||
to use library versioning.
|
||||
|
||||
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
|
||||
---
|
||||
lib/meson.build | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/lib/meson.build b/lib/meson.build
|
||||
index 91be84c..b3ff615 100644
|
||||
--- a/lib/meson.build
|
||||
+++ b/lib/meson.build
|
||||
@@ -2,4 +2,5 @@ libxcvt_sources = ['libxcvt.c']
|
||||
libxcvt = shared_library('xcvt',
|
||||
libxcvt_sources,
|
||||
include_directories : inc,
|
||||
+ version: meson.project_version(),
|
||||
install : true)
|
||||
--
|
||||
GitLab
|
||||
|
66
libxcvt.spec
Normal file
66
libxcvt.spec
Normal file
@ -0,0 +1,66 @@
|
||||
Name: libxcvt
|
||||
Version: 0.1.0
|
||||
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
|
||||
|
||||
# https://gitlab.freedesktop.org/xorg/lib/libxcvt/-/merge_requests/3
|
||||
# Set soname
|
||||
Patch0: 8e7c3d4ff12f783322ad88999841daeabc09bd86.patch
|
||||
|
||||
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
|
||||
* Thu Jul 8 2021 Olivier Fourdan <ofourdan@redhat.com> - 0.1.0-1
|
||||
- Initial import (#1980342)
|
Loading…
Reference in New Issue
Block a user