Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37647674
en ru br
ALT Linux repos
5.0: 2.2-alt1
4.1: 2.2-alt1
4.0: 2.2-alt1
3.0: 2.2-alt1

Group :: Development/Other
RPM: libtextcat

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: libtextcat
Version: 2.2
Release: alt1

License: BSD
Group: Development/Other
URL: http://software.wise-guys.nl/libtextcat/
Source: http://software.wise-guys.nl/download/libtextcat-%version.tar.gz

Summary: Text categorisation library
Summary(ru_RU.KOI8-R): Библиотека для категоризации текста

# Automatically added by buildreq on Tue Apr 05 2005

BuildRequires: glibc-devel-static

%description
Libtextcat is a library with functions that implement the classification
technique described in Cavnar & Trenkle, "N-Gram-Based Text
Categorization". It was primarily developed for language guessing, a task on
which it is known to perform with near-perfect accuracy.

%prep
%setup -q

%build
%configure
%make_build

%install
%makeinstall

# make install forgot about header file :\

%__install -pD -m644 src/textcat.h %buildroot%_includedir/textcat.h
# we also want to have testtextcat installed
install -m755 src/.libs/testtextcat %buildroot%_bindir

mkdir -p %buildroot%_datadir/libtextcat
cp -R langclass %buildroot%_datadir/libtextcat/

# only shared! :)

%__rm -f %buildroot%_libdir/*.a

%files
%doc README TODO ChangeLog
%_libdir/*
%_includedir/*
%_bindir/*
%_datadir/*

%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