- tabs in preamble
[packages/clara.git] / clara.spec
1 Summary:        Cooperative Lightweight chAracter Recognizer (OCR)
2 Summary(pl.UTF-8):      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}.3
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:  perl-base
15 BuildRequires:  xorg-lib-libX11-devel
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.UTF-8
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         LIBPATH=
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         BINDIR=$RPM_BUILD_ROOT%{_bindir} \
43         MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
44         DOCDIR=$RPM_BUILD_ROOT
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc ANNOUNCE CHANGELOG doc/FAQ doc/*.html
52 %attr(755,root,root) %{_bindir}/*
53 %{_mandir}/man1/*
This page took 0.106912 seconds and 3 git commands to generate.