]> git.pld-linux.org Git - packages/WordNet.git/blob - WordNet.spec
- tcl rebuild
[packages/WordNet.git] / WordNet.spec
1 Summary:        Online lexical reference system, ie. smart dictionary
2 Summary(pl.UTF-8):      System referencji słownikowych, czyli mądry słownik
3 Name:           WordNet
4 Version:        3.0
5 Release:        3
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 >= 2.59
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)
21
22 %description
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.
29
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.
37
38 %package devel
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}
43
44 %description devel
45 Header files and development documentation for WordNet.
46
47 %description devel -l pl.UTF-8
48 Pliki nagłówkowe, biblioteka i dokumentacja do WordNet.
49
50 %package static
51 Summary:        Static WordNet library
52 Summary(pl.UTF-8):      Statyczna biblioteka WordNet
53 Group:          Development/Libraries
54 Requires:       %{name}-devel = %{version}-%{release}
55
56 %description static
57 Static WordNet library.
58
59 %description static -l pl.UTF-8
60 Statyczna biblioteka WordNet.
61
62 %package browser
63 Summary:        WordNet browser
64 Summary(pl.UTF-8):      Przeglądarka WordNet
65 Group:          Applications/Dictionaries
66 Requires:       %{name} = %{version}-%{release}
67
68 %description browser
69 A graphical interface to the WordNet online lexical database.
70
71 %description browser -l pl.UTF-8
72 Graficzny interfejs do sieciowej bazy danych słownika WordNet.
73
74 %prep
75 %setup -q
76 %patch0 -p1
77 %patch1 -p1
78 %patch2 -p1
79
80 %build
81 %{__libtoolize}
82 %{__aclocal}
83 %{__autoconf}
84 %{__autoheader}
85 %{__automake}
86 %configure
87 %{__make}
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT
93
94 %{__rm} -r $RPM_BUILD_ROOT%{_prefix}/doc/{html,ps,pdf}
95 # just a copy of tk headers
96 %{__rm} -r $RPM_BUILD_ROOT%{_includedir}/tk
97
98 %clean
99 rm -rf $RPM_BUILD_ROOT
100
101 %post   -p /sbin/ldconfig
102 %postun -p /sbin/ldconfig
103
104 %files
105 %defattr(644,root,root,755)
106 %doc AUTHORS COPYING ChangeLog README
107 %attr(755,root,root) %{_bindir}/wn
108 %attr(755,root,root) %{_libdir}/libWN.so.*.*.*
109 %attr(755,root,root) %ghost %{_libdir}/libWN.so.0
110 %{_mandir}/man1/wn.1*
111 %{_mandir}/man1/wnintro.1*
112 %dir %{_datadir}/%{name}
113 %{_datadir}/%{name}/dict
114
115 %files devel
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/libWN.so
118 %{_libdir}/libWN.la
119 %{_includedir}/wn.h
120 # program not included
121 #%{_mandir}/man1/grind.1*
122 %{_mandir}/man3/binsrch.3*
123 %{_mandir}/man3/morph.3*
124 %{_mandir}/man3/wn*.3*
125 %{_mandir}/man5/cntlist.5*
126 %{_mandir}/man5/lexnames.5*
127 %{_mandir}/man5/senseidx.5*
128 %{_mandir}/man5/wn*.5*
129 %{_mandir}/man7/morphy.7*
130 %{_mandir}/man7/uniqbeg.7*
131 %{_mandir}/man7/wn*.7*
132
133 %files static
134 %defattr(644,root,root,755)
135 %{_libdir}/libWN.a
136
137 %files browser
138 %defattr(644,root,root,755)
139 %attr(755,root,root) %{_bindir}/wishwn
140 %attr(755,root,root) %{_bindir}/wnb
141 %{_datadir}/%{name}/wnres
142 %{_mandir}/man1/wnb.1*
This page took 0.47552 seconds and 4 git commands to generate.