2 Summary: WordNet lexical reference system formatted as dictionary for dictd
6 License: Free to use, but see http://www.cogsci.princeton.edu/~wn/
7 Group: Applications/Dictionaries
8 Group(pl): Aplikacje/S³owniki
9 URL: http://www.dict.org/
10 Source0: ftp://ftp.dict.org/pub/dict/%{name}-%{version}.tar.gz
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12 BuildRequires: dictzip
17 This package contains WordNet (r) 1.6 Lexical Database formatted for
18 use by the dictionary server in the dictd package.
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT%{_datadir}/dictd/
31 DICTDIR="$RPM_BUILD_ROOT%{_datadir}/dictd/"
32 %{__make} install dictdir="$DICTDIR"
35 rm -rf $RPM_BUILD_ROOT
38 prefix=%{_datadir}/dictd/%{dictname}
40 if ! grep ' %{dictname} ' /etc/dictd.conf >/dev/null; then
41 echo "Edit /etc/dictd.conf to see %{dictname} dictionary under dictd"
42 echo "# Uncommment this to configure WordNet Lexical Database dictionary
43 #database %{dictname} {
44 # data \"$prefix.dict.dz\"
45 # index \"$prefix.index\" }
50 %defattr(644,root,root,755)
51 %{_datadir}/dictd/%{dictname}*