%global sover 4 %global lname libtsm%{sover} %global commit 69922bde02c7af83b4d48a414cc6036af7388626 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: libtsm Version: 4.0.2^1.git69922bde Release: 0 Summary: DEC-VT terminal emulator state machine License: MIT AND LGPL-2.1-or-later Group: Development/Libraries/C and C++ URL: https://github.com/Aetf/libtsm Source: https://github.com/Aetf/libtsm/archive/%{commit}/%{name}-%{shortcommit}.tar.gz BuildRequires: cmake BuildRequires: gcc BuildRequires: pkgconfig BuildRequires: xz BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(check) Patch1: 0000-add-nord-color-scheme.patch %description TSM is a state machine for DEC VT100-VT520 compatible terminal emulators. It can be used to implement terminal emulators, or other applications that need to interpret terminal escape sequences. %package -n %{lname} Summary: DEC-VT terminal emulator state machine License: LGPL-2.1-or-later Group: System/Libraries %description -n %{lname} TSM is a state machine for DEC VT100-VT520 compatible terminal emulators. It can be used to implement terminal emulators, or other applications that need to interpret terminal escape sequences. The library does no rendering or window management of its own, and does not depend on a graphics stack, unlike the similar GNOME libvte. %package devel Summary: Development files for the DEC-VT terminal state machine library License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ Requires: %{lname} = %{version}-%{release} %description devel TSM is a state machine for DEC VT100-VT520 compatible terminal emulators. It can be used to implement terminal emulators, or other applications that need to interpret terminal escape sequences. The library does no rendering or window management of its own, and does not depend on a graphics stack, unlike the similar GNOME libvte. This package contains the development headers for the library found in %{lname}. %prep %autosetup -n libtsm-%{commit} -p1 %build %cmake %cmake_build %install %cmake_install %post -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig %files -n %{lname} %license COPYING LICENSE_htable %{_libdir}/libtsm.so.%{sover}* %files devel %doc README %{_includedir}/libtsm.h %{_libdir}/libtsm.so %{_libdir}/pkgconfig/*.pc %{_libdir}/cmake/ %changelog * Fri Dec 13 2024 Jocelyn Falempe - 4.0.2^1.git69922bde-0 - Update to the upstream develop branch, which hasn't seen a release yet. * Sun Jun 09 2024 Michael Bryant - 4.0.2-0 - Update to 4.0.2 * Sun Nov 22 2020 Michael Bryant - 4.0.1-2 - Add personal patch to add nord color scheme support * Sun Jan 19 2020 Michael Bryant - 4.0.1-1 - Switch to Aetf's fork, latest release * Wed Jun 17 2015 Fedora Release Engineering - 3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Nov 01 2013 Christopher Meng - 3-1 - Initial Package.