LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File cuneiform-qt.spec of Package cuneiform-qt (Project home:zhonghuaren)

Name:		cuneiform-qt
Version: 	0.1.2
Release: 	3.1
Summary:	GUI frontend for Cuneiform OCR
License:	GPLv3+
Group:		Productivity/Graphics/Other
URL:		http://www.altlinux.org/Cuneiform-Qt
Vendor:		Andrey Cherepanov <cas@altlinux.org>
Source:		%name-%version.tar.bz2
BuildRequires:	gcc-c++, pkgconfig, pkgconfig(QtGui)
Requires:	cuneiform

This application is GUI frontend for Cuneiform (OCR system originally
developed and open sourced by Cognitive technologies). It allow to open
scanned image, view this one in preview pane, recornize text via Cuneiform
and save result in HTML file.

%setup -q

%define qtbindir `pkg-config --variable=exec_prefix QtCore`/bin
pushd %{name}
PREFIX=/usr %{qtbindir}/qmake "QMAKE_CFLAGS+=%optflags" "QMAKE_CXXFLAGS+=%optflags" %{name}.pro

pushd %{name}
install -D -m 644 icons/%{name}.png $RPM_BUILD_ROOT{_datadir}/pixmaps/%{name}.png

%doc %{name}/AUTHORS %{name}/README %{name}/TODO

* Wed Aug 01 2012 Huaren Zhong <huaren.zhong@gmail.com> - 0.1.2
- Rebuild for Fedora
* Mon Feb 07 2011 Petr Vanek <petr@scribus.info> 0.1.2
- suse fixes
* Fri May 09 2009 TI_Eugene <ti.eugene@gmail.com> 0.1.2
- Initial build for OBS