SPECS: hspell.spec - rel 2; fix awk call; fix fPIC

arekm arekm at pld-linux.org
Wed Nov 23 15:21:51 CET 2005


Author: arekm                        Date: Wed Nov 23 14:21:51 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 2; fix awk call; fix fPIC

---- Files affected:
SPECS:
   hspell.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/hspell.spec
diff -u SPECS/hspell.spec:1.4 SPECS/hspell.spec:1.5
--- SPECS/hspell.spec:1.4	Wed Nov 23 13:29:32 2005
+++ SPECS/hspell.spec	Wed Nov 23 15:21:31 2005
@@ -4,14 +4,16 @@
 Summary(pl):	Hspell - wolnodostępny program do kontroli pisowni hebrajskiej
 Name:		hspell
 Version:	0.9
-Release:	1
+Release:	2
 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:	6ebae9cfe721c6563075095fa73f69ac
 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
@@ -46,13 +48,14 @@
 
 %prep
 %setup -q
+sed -i -e 's|#!.*|#!/bin/awk -f|g' wzip
 
 %build
 %configure
 %{__make} \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags} -DDICTIONARY_BASE=\\\"%{_datadir}/hebrew.wgz\\\"" \
-	LDFLAGS="-fPIC %{rpmldflags}"
+	CFLAGS="%{rpmcflags} -fPIC -DDICTIONARY_BASE=\\\"%{_datadir}/hebrew.wgz\\\"" \
+	LDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -84,6 +87,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2005/11/23 14:21:31  arekm
+- rel 2; fix awk call; fix fPIC
+
 Revision 1.4  2005/11/23 12:29:32  arekm
 - up to 0.9
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/hspell.spec?r1=1.4&r2=1.5&f=u




More information about the pld-cvs-commit mailing list