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