]> git.pld-linux.org Git - packages/hspell.git/blobdiff - hspell.spec
- updated to 1.0
[packages/hspell.git] / hspell.spec
index 799a489a1af5bfc4554d6e100aa57c1f8d12edd2..141d4dfc812fb45d3ea3b28b476b0651238a8958 100644 (file)
@@ -2,15 +2,17 @@
 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
@@ -34,6 +36,7 @@ w tek
 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
@@ -45,12 +48,13 @@ pisowni w j
 
 %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
This page took 0.074809 seconds and 4 git commands to generate.