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