Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
ocrad
ocrad.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ocrad.spec of Package ocrad
# # spec file for package ocrad (Version 0.20) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: ocrad BuildRequires: gcc-c++ Url: https://savannah.gnu.org/projects/ocrad/ Summary: GNU Ocrad--Optical Character Recognition Program Version: 0.20 Release: 1 Group: Productivity/Graphics/Other License: GPLv2+ Source0: ocrad-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %install_info_prereq Patch0: ocrad-build-with-optflags.patch %description GNU Ocrad is an OCR (Optical Character Recognition) program implemented as a filter and based on a feature extraction method. It reads a bitmap image in PBM format and outputs text in the ISO-8859-1 (Latin-1) charset. It can be used as a stand-alone console application or as a back-end to other programs. gocr is another interesting command line OCR tool. Both can be plugged into Kooka, the KDE scan and OCR program. %package devel License: GPLv2+ Summary: Development files for GNU ocrad Group: Development/Libraries/C and C++ %description devel Development files for GNU ocrad - useful for programs implementing OCR %prep %setup %patch0 %build %configure %{__make} %{?_smp_mflags} VERBOSE=1 %install %makeinstall install-man %{__rm} -f $RPM_BUILD_ROOT%{_libexecdir}/libocrad.a %post %install_info --info-dir=%_infodir %_infodir/%name.info.gz %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %clean %{__rm} -fr $RPM_BUILD_ROOT %files %defattr(-, root, root) %{_bindir}/ocrad %{_infodir}/ocrad* %doc %{_mandir}/man1/* %doc AUTHORS COPYING ChangeLog INSTALL README NEWS TODO %files devel %defattr(-, root, root) %{_includedir}/ocradlib.h %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor