]> git.pld-linux.org Git - packages/WordNet.git/blob - WordNet.spec
- updated to 2.1
[packages/WordNet.git] / WordNet.spec
1 Summary:        Online lexical reference system, ie. smart dictionary
2 Summary(pl):    System referencji s³ownikowych, czyli m±dry s³ownik
3 Name:           WordNet
4 Version:        2.1
5 Release:        0.11
6 License:        Free to use (see COPYING)
7 Group:          Applications/Dictionaries
8 Source0:        ftp://ftp.cogsci.princeton.edu/pub/wordnet/2.1/%{name}-%{version}.tar.gz
9 # Source0-md5:  081aa25baaccac602cebb61f6cb949e7
10 Patch0:         %{name}-FHS.patch
11 Patch1:         %{name}-shared.patch
12 Patch2:         %{name}-typo.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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
31 <%URL>.
32
33 %description -l pl
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.
40
41 %package devel
42 Summary:        Header files, library, and development documentation for WordNet
43 Summary(pl):    Pliki nag³ówkowe, biblioteka i dokumentacja do WordNet
44 Group:          Development/Libraries
45 Requires:       %{name} = %{version}
46
47 %description devel
48 Header files and development documentation for WordNet.
49
50 %description devel -l pl
51 Pliki nag³ówkowe, biblioteka i dokumentacja do WordNet.
52
53 %package static
54 Summary:        Static WordNet library
55 Group:          Development/Libraries
56 Requires:       %{name}-devel = %{version}-%{release}
57
58 %description static
59 Static WordNet library.
60
61 %package browser
62 Summary:        WordNet browser
63 Group:          Applications/Dictionaries
64 Requires:       %{name} = %{version}-%{release}
65
66 %description browser
67 A graphical interface to the WordNet online lexical database.
68
69 %prep
70 %setup -q
71 %patch0 -p1
72 %patch1 -p1
73 %patch2 -p1
74
75 %build
76 %{__libtoolize}
77 %{__aclocal}
78 %{__autoconf}
79 %{__autoheader}
80 %{__automake}
81 %configure
82 %{__make}
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT
88
89 # dunno. anyone needs this?
90 rm -rf $RPM_BUILD_ROOT%{_prefix}/doc/{html,ps,pdf}
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %post   -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
97
98 %files
99 %defattr(644,root,root,755)
100 %doc AUTHORS COPYING ChangeLog README
101 %attr(755,root,root) %{_bindir}/wn
102 %attr(755,root,root) %{_libdir}/*.so.0.0.0
103 %{_mandir}/man1/wn.1*
104 %{_mandir}/man1/wnintro.1*
105 %dir %{_datadir}/%{name}
106 %{_datadir}/%{name}/dict
107
108 %files devel
109 %defattr(644,root,root,755)
110 %{_includedir}/*
111 %{_libdir}/*.la
112 %{_libdir}/*.so
113 # funny. manual is there but no such program. rm -f it?
114 %{_mandir}/man1/grind.1*
115 %{_mandir}/man[357]/*
116
117 %files static
118 %defattr(644,root,root,755)
119 %{_libdir}/*.a
120
121 %files browser
122 %defattr(644,root,root,755)
123 %{_datadir}/%{name}/wnres
124 # anyone? is this prog needed?
125 %attr(755,root,root) %{_bindir}/wishwn
126 %attr(755,root,root) %{_bindir}/wnb
127 %{_mandir}/man1/wnb.1*
This page took 0.092065 seconds and 3 git commands to generate.