Package cuneiform

Download cuneiform.spec
Name: cuneiform
Version: 1.0
Release: alt2

Summary: Cuneiform is an OCR system originally developed and open sourced by Cognitive technologies.
Summary(ru_RU.KOI8-R): \xf0\xd2\xcf\xc7\xd2\xc1\xcd\xcd\xc1 \xd2\xc1\xd3\xd0\xcf\xda\xce\xc1\xd7\xc1\xce\xc9\xd1 \xd3\xc9\xcd\xd7\xcf\xcc\xcf\xd7 (OCR) Cuneiform, Linux-\xd7\xc5\xd2\xd3\xc9\xd1

License: BSD-style
Group: Graphics
Url: https://launchpad.net/cuneiform-linux

Packager: Sergey Alembekov <rt@altlinux.ru>

Source: http://launchpad.net/%name-linux/%version/%version/+download/%name-%version.tar.bz2

Requires: %name-data
BuildRequires: gcc-c++ libImageMagick-devel cmake

%description
Cuneiform is an OCR system originally developed and open sourced by
Cognitive technologies. This project aims to create a fully portable
version of Cuneiform.

%description -l ru_RU.KOI8-R
\xf0\xd2\xcf\xc7\xd2\xc1\xcd\xcd\xc1 \xd2\xc1\xd3\xd0\xcf\xda\xce\xc1\xd7\xc1\xce\xc9\xd1 \xd3\xc9\xcd\xd7\xcf\xcc\xcf\xd7 (OCR) Cuneiform, \xce\xc5\xcb\xcf\xc7\xc4\xc1 \xcf\xde\xc5\xce\xd8
\xd0\xcf\xd0\xd5\xcc\xd1\xd2\xce\xc1\xd1 \xd7 \xce\xc1\xdb\xc5\xca \xd3\xd4\xd2\xc1\xce\xc5, \xc2\xd9\xcc\xc1 \xd7\xd9\xcc\xcf\xd6\xc5\xce\xc1 \xcb\xcf\xcd\xd0\xc1\xce\xc9\xc5\xca Cognitive
Technologies \xd7 \xd3\xd7\xcf\xc2\xcf\xc4\xce\xd9\xca \xc4\xcf\xd3\xd4\xd5\xd0 \xd7 2008 \xc7\xcf\xc4\xd5. \xf0\xd2\xcf\xc5\xcb\xd4 cuneiform-linux
\xd3\xd4\xc1\xd7\xc9\xd4 \xd3\xd7\xcf\xc5\xca \xc3\xc5\xcc\xd8\xc0 \xd0\xcf\xcc\xce\xcf\xc5 \xd0\xcf\xd2\xd4\xc9\xd2\xcf\xd7\xc1\xce\xc9\xc5 \xc9 \xc4\xc1\xcc\xd8\xce\xc5\xca\xdb\xc5\xc5 \xd2\xc1\xda\xd7\xc9\xd4\xc9\xc5 Cuneiform
\xd0\xcf\xc4 Linux \xc9 \xc4\xd2\xd5\xc7\xc9\xc5 \xcf\xd0\xc5\xd2\xc1\xc3\xc9\xcf\xce\xce\xd9\xc5 \xd3\xc9\xd3\xd4\xc5\xcd\xd9.

%package data
Summary: Language support and other data files required for Cuneiform OCR
Summary(ru_RU.KOI8-R): \xf0\xcf\xc4\xc4\xc5\xd2\xd6\xcb\xc1 \xd2\xc1\xda\xcc\xc9\xde\xce\xd9\xc8 \xd1\xda\xd9\xcb\xcf\xd7 \xc9 \xc4\xd2\xd5\xc7\xc9\xc5 \xc6\xc1\xca\xcc\xd9 \xd3 \xc4\xc1\xce\xce\xd9\xcd\xc9 \xc4\xcc\xd1 OCR Cuneiform
Group: Graphics
BuildArch: noarch

%description data
Language support and other data files required for Cuneiform OCR

%description -l ru_RU.KOI8-R data
\xf0\xcf\xc4\xc4\xc5\xd2\xd6\xcb\xc1 \xd2\xc1\xda\xcc\xc9\xde\xce\xd9\xc8 \xd1\xda\xd9\xcb\xcf\xd7 \xc9 \xc4\xd2\xd5\xc7\xc9\xc5 \xc6\xc1\xca\xcc\xd9 \xd3 \xc4\xc1\xce\xce\xd9\xcd\xc9 \xc4\xcc\xd1 OCR Cuneiform

%prep
%setup

%build
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=%_prefix
%make_build

%install
cd build
%make preinstall
cmake -DCMAKE_INSTALL_PREFIX=%buildroot%prefix -P cmake_install.cmake

%files
%_bindir/%name
%_libdir/*.so*
%_includedir/%name.h

%files data
%dir %_datadir/%name
%_datadir/%name/*

%changelog
* Mon Feb 28 2011 Sergey Alembekov <rt@altlinux.ru> 1.0-alt2
- Closes bug: #21335
- fix debuginfo.req errors
- remove circular dependencies on cuneiform-data 

* Tue Sep 14 2010 Anton Farygin <rider@altlinux.ru> 1.0-alt1.1
- Rebuild with new libImageMagick

* Fri Jul 16 2010 Sergey Alembekov <rt@altlinux.ru> 1.0-alt1
- upstream version 1.0
- remove broken libidl patch

* Fri Aug 21 2009 Dmitry V. Levin <ldv@altlinux.org> 0.6-alt1.1
- Rebuilt with libMagick++.so.2.

* Tue Mar 03 2009 Sergey Alembekov <rt@altlinux.ru> 0.6-alt1
- new upstream version

* Tue Dec 16 2008 Sergey Alembekov <rt@altlinux.ru> 0.5.0-alt1.1
- add forgotten libidl patch
- add cuneiform-data to requires

* Mon Dec 15 2008 Sergey Alembekov <rt@altlinux.ru> 0.5.0-alt1
- New 0.5 version build

* Sat Aug 16 2008 Fr. Br. George <george@altlinux.ru> 0.3-alt1
- Initial build from scratch
- Thanks thresh@ for libdl hint
Back to Top