1 Summary: Online lexical reference system, ie. smart dictionary
2 Summary(pl.UTF-8): System referencji słownikowych, czyli mądry słownik
6 License: Free to use (see COPYING)
7 Group: Applications/Dictionaries
8 Source0: ftp://ftp.cogsci.princeton.edu/pub/wordnet/3.0/%{name}-%{version}.tar.bz2
9 # Source0-md5: 89b4db7c6840ce69a8e315a3f83d996b
10 Patch0: %{name}-FHS.patch
11 Patch1: %{name}-shared.patch
12 Patch2: %{name}-dictdir.patch
13 URL: http://wordnet.princeton.edu/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: libtool
17 BuildRequires: tcl-devel >= 8.4
18 BuildRequires: tk-devel >= 8.4
19 BuildRequires: xorg-lib-libXScrnSaver-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 WordNet is an online lexical reference system. Word forms in WordNet
24 are represented in their familiar orthography; word meanings are
25 represented by synonym sets (synset) - lists of synonymous word forms
26 that are interchangeable in some context. Two kinds of relations are
27 recognized: lexical and semantic. Lexical relations hold between word
28 forms; semantic relations hold between word meanings.
30 %description -l pl.UTF-8
31 WordNet to system referencji słownikowych. Formy słów w WordNet są
32 reprezentowane w ich pisowni; znaczenia słów są reprezentowane przez
33 zestawy synonimów (synset) - listy form synonimów, które są zamienne w
34 pewnym kontekście. Są rozpoznawane dwa rodzaje relacji: leksykalna i
35 semantyczna. Leksykalne zachodzą między formami słów; semantyczne
36 między ich znaczeniami.
39 Summary: Header files, library, and development documentation for WordNet
40 Summary(pl.UTF-8): Pliki nagłówkowe, biblioteka i dokumentacja do WordNet
41 Group: Development/Libraries
42 Requires: %{name} = %{version}-%{release}
45 Header files and development documentation for WordNet.
47 %description devel -l pl.UTF-8
48 Pliki nagłówkowe, biblioteka i dokumentacja do WordNet.
51 Summary: Static WordNet library
52 Summary(pl.UTF-8): Statyczna biblioteka WordNet
53 Group: Development/Libraries
54 Requires: %{name}-devel = %{version}-%{release}
57 Static WordNet library.
59 %description static -l pl.UTF-8
60 Statyczna biblioteka WordNet.
63 Summary: WordNet browser
64 Summary(pl.UTF-8): Przeglądarka WordNet
65 Group: Applications/Dictionaries
66 Requires: %{name} = %{version}-%{release}
69 A graphical interface to the WordNet online lexical database.
71 %description browser -l pl.UTF-8
72 Graficzny interfejs do sieciowej bazy danych słownika WordNet.
90 rm -rf $RPM_BUILD_ROOT
92 DESTDIR=$RPM_BUILD_ROOT
94 # dunno. anyone needs this?
95 rm -rf $RPM_BUILD_ROOT%{_prefix}/doc/{html,ps,pdf}
98 rm -rf $RPM_BUILD_ROOT
100 %post -p /sbin/ldconfig
101 %postun -p /sbin/ldconfig
104 %defattr(644,root,root,755)
105 %doc AUTHORS COPYING ChangeLog README
106 %attr(755,root,root) %{_bindir}/wn
107 %attr(755,root,root) %{_libdir}/*.so*
108 %{_mandir}/man1/wn.1*
109 %{_mandir}/man1/wnintro.1*
110 %dir %{_datadir}/%{name}
111 %{_datadir}/%{name}/dict
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_libdir}/*.so
118 # funny. manual is there but no such program. rm -f it?
119 %{_mandir}/man1/grind.1*
120 %{_mandir}/man[357]/*
123 %defattr(644,root,root,755)
127 %defattr(644,root,root,755)
128 %{_datadir}/%{name}/wnres
129 # anyone? is this prog needed?
130 %attr(755,root,root) %{_bindir}/wishwn
131 %attr(755,root,root) %{_bindir}/wnb
132 %{_mandir}/man1/wnb.1*