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