rpms/hspell/EL-5 hspell.spec,1.8,1.9

Dan Kenigsberg (danken) fedora-extras-commits at redhat.com
Thu Dec 27 17:49:27 UTC 2007


Author: danken

Update of /cvs/extras/rpms/hspell/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4818

Modified Files:
	hspell.spec 
Log Message:
update spec



Index: hspell.spec
===================================================================
RCS file: /cvs/extras/rpms/hspell/EL-5/hspell.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- hspell.spec	11 Sep 2006 15:05:57 -0000	1.8
+++ hspell.spec	27 Dec 2007 17:48:47 -0000	1.9
@@ -1,7 +1,7 @@
 Summary: A Hebrew spell checker
 Name: hspell
 Version: 1.0
-Release: 5%{?dist}
+Release: 7%{?dist}
 URL: http://ivrix.org.il/projects/spell-checker/
 Source: http://ivrix.org.il/projects/spell-checker/hspell-%{version}.tar.gz
 License: GPL
@@ -44,18 +44,35 @@
 %description -l he devel
 ספרייה וקובצי כותרת עבור יישומים שרוצים להשתמש ב-Hspell.
 
+%package -n hunspell-he
+Summary: Hebrew hunspell dictionaries
+Group: Applications/Text
+Requires: hunspell
+
+%description -n hunspell-he
+Hebrew hunspell dictionaries.
+
 %prep
 %setup -q
 sed -i -e '/^\s\+strip\s/d' Makefile.in
+sed -i -e 's/gzip/gzip -n/g' Makefile.in
 
 %build
 %configure --enable-fatverb --enable-linginfo
 make CFLAGS="$RPM_OPT_FLAGS"
 
+export PATH=$PATH:.
+make myspell
+
 %install
 rm -rf %{buildroot}
 make DESTDIR=%{buildroot} install
 
+mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
+cp -p he.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/he_IL.dic
+echo -e "WORDCHARS \0340\0341\0342\0343\0344\0345\0346\0347\0350\0351\0352\0353\0354\0355\0356\0357\0360\0361\0362\0363\0364\0365\0366\0367\0370\0371\0372\042\047" >> he.aff
+cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/he_IL.aff
+
 %clean
 rm -rf %{buildroot}
 
@@ -74,7 +91,17 @@
 %{_libdir}/libhspell.a
 %{_mandir}/man3/hspell.3*
 
+%files -n hunspell-he
+%defattr(-,root,root,-)
+%doc LICENSE
+%{_datadir}/myspell/*
+
 %changelog
+* Tue May 22 2007 Dan Kenigsberg <danken at cs.technion.ac.il> 1.0-7
+- Move the hunspell-he dictionaries into hspell package (Bug #240696).
+  Mostly applying Caolan McNamara's patch #155078.
+* Sun Feb 11 2007 Dan Kenigsberg <danken at cs.technion.ac.il> 1.0-6
+- Use gzip -n to exclude MTIME from compressed data and resolve bug #228171
 * Tue Sep 11 2006 Dan Kenigsberg <danken at cs.technion.ac.il> 1.0-5
 - Rebuild for Fedora Extras 6
 * Sun Jul  9 2006 Dan Kenigsberg <danken at cs.technion.ac.il> 1.0-4




More information about the fedora-extras-commits mailing list