Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37530516
en ru br
ALT Linux repos
S:0.20-alt2

Group :: System/Libraries
RPM: libtermkey

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: libtermkey
Version: 0.18
Release: alt1

Summary: termkey - terminal keypress reading library
License: MIT
Group: System/Libraries
Url: http://www.leonerd.org.uk/code/libtermkey/

Packager: Konstantin Artyushkin <akv at altlinux.org>

BuildRequires: libncurses-devel
Source: %name-%version.tar
Patch: libdir.patch

%description
termkey  is  a  library  that allows programs to read and interpret
keypress and other events from a terminal. It understands encoding
schemes used by terminals to encode keypresses, and UTF-8 , allowing
it to return events representing key events

%package devel
Summary: Headers for %name
Group: Development/C
Requires: %name = %version-%release

%description devel
Headers for building software that uses %name

%package devel-static
Summary: Static libraries for %name
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
Static libs for building statically linked software that uses %name

%prep
%setup
%patch

%build
%make_build PREFIX=/usr

%install
%makeinstall_std PREFIX=/usr

%files
%doc LICENSE
%_libdir/*.so.*
%_man3dir/termkey*
%_man7dir/termkey*

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

%files devel-static
%_libdir/%name.a

%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