Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37527903
en ru br
ALT Linux repos
S:0.3.2-alt1

Group :: System/Libraries
RPM: libvterm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: libvterm
Version: 0.3.2
Release: alt1
Epoch: 1

Summary: an abstract C99 library which implements a VT220 or xterm-like terminal emulator

License: MIT
Group: System/Libraries
Url: http://www.leonerd.org.uk/code/libvterm/

Source: %name-%version.tar
Source1: %name.watch

%package devel
Summary: Development files needed for %name
Group: Development/C

%package tools
Summary: %name tools
Group: Terminals

%define common_descr \
An abstract C99 library which implements a VT220 or xterm-like terminal\
emulator. It doesn't 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. It avoids calling malloc() during normal\
running state, allowing it to be used in embedded kernel situations.

%description
%common_descr

%description devel
%common_descr

This package contains development files needed for %name.

%description tools
%common_descr

This package contains %name tools.

%prep
%setup

%build
%make_build PREFIX=%_prefix LIBDIR=%_libdir CFLAGS="%optflags"

%install
%makeinstall_std  PREFIX=%_prefix LIBDIR=%_libdir
rm -- %buildroot%_libdir/%name.a

%check
make test

%files
%doc LICENSE
%_libdir/%name.so.*

%files devel
%_includedir/*.h
%_libdir/%name.so
%_pkgconfigdir/vterm.pc

%files tools
%_bindir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin