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