/[smeserver]/rpms/ocrad/sme7/ocrad.spec
ViewVC logotype

Contents of /rpms/ocrad/sme7/ocrad.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Sun Mar 30 20:55:53 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
Error occurred while calculating annotation data.
FILE REMOVED
Packages maintained upstream

1 Name: ocrad
2 URL: https://savannah.gnu.org/projects/ocrad/
3 Summary: GNU Ocrad is an Optical Character Recognition Program
4 Version: 0.16
5 Release: 1%{?dist}
6 Group: Productivity/Graphics/Other
7 License: GPL
8 Source0: ocrad-%{version}.tar.bz2
9 BuildRoot: %{_tmppath}/%{name}-%{version}-build
10
11 %description
12 GNU Ocrad is an OCR (Optical Character Recognition) program implemented
13 as a filter and based on a feature extraction method. It reads a bitmap
14 image in PBM format and outputs text in the ISO-8859-1 (Latin-1)
15 charset. It can be used as a stand-alone console application, or as a
16 back-end to other programs.
17
18 gocr is another interesting command line OCR tool. Both can be plugged
19 into Kooka, the KDE scan and OCR program.
20
21 Authors:
22 --------
23 Antonio Diaz Diaz
24
25 %define INSTALL install -m755 -s
26 %define INSTALL_SCRIPT install -m755
27 %define INSTALL_DIR install -d -m755
28 %define INSTALL_DATA install -m644
29 %prep
30 %setup -n ocrad-%{version}
31 # %patch
32
33 %build
34 ./configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man
35 make CXXFLAGS='${RPM_OPT_FLAGS}'
36
37 %install
38 if [ ! "x" = "x$RPM_BUILD_ROOT" ] ; then
39 rm -fr $RPM_BUILD_ROOT
40 %{INSTALL_DIR} $RPM_BUILD_ROOT
41 fi
42 make install DESTDIR=$RPM_BUILD_ROOT
43 make install-man DESTDIR=$RPM_BUILD_ROOT
44
45 rm -f $RPM_BUILD_ROOT/usr/share/info/dir
46
47 %clean
48 rm -fr $RPM_BUILD_ROOT
49
50 %files
51 %defattr(-, root, root)
52 /usr/bin/ocrad
53 /usr/share/info/ocrad*
54 %doc %{_mandir}/man1/*
55 %doc AUTHORS COPYING ChangeLog INSTALL README NEWS TODO examples/test.pbm
56 # spec file ends here
57
58 %changelog -n ocrad
59 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
60 - Clean up spec so package can be built by koji/plague
61
62 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
63 - Update to new release naming. No functional changes.
64 - Make Packager generic
65
66 * Mon Nov 20 2006 - slords@mail.com
67 - update to version 0.16:
68
69 * Mon Feb 21 2005 - freitag@suse.de
70 - update to version 0.11:
71 * Improved algorithms again
72 * bugfixes
73 * Thu Dec 16 2004 - freitag@suse.de
74 - update to version 0.10:
75 * Improved algorithms
76 * orf file changes
77 * Wed Jun 23 2004 - freitag@suse.de
78 - update to version 0.8:
79 * Better algorithm for line detection.
80 * New feature -x - (export ORF file to stdout).
81 * Small improvements in image elimination.
82 * Tue Feb 10 2004 - freitag@suse.de
83 - update to version 0.7:
84 * manpage added
85 * utf8 output
86 * better detection
87 * Wed Jan 28 2004 - freitag@suse.de
88 - update to version 0.6
89 * Mon Sep 08 2003 - freitag@suse.de
90 - update to version 0.4 - much better recognition results, better
91 Makefile etc.
92 * Mon Aug 18 2003 - freitag@suse.de
93 - resetted version to original 0.3 version official from the author.
94 I tried to convince him to use autoconf, but he does not want yet.
95 In order to distribute the original package, I reverted my auto-
96 conf version.
97 * Thu Jul 24 2003 - freitag@suse.de
98 - initial package

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed