]> git.pld-linux.org Git - packages/hspell.git/blob - hspell.spec
- updated to 1.0
[packages/hspell.git] / hspell.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Hspell - a free Hebrew spell checker
3 Summary(pl):    Hspell - wolnodostêpny program do kontroli pisowni hebrajskiej
4 Name:           hspell
5 Version:        1.0
6 Release:        1
7 License:        GPL
8 Group:          Applications/Text
9 # Source0Download: http://ivrix.org.il/projects/spell-checker/download.html
10 Source0:        http://ivrix.org.il/projects/spell-checker/%{name}-%{version}.tar.gz
11 # Source0-md5:  3e12fa383c2cfd430918d115f33f9841
12 URL:            http://ivrix.org.il/projects/spell-checker/
13 BuildRequires:  awk
14 BuildRequires:  rpm-perlprov
15 BuildRequires:  zlib-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 hspell is a Hebrew SPELLer. It currently provides a mostly spell-like
20 interface (gives the list of wrong words in the input text), but can
21 also suggest corrections (-c).
22
23 %description -l he
24 hspell äåà îàééú òáøé, äîñô÷ (áéðúééí) îðù÷ ãîåé-spell - ôåìè øùéîä ùì
25 äîéìéí äùâåéåú äîåôéòåú á÷ìè. æå âøñä ôåòìú, àåìí äéà àéððä ùìîä òãééï
26 - îéìéí ú÷ðéåú øáåú àéðï îåëøåú åäï îãååçåú ëùâéàåú. ä÷ôãðå îàåã
27 òì-îðú ùîéìéí ùäéà *ëï* îëéøä éàåéúå ùëåðä òì-ôé ëììé äà÷ãîéä äòáøéú
28 ìëúéá çñø ðé÷åã )"ëúéá îìà"(.
29
30 %description -l pl
31 hspell to program do kontroli pisowni w jêzyku hebrajskim. Udostêpnia
32 w wiêkszo¶ci zgodny ze spellem interfejs (podaj±cy listê b³êdnych s³ów
33 w tek¶cie wej¶ciowym), ale mo¿e tak¿e sugerowaæ poprawki (-c).
34
35 %package devel
36 Summary:        Header files and static hspell library
37 Summary(pl):    Pliki nag³ówkowe i biblioteka statyczna hspell
38 Group:          Development/Libraries
39 Requires:       zlib-devel
40 # doesn't require base (until shared library is made)
41
42 %description devel
43 Header files and static hspell (Hebrew SPELLer) library.
44
45 %description devel -l pl
46 Pliki nag³ówkowe i biblioteka statyczna hspell (do kontroli
47 pisowni w jêzyku hebrajskim).
48
49 %prep
50 %setup -q
51 sed -i -e 's|#!.*|#!/bin/awk -f|g' wzip
52
53 %build
54 %configure
55 %{__make} \
56         CC="%{__cc}" \
57         CFLAGS="%{rpmcflags} -fPIC -DDICTIONARY_BASE=\\\"%{_datadir}/hebrew.wgz\\\"" \
58         LDFLAGS="%{rpmldflags}"
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT \
65         PREFIX=%{_prefix} \
66         MAN1=%{_mandir}/man1 \
67         MAN3=%{_mandir}/man3
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %doc LICENSE README TODO WHATSNEW
74 %attr(755,root,root) %{_bindir}/*
75 %{_datadir}/%{name}
76 %{_mandir}/man1/*
77
78 %files devel
79 %defattr(644,root,root,755)
80 %{_libdir}/libhspell.a
81 %{_includedir}/*.h
82 %{_mandir}/man3/hspell.3*
This page took 0.040113 seconds and 4 git commands to generate.