%global libname vterm Name: lib%{libname} Version: 0.2 Release: 3%{?dist} Summary: An abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator License: MIT URL: http://www.leonerd.org.uk/code/libvterm/ Source0: http://www.leonerd.org.uk/code/libvterm/%{name}-%{version}.tar.gz Patch0: libvterm-0.2-fix-resize-buffer.patch BuildRequires: gcc BuildRequires: make BuildRequires: libtool %description An abstract C99 library which implements a VT220 or xterm-like terminal emulator. It does not use any particular graphics toolkit or output system. Instead, it invokes callback function pointers that its embedding program should provide it to draw on its behalf. %package devel Summary: Development files needed for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel %{summary}. %package tools Summary: Tools for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description tools %{summary}. %prep %autosetup -p1 %build %set_build_flags %make_build PREFIX=%{_prefix} LIBDIR=%{_libdir} %install %make_install PREFIX=%{_prefix} LIBDIR=%{_libdir} rm -vf %{buildroot}%{_libdir}/*.{a,la} %check %set_build_flags make test %ldconfig_scriptlets %files %license LICENSE %{_libdir}/%{name}.so.* %files devel %{_libdir}/%{name}.so %{_includedir}/%{libname}.h %{_includedir}/%{libname}_*.h %{_libdir}/pkgconfig/%{libname}.pc %files tools %{_bindir}/unterm %{_bindir}/%{libname}-ctrl %{_bindir}/%{libname}-dump %changelog * Wed Feb 09 2022 Andreas Schneider - 0.2-3 - Fix resize buffer issue * Thu Jan 20 2022 Fedora Release Engineering - 0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Dec 25 2021 Andreas Schneider - 0.2-1 - Update to version 0.2 * Thu Jul 22 2021 Fedora Release Engineering - 0.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jul 05 2021 Andreas Schneider - 0.1.4-1 - Update to version 0.1.4 * Tue Jan 26 2021 Fedora Release Engineering - 0.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Oct 04 2019 Igor Gnatenko - 0.1.1-2 - Rebuild * Tue Sep 17 2019 Andreas Schneider - 0.1.1-1 - Update to version 0.1.1 * Sat Aug 31 2019 Igor Gnatenko - 0.1+bzr755-1 - Update to the latest revision * Thu Jul 25 2019 Fedora Release Engineering - 0-0.9.bzr681 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0-0.8.bzr681 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0-0.7.bzr681 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0-0.6.bzr681 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Feb 03 2018 Igor Gnatenko - 0-0.5.bzr681 - Switch to %%ldconfig_scriptlets * Thu Aug 03 2017 Fedora Release Engineering - 0-0.4.bzr681 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.3.bzr681 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0-0.2.bzr681 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Apr 14 2016 Igor Gnatenko - 0-0.1.bzr681 - Initial package