]> git.pld-linux.org Git - SPECS.git/blob - hspell.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / hspell.spec
1 Summary:        Hspell - a free Hebrew spell checker
2 Summary(pl.UTF-8):      Hspell - wolnodostępny program do kontroli pisowni hebrajskiej
3 Name:           hspell
4 Version:        1.4
5 Release:        1
6 License:        AGPL v3
7 Group:          Applications/Text
8 # Source0Download: http://hspell.ivrix.org.il/download.html
9 Source0:        http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz
10 # Source0-md5:  55d9cdc4fe576db8515945e663ef4791
11 Patch0:         %{name}-perl-inc.patch
12 URL:            http://hspell.ivrix.org.il/
13 BuildRequires:  awk
14 BuildRequires:  perl-base
15 BuildRequires:  rpm-perlprov
16 BuildRequires:  sed >= 4.0
17 BuildRequires:  zlib-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 hspell is a Hebrew SPELLer. It currently provides a mostly spell-like
22 interface (gives the list of wrong words in the input text), but can
23 also suggest corrections (-c).
24
25 %description -l he.UTF-8
26 hspell הוא מאיית עברי, המספק (בינתיים) מנשק דמוי-spell - פולט רשימה של
27 המילים השגויות המופיעות בקלט. זו גרסה פועלת, אולם היא איננה שלמה עדיין
28 - מילים תקניות רבות אינן מוכרות והן מדווחות כשגיאות. הקפדנו מאוד
29 על-מנת שמילים שהיא *כן* מכירה יאויתו שכונה על-פי כללי האקדמיה העברית
30 לכתיב חסר ניקוד )"כתיב מלא"(.
31
32 %description -l pl.UTF-8
33 hspell to program do kontroli pisowni w języku hebrajskim. Udostępnia
34 w większości zgodny ze spellem interfejs (podający listę błędnych słów
35 w tekście wejściowym), ale może także sugerować poprawki (-c).
36
37 %package multispell
38 Summary:        Multispell - merging results from two speller programs
39 Summary(pl.UTF-8):      Multispell - łączenie wyników z dwóch programów sprawdzających pisownię
40 License:        Public Domain
41 Group:          Applications/Text
42 Requires:       %{name} = %{version}-%{release}
43 Requires:       ispell
44
45 %description multispell
46 Multispell is a program that lets your editor talk to two spellers
47 simultaneously. It launches two speller programs, one Hebrew (hspell),
48 one English (ispell), and merges their results.
49
50 %description multispell -l pl.UTF-8
51 Multispell to program pozwalający na jednoczesną współpracę z dwoma
52 programami kontrolującymi pisownię. Uruchamia dwa programy (hspell dla
53 języka hebrajskiego i ispell dla języka angielskiego) i łączy ich
54 wyniki.
55
56 %package devel
57 Summary:        Header files for hspell library
58 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki hspell
59 Group:          Development/Libraries
60 Requires:       %{name} = %{version}-%{release}
61 Requires:       zlib-devel
62
63 %description devel
64 Header files for hspell (Hebrew SPELLer) library.
65
66 %description devel -l pl.UTF-8
67 Pliki nagłówkowe biblioteki hspell (do kontroli pisowni w języku
68 hebrajskim).
69
70 %package static
71 Summary:        Static hspell library
72 Summary(pl.UTF-8):      Statyczna biblioteka hspell
73 Group:          Development/Libraries
74 Requires:       %{name}-devel = %{version}-%{release}
75
76 %description static
77 Static hspell library.
78
79 %description static -l pl.UTF-8
80 Statyczna biblioteka hspell.
81
82 %prep
83 %setup -q
84 %patch0 -p1
85
86 %{__sed} -i -e '1s|#!.*|#!/bin/awk -f|g' wzip
87
88 %build
89 %configure \
90         --enable-shared
91 %{__make}
92
93 %install
94 rm -rf $RPM_BUILD_ROOT
95
96 %{__make} install \
97         DESTDIR=$RPM_BUILD_ROOT \
98         STRIP=:
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %post   -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
105
106 %files
107 %defattr(644,root,root,755)
108 %doc LICENSE README WHATSNEW
109 %attr(755,root,root) %{_bindir}/hspell
110 %attr(755,root,root) %{_bindir}/hspell-i
111 %attr(755,root,root) %{_libdir}/libhspell.so.0
112 %{_datadir}/hspell
113 %{_mandir}/man1/hspell.1*
114
115 %files multispell
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_bindir}/multispell
118
119 %files devel
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_libdir}/libhspell.so
122 %{_includedir}/hspell.h
123 %{_includedir}/linginfo.h
124 %{_mandir}/man3/hspell.3*
125
126 %files static
127 %defattr(644,root,root,755)
128 %{_libdir}/libhspell.a
This page took 0.355737 seconds and 3 git commands to generate.