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