diff -rubN ispell-uk-a-0.9.4.2/Makefile ispell-uk-a-0.9.4.3/Makefile --- ispell-uk-a-0.9.4.2/Makefile Thu Oct 3 10:46:57 2002 +++ ispell-uk-a-0.9.4.3/Makefile Tue Oct 8 18:24:16 2002 @@ -1,5 +1,5 @@ -#TODO dictdir=/usr/lib/ispell +ENCODING=koi8u all: ukrainian.hash ukrainian.aff @@ -7,12 +7,17 @@ chown root.root ukrainian.hash ukrainian.aff chmod 0644 ukrainian.hash ukrainian.aff cp -f ukrainian.hash ukrainian.aff $(dictdir) + chown root.root ukrainian.encoding + chmod 0644 ukrainian.encoding + cp -f ukrainian.encoding $(dictdir) ukrainian.hash: words-uk.dic.sq unsq ./unsq words-uk.dic buildhash ./words-uk.dic ./ukrainian.aff ./ukrainian.hash + echo "$(ENCODING)" > ./ukrainian.encoding clean: rm -f ukrainian.hash words-uk.dic words-uk.dic.cnt words-uk.dic.stat + rm -f ukrainian.encoding diff -rubN ispell-uk-a-0.9.4.2/contributors ispell-uk-a-0.9.4.3/contributors --- ispell-uk-a-0.9.4.2/contributors Mon Sep 9 17:39:51 2002 +++ ispell-uk-a-0.9.4.3/contributors Tue Oct 8 18:23:26 2002 @@ -1 +1,2 @@ -ispell-uk-0.5.1a (http://ispell-uk.sf.net) +ispell-uk-0.5.1a (http://ispell-uk.sf.net) (dictionary(partialy), affix) +Andy Shevchenko (spec-file corrections) diff -rubN ispell-uk-a-0.9.4.2/ispell-uk-a.spec ispell-uk-a-0.9.4.3/ispell-uk-a.spec --- ispell-uk-a-0.9.4.2/ispell-uk-a.spec Thu Oct 3 10:20:59 2002 +++ ispell-uk-a-0.9.4.3/ispell-uk-a.spec Tue Oct 8 18:17:33 2002 @@ -1,15 +1,17 @@ +%define ispell_libdir `ispell -vv | grep LIBDIR | cut -f 3 -d ' ' | tr -d '"'` + Summary: Ukrainian dictionary for ispell Name: ispell-uk-a -Version: 0.9.4.2 +Version: 0.9.4.3 Release: 1 Group: Applications/Text -Source: http://www.slovnyk.org/files/ispell-uk-a-%{version}.tar.gz -URL: http://www.slovnyk.org/ +Source: ispell-uk-a-%{version}.tar.gz +URL: http://www.linux.org.ua/cgi-bin/twiki/view/Projects/IspellUkAlternative License: LGPL Requires: ispell BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: ispell, perl, fileutils, make -Obsoletes: ispell-uk, ispell-ukrainian, ispell-uk-a +Conflicts: ispell-uk, ispell-ukrainian %description A Ukrainian dictionary for use with ispell, a spelling checker. @@ -18,24 +20,32 @@ %setup -q %build -LC_ALL=uk_UA.KOI8-U make +make ENCODING=koi8u dictdir=%{ispell_libdir} %install rm -fr $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT/usr/lib/ispell +mkdir -p $RPM_BUILD_ROOT%{ispell_libdir} + +install -m 0644 ukrainian.hash $RPM_BUILD_ROOT%{ispell_libdir} +install -m 0644 ukrainian.aff $RPM_BUILD_ROOT%{ispell_libdir} +install -m 0644 ukrainian.encoding $RPM_BUILD_ROOT%{ispell_libdir} -install -m 0644 ukrainian.hash $RPM_BUILD_ROOT/usr/lib/ispell -install -m 0644 ukrainian.aff $RPM_BUILD_ROOT/usr/lib/ispell +# hack for get correct filelist +echo "%{ispell_libdir}" > name.f %clean rm -fr $RPM_BUILD_ROOT -%files +%files -f name.f %defattr(-,root,root) %doc contributors COPYING Copyright README -/usr/lib/ispell/* %changelog +* Tue Oct 8 2002 Andy Shevchenko +- accurate spec +- add encoding +- add iconv patch + * Sat Aug 10 2002 Volodymyr M. Lisivka - first RPM