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