- Epoch=1 to allow upgrade from 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:        0.9.9
5 Release:        1
6 Epoch:          1
7 License:        GPL
8 Group:          X11/Applications/Graphics
9 Source0:        ftp://mandrake.redbox.cz/Mandrake-devel/projects/claraocr/%{name}-%{version}.tar.gz
10 URL:            http://www.claraocr.org/
11 BuildRequires:  XFree86-devel
12 BuildRequires:  perl
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _prefix         /usr/X11R6
16 %define         _mandir         %{_prefix}/man
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
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 %{__make} install \
40         BINDIR=$RPM_BUILD_ROOT%{_bindir} \
41         MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
42         DOCDIR=$RPM_BUILD_ROOT
43
44 gzip -9nf ANNOUNCE CHANGELOG doc/FAQ
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc *.gz doc/*.gz doc/*.html
52 %attr(755,root,root) %{_bindir}/*
53 %{_mandir}/man1/*
This page took 0.089706 seconds and 3 git commands to generate.