Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
ocrad
ocrad.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ocrad.spec of Package ocrad
# # spec file for package ocrad # # Copyright (c) 2011 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 Version: 0.21 Release: 1 Summary: Optical Character Recognition Program License: GPL-3.0+ Url: https://savannah.gnu.org/projects/ocrad/ Group: Productivity/Graphics/Other Source0: %{name}-%{version}.tar.bz2 # PATCH-FIX-OPENSUSE ocrad-build-with-optflags.patch masterpatricko@gmail.com -- Make the package compile with optflags Patch0: ocrad-build-with-optflags.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ Requires(post): info Requires(preun): info %description GNU Ocrad is an OCR (Optical Character Recognition) program based on a feature extraction method. It reads images in pbm (bitmap), pgm (greyscale) or ppm (color) formats and produces text in byte (8-bit) or UTF-8 formats. Also includes a layout analyser able to separate the columns or blocks of text normally found on printed pages. Ocrad can be used as a stand-alone console application, or as a backend to other programs. %package devel License: GPL-3.0+ 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 -q %patch0 %build %configure %{__make} %{?_smp_mflags} %install %make_install install-man %{__rm} -f %{buildroot}%{_libexecdir}/libocrad.a %clean %{__rm} -rf %{buildroot} %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %files %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog NEWS README TODO %{_bindir}/ocrad %doc %{_infodir}/ocrad* %doc %{_mandir}/man1/ocrad* %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