]>
Commit | Line | Data |
---|---|---|
2b2b4bf8 | 1 | Summary: Online lexical reference system, ie. smart dictionary |
1534756c | 2 | Summary(pl.UTF-8): System referencji słownikowych, czyli mądry słownik |
2b2b4bf8 | 3 | Name: WordNet |
ecb961ce JR |
4 | Version: 3.0 |
5 | Release: 1 | |
8007107e | 6 | License: Free to use (see COPYING) |
2b2b4bf8 | 7 | Group: Applications/Dictionaries |
ecb961ce JR |
8 | Source0: ftp://ftp.cogsci.princeton.edu/pub/wordnet/3.0/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 89b4db7c6840ce69a8e315a3f83d996b | |
8007107e | 10 | Patch0: %{name}-FHS.patch |
2b2b4bf8 | 11 | Patch1: %{name}-shared.patch |
8007107e ER |
12 | URL: http://wordnet.princeton.edu/ |
13 | BuildRequires: autoconf | |
14 | BuildRequires: automake | |
15 | BuildRequires: libtool | |
9a0f2ace JR |
16 | BuildRequires: tcl-devel >= 8.4 |
17 | BuildRequires: tk-devel >= 8.4 | |
ecb961ce | 18 | BuildRequires: xorg-lib-libXScrnSaver-devel |
a4e286b3 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
2b2b4bf8 SZ |
20 | |
21 | %description | |
22 | WordNet is an online lexical reference system. Word forms in WordNet | |
23 | are represented in their familiar orthography; word meanings are | |
24 | represented by synonym sets (synset) - lists of synonymous word forms | |
25 | that are interchangeable in some context. Two kinds of relations are | |
26 | recognized: lexical and semantic. Lexical relations hold between word | |
27 | forms; semantic relations hold between word meanings. | |
28 | ||
29 | Information about WordNet, an online interface, and the various | |
30 | WordNet packages are available from our Web site at | |
8007107e | 31 | <%URL>. |
2b2b4bf8 | 32 | |
7935c804 JR |
33 | %description -l pl.UTF-8 |
34 | WordNet to system referencji słownikowych. Formy słów w WordNet są | |
35 | reprezentowane w ich pisowni; znaczenia słów są reprezentowane przez | |
36 | zestawy synonimów (synset) - listy form synonimów, które są zamienne w | |
37 | pewnym kontekście. Są rozpoznawane dwa rodzaje relacji: leksykalna i | |
38 | semantyczna. Leksykalne zachodzą między formami słów; semantyczne | |
39 | między ich znaczeniami. | |
2b2b4bf8 SZ |
40 | |
41 | %package devel | |
42 | Summary: Header files, library, and development documentation for WordNet | |
1534756c | 43 | Summary(pl.UTF-8): Pliki nagłówkowe, biblioteka i dokumentacja do WordNet |
2b2b4bf8 | 44 | Group: Development/Libraries |
cc7b4b1d | 45 | Requires: %{name} = %{version}-%{release} |
2b2b4bf8 SZ |
46 | |
47 | %description devel | |
48 | Header files and development documentation for WordNet. | |
49 | ||
7935c804 JR |
50 | %description devel -l pl.UTF-8 |
51 | Pliki nagłówkowe, biblioteka i dokumentacja do WordNet. | |
2b2b4bf8 | 52 | |
8007107e ER |
53 | %package static |
54 | Summary: Static WordNet library | |
1534756c | 55 | Summary(pl.UTF-8): Statyczna biblioteka WordNet |
8007107e ER |
56 | Group: Development/Libraries |
57 | Requires: %{name}-devel = %{version}-%{release} | |
58 | ||
59 | %description static | |
60 | Static WordNet library. | |
61 | ||
7935c804 | 62 | %description static -l pl.UTF-8 |
cc7b4b1d JB |
63 | Statyczna biblioteka WordNet. |
64 | ||
8007107e ER |
65 | %package browser |
66 | Summary: WordNet browser | |
1534756c | 67 | Summary(pl.UTF-8): Przeglądarka WordNet |
8007107e ER |
68 | Group: Applications/Dictionaries |
69 | Requires: %{name} = %{version}-%{release} | |
70 | ||
71 | %description browser | |
72 | A graphical interface to the WordNet online lexical database. | |
73 | ||
7935c804 JR |
74 | %description browser -l pl.UTF-8 |
75 | Graficzny interfejs do sieciowej bazy danych słownika WordNet. | |
cc7b4b1d | 76 | |
2b2b4bf8 SZ |
77 | %prep |
78 | %setup -q | |
79 | %patch0 -p1 | |
80 | %patch1 -p1 | |
81 | ||
82 | %build | |
8007107e ER |
83 | %{__libtoolize} |
84 | %{__aclocal} | |
85 | %{__autoconf} | |
86 | %{__autoheader} | |
87 | %{__automake} | |
88 | %configure | |
89 | %{__make} | |
2b2b4bf8 SZ |
90 | |
91 | %install | |
92 | rm -rf $RPM_BUILD_ROOT | |
8007107e ER |
93 | %{__make} install \ |
94 | DESTDIR=$RPM_BUILD_ROOT | |
2b2b4bf8 | 95 | |
8007107e ER |
96 | # dunno. anyone needs this? |
97 | rm -rf $RPM_BUILD_ROOT%{_prefix}/doc/{html,ps,pdf} | |
2b2b4bf8 SZ |
98 | |
99 | %clean | |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
0338fca7 | 102 | %post -p /sbin/ldconfig |
2b2b4bf8 SZ |
103 | %postun -p /sbin/ldconfig |
104 | ||
105 | %files | |
106 | %defattr(644,root,root,755) | |
8007107e ER |
107 | %doc AUTHORS COPYING ChangeLog README |
108 | %attr(755,root,root) %{_bindir}/wn | |
cc7b4b1d | 109 | %attr(755,root,root) %{_libdir}/*.so.*.*.* |
8007107e ER |
110 | %{_mandir}/man1/wn.1* |
111 | %{_mandir}/man1/wnintro.1* | |
112 | %dir %{_datadir}/%{name} | |
113 | %{_datadir}/%{name}/dict | |
2b2b4bf8 SZ |
114 | |
115 | %files devel | |
116 | %defattr(644,root,root,755) | |
cc7b4b1d | 117 | %attr(755,root,root) %{_libdir}/*.so |
8007107e | 118 | %{_libdir}/*.la |
cc7b4b1d | 119 | %{_includedir}/* |
8007107e ER |
120 | # funny. manual is there but no such program. rm -f it? |
121 | %{_mandir}/man1/grind.1* | |
2b2b4bf8 | 122 | %{_mandir}/man[357]/* |
8007107e ER |
123 | |
124 | %files static | |
125 | %defattr(644,root,root,755) | |
126 | %{_libdir}/*.a | |
127 | ||
128 | %files browser | |
129 | %defattr(644,root,root,755) | |
130 | %{_datadir}/%{name}/wnres | |
131 | # anyone? is this prog needed? | |
132 | %attr(755,root,root) %{_bindir}/wishwn | |
133 | %attr(755,root,root) %{_bindir}/wnb | |
134 | %{_mandir}/man1/wnb.1* |