]> git.pld-linux.org Git - packages/WordNet.git/blob - WordNet.spec
- drop something obvous from desc
[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:        1
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
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 # dunno. anyone needs this?
95 rm -rf $RPM_BUILD_ROOT%{_prefix}/doc/{html,ps,pdf}
96
97 %clean
98 rm -rf $RPM_BUILD_ROOT
99
100 %post   -p /sbin/ldconfig
101 %postun -p /sbin/ldconfig
102
103 %files
104 %defattr(644,root,root,755)
105 %doc AUTHORS COPYING ChangeLog README
106 %attr(755,root,root) %{_bindir}/wn
107 %attr(755,root,root) %{_libdir}/*.so*
108 %{_mandir}/man1/wn.1*
109 %{_mandir}/man1/wnintro.1*
110 %dir %{_datadir}/%{name}
111 %{_datadir}/%{name}/dict
112
113 %files devel
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_libdir}/*.so
116 %{_libdir}/*.la
117 %{_includedir}/*
118 # funny. manual is there but no such program. rm -f it?
119 %{_mandir}/man1/grind.1*
120 %{_mandir}/man[357]/*
121
122 %files static
123 %defattr(644,root,root,755)
124 %{_libdir}/*.a
125
126 %files browser
127 %defattr(644,root,root,755)
128 %{_datadir}/%{name}/wnres
129 # anyone? is this prog needed?
130 %attr(755,root,root) %{_bindir}/wishwn
131 %attr(755,root,root) %{_bindir}/wnb
132 %{_mandir}/man1/wnb.1*
This page took 0.037693 seconds and 4 git commands to generate.