Summary: Hspell - a free Hebrew spell checker
Summary(pl): Hspell - wolnodostêpny program do kontroli pisowni hebrajskiej
Name: hspell
-Version: 0.8
+Version: 1.0
Release: 1
License: GPL
Group: Applications/Text
# Source0Download: http://ivrix.org.il/projects/spell-checker/download.html
Source0: http://ivrix.org.il/projects/spell-checker/%{name}-%{version}.tar.gz
-# Source0-md5: 67f402162bdb4f5e7b3099572de1342e
+# Source0-md5: 3e12fa383c2cfd430918d115f33f9841
URL: http://ivrix.org.il/projects/spell-checker/
+BuildRequires: awk
BuildRequires: rpm-perlprov
+BuildRequires: zlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Summary: Header files and static hspell library
Summary(pl): Pliki nag³ówkowe i biblioteka statyczna hspell
Group: Development/Libraries
+Requires: zlib-devel
# doesn't require base (until shared library is made)
%description devel
%prep
%setup -q
+sed -i -e 's|#!.*|#!/bin/awk -f|g' wzip
%build
%configure
%{__make} \
CC="%{__cc}" \
- CFLAGS="%{rpmcflags} -DDICTIONARY_BASE=\\\"%{_datadir}/hebrew.wgz\\\"" \
+ CFLAGS="%{rpmcflags} -fPIC -DDICTIONARY_BASE=\\\"%{_datadir}/hebrew.wgz\\\"" \
LDFLAGS="%{rpmldflags}"
%install