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
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