%define dictname wn
Summary: WordNet lexical reference system for dictd
-Summary(pl): System referencji s³ownikowych WordNet dla dictd
+Summary(pl.UTF-8): System referencji słownikowych WordNet dla dictd
Name: dict-%{dictname}
-Version: 1.7a
-Release: 1
+Version: 2.0
+Release: 2
License: Free to use, but see http://www.cogsci.princeton.edu/~wn/
Group: Applications/Dictionaries
-Source0: ftp://ftp.dict.org/pub/dict/pre/%{name}_%{version}.tar.gz
-# Source0-md5: e58001b93c59a607bc9d5903a80df71e
+# note: pre means preformatted
+Source0: ftp://ftp.dict.org/pub/dict/pre/%{name}-%{version}-pre.tar.gz
+# Source0-md5: fcfedcc13815cde1e28103b61c05c168
URL: http://www.dict.org/
-Requires: dictd
Requires: %{_sysconfdir}/dictd
+Requires: dictd
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-This package contains WordNet (r) %version Lexical Database formatted for
-use by the dictionary server in the dictd package.
+This package contains WordNet (r) %{version} Lexical Database
+formatted for use by the dictionary server in the dictd package.
-%description -l pl
-Ten pakiet zawiera leksykaln± bazê danych WordNet (r) %version sformatowan±
-do u¿ywania z serwerem s³ownika dictd.
+%description -l pl.UTF-8
+Ten pakiet zawiera leksykalną bazę danych WordNet (r) %{version}
+sformatowaną do używania z serwerem słownika dictd.
%prep
%setup -c -q
install -d $RPM_BUILD_ROOT{%{_datadir}/dictd,%{_sysconfdir}/dictd}
dictprefix=%{_datadir}/dictd/%{dictname}
-echo "# WordNet %version Lexical Database dictionary
+echo "# WordNet %{version} Lexical Database dictionary
database %{dictname} {
data \"$dictprefix.dict.dz\"
index \"$dictprefix.index\"
%files
%defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/%{dictname}.dictconf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dictd/%{dictname}.dictconf
%{_datadir}/dictd/%{dictname}.*