]> git.pld-linux.org Git - packages/clara.git/blob - clara.spec
- updated to 20031214 post-0.9.9 snap, new Source0 URL
[packages/clara.git] / clara.spec
1 Summary:        Cooperative Lightweight chAracter Recognizer (OCR)
2 Summary(pl):    Niewielkie narzêdzie do kooperatywnego rozpoznawania znaków (OCR)
3 Name:           clara
4 Version:        0.9.9
5 %define snap    20031214
6 Release:        1.%{snap}.1
7 Epoch:          1
8 License:        GPL
9 Group:          X11/Applications/Graphics
10 #Source0Download: http://www.claraocr.org/download.html
11 Source0:        http://www.claraocr.org/sources/%{name}-%{snap}.tar.gz
12 # Source0-md5:  3cd4eb76355d874f57058b19132e91d6
13 URL:            http://www.claraocr.org/
14 BuildRequires:  XFree86-devel
15 BuildRequires:  perl-base
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Clara is an OCR program. OCR stands for "Optical Character
20 Recognition". An OCR program tries to recognize the characters from
21 the digital image of a paper document. The name Clara stands for
22 "Cooperative Lightweight chAracter Recognizer".
23
24 %description -l pl
25 Clara jest programem do OCR, czyli optycznego rozpoznawania znaków z
26 cyfrowego obrazu dokumentu.
27
28 %prep
29 %setup -q -n %{name}-%{snap}
30
31 %build
32 %{__make} all \
33         CC="%{__cc}" \
34         CFLAGS="%{rpmcflags} \$(INCLUDE) \$(COPTS)" \
35         LDFLAGS="%{rpmldflags}"
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install \
41         BINDIR=$RPM_BUILD_ROOT%{_bindir} \
42         MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
43         DOCDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc ANNOUNCE CHANGELOG doc/FAQ doc/*.html
51 %attr(755,root,root) %{_bindir}/*
52 %{_mandir}/man1/*
This page took 0.046056 seconds and 3 git commands to generate.