1 Summary: Online lexical reference system, ie. smart dictionary
2 Summary(pl): System referencji s³ownikowych, czyli m±dry s³ownik
6 License: Free to use (see LICENSE)
7 Group: Applications/Dictionaries
8 Source0: ftp://ftp.cogsci.princeton.edu/pub/wordnet/%{version}/WordNet-%{version}.tar.gz
9 # Source0-md5: 5c8e569339cf7d8e727d884234365508
10 Patch0: %{name}-includes.patch
11 Patch1: %{name}-shared.patch
12 URL: http://www.cogsci.princeton.edu/~wn/
13 BuildRequires: tcl-devel
14 BuildRequires: tk-devel
15 Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 WordNet is an online lexical reference system. Word forms in WordNet
19 are represented in their familiar orthography; word meanings are
20 represented by synonym sets (synset) - lists of synonymous word forms
21 that are interchangeable in some context. Two kinds of relations are
22 recognized: lexical and semantic. Lexical relations hold between word
23 forms; semantic relations hold between word meanings.
25 Information about WordNet, an online interface, and the various
26 WordNet packages are available from our Web site at
30 WordNet to system referencji s³ownikowych. Formy s³ów w WordNet s±
31 reprezentowane w ich pisowni; znaczenia s³ów s± reprezentowane przez
32 zestawy synonimów (synset) - listy form synonimów, które s± zamienne w
33 pewnym kontek¶cie. S± rozpoznawane dwa rodzaje relacji: leksykalna i
34 semantyczna. Leksykalne zachodz± miêdzy formami s³ów; semantyczne
35 miêdzy ich znaczeniami.
38 Summary: Header files, library, and development documentation for WordNet
39 Summary(pl): Pliki nag³ówkowe, biblioteka i dokumentacja do WordNet
40 Group: Development/Libraries
41 Requires: %{name} = %{version}
44 Header files and development documentation for WordNet.
46 %description devel -l pl
47 Pliki nag³ówkowe, biblioteka i dokumentacja do WordNet.
55 %define wnopts "PLATFORM=linux WN_ROOT=%{_prefix} %WN_DICT=%{_datadir}/%{name}"
57 ff=src/include/wnconsts.h
58 sed 's|/usr/local/%{name}-%{version}/dict|%{_datadir}/%{name}|' < $ff > $ff.fix
61 %{__make} %{wnopts} clean
62 %{__make} %{wnopts} -C src/lib
63 %{__make} %{wnopts} LOCAL_LDFLAGS=-dynamic -C src/wn
64 %{__make} %{wnopts} LOCAL_LDFLAGS=-dynamic -C src/wnb
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir},%{_libdir}} \
69 $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_mandir}/man{1,3,5,7}}
71 install src/wn/wn $RPM_BUILD_ROOT%{_bindir}
72 install src/wnb/{wnb,wishwn} $RPM_BUILD_ROOT%{_bindir}
74 %{__make} -C dict WN_INSTALLDIR=$RPM_BUILD_ROOT%{_datadir}/%{name} install
75 %{__make} -C man WN_INSTALLDIR=$RPM_BUILD_ROOT%{_mandir} install
77 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/wnb*
79 install src/lib/libwn.{a,so} $RPM_BUILD_ROOT%{_libdir}
80 install src/include/wn*.h $RPM_BUILD_ROOT%{_includedir}
83 rm -rf $RPM_BUILD_ROOT
85 %post -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_bindir}/*
92 %attr(755,root,root) %{_libdir}/*.so
94 %doc CHANGES INSTALL LICENSE README.doc README.list README.tcltk UNBUNDLE
97 %defattr(644,root,root,755)
100 %{_mandir}/man[357]/*