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 Patch2: %{name}-tcltk.patch
13 URL: http://www.cogsci.princeton.edu/~wn/
14 BuildRequires: tcl-devel >= 8.4
15 BuildRequires: tk-devel >= 8.4
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 WordNet is an online lexical reference system. Word forms in WordNet
20 are represented in their familiar orthography; word meanings are
21 represented by synonym sets (synset) - lists of synonymous word forms
22 that are interchangeable in some context. Two kinds of relations are
23 recognized: lexical and semantic. Lexical relations hold between word
24 forms; semantic relations hold between word meanings.
26 Information about WordNet, an online interface, and the various
27 WordNet packages are available from our Web site at
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): Pliki nag³ówkowe, biblioteka i dokumentacja do WordNet
41 Group: Development/Libraries
42 Requires: %{name} = %{version}
45 Header files and development documentation for WordNet.
47 %description devel -l pl
48 Pliki nag³ówkowe, biblioteka i dokumentacja do WordNet.
57 %define wnopts "PLATFORM=linux WN_ROOT=%{_prefix} %WN_DICT=%{_datadir}/%{name}"
59 ff=src/include/wnconsts.h
60 sed 's|/usr/local/%{name}-%{version}/dict|%{_datadir}/%{name}|' < $ff > $ff.fix
63 %{__make} %{wnopts} clean
64 %{__make} %{wnopts} -C src/lib
65 %{__make} %{wnopts} LOCAL_LDFLAGS=-dynamic -C src/wn
66 %{__make} %{wnopts} LOCAL_LDFLAGS=-dynamic -C src/wnb
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir},%{_libdir}} \
71 $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_mandir}/man{1,3,5,7}}
73 install src/wn/wn $RPM_BUILD_ROOT%{_bindir}
74 install src/wnb/{wnb,wishwn} $RPM_BUILD_ROOT%{_bindir}
76 %{__make} -C dict WN_INSTALLDIR=$RPM_BUILD_ROOT%{_datadir}/%{name} install
77 %{__make} -C man WN_INSTALLDIR=$RPM_BUILD_ROOT%{_mandir} install
79 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/wnb*
81 install src/lib/libwn.{a,so} $RPM_BUILD_ROOT%{_libdir}
82 install src/include/wn*.h $RPM_BUILD_ROOT%{_includedir}
85 rm -rf $RPM_BUILD_ROOT
87 %post -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_bindir}/*
94 %attr(755,root,root) %{_libdir}/*.so
96 %doc CHANGES INSTALL LICENSE README.doc README.list README.tcltk UNBUNDLE
99 %defattr(644,root,root,755)
102 %{_mandir}/man[357]/*