|
|
fe3873 |
Name: wordnet
|
|
|
fe3873 |
Version: 3.0
|
|
|
71b98d |
Release: 21%{?dist}
|
|
|
fe3873 |
Summary: A lexical database for the English language
|
|
|
fe3873 |
|
|
|
fe3873 |
Group: Applications/Text
|
|
|
fe3873 |
License: MIT and GPLv2+
|
|
|
fe3873 |
URL: http://wordnet.princeton.edu/
|
|
|
fe3873 |
Source0: http://wordnetcode.princeton.edu/%{version}/WordNet-%{version}.tar.bz2
|
|
|
fe3873 |
Patch0: wordnet-3.0-CVE-2008-2149.patch
|
|
|
fe3873 |
Patch1: wordnet-3.0-CVE-2008-3908.patch
|
|
|
fe3873 |
Patch2: wordnet-3.0-fix_man.patch
|
|
|
fe3873 |
Patch3: wordnet-3.0-fix_resourcedir_path.patch
|
|
|
fe3873 |
Patch4: wordnet-3.0-src_stubs_c.patch
|
|
|
fe3873 |
# wordnet-3.0-wishwn_manpage.patch is GPLv2+
|
|
|
fe3873 |
Patch5: wordnet-3.0-wishwn_manpage.patch
|
|
|
fe3873 |
Patch6: wordnet-3.0-use_system_tk_headers.patch
|
|
|
fe3873 |
Patch7: wordnet-3.0-libtool.patch
|
|
|
fe3873 |
# Bug #585206
|
|
|
fe3873 |
Patch8: wordnet-3.0-error_message.patch
|
|
|
fe3873 |
BuildRequires: automake >= 1.8
|
|
|
fe3873 |
BuildRequires: libtool
|
|
|
fe3873 |
BuildRequires: tcl-devel
|
|
|
fe3873 |
BuildRequires: tk-devel
|
|
|
fe3873 |
|
|
|
fe3873 |
%description
|
|
|
fe3873 |
WordNet is a large lexical database of English, developed under the direction
|
|
|
fe3873 |
of George A. Miller. Nouns, verbs, adjectives and adverbs are grouped into sets
|
|
|
fe3873 |
of cognitive synonyms (synsets), each expressing a distinct concept. Synsets
|
|
|
fe3873 |
are interlinked by means of conceptual-semantic and lexical relations. The
|
|
|
fe3873 |
resulting network of meaningfully related words and concepts can be navigated
|
|
|
fe3873 |
with the browser. WordNet is also freely and publicly available for download.
|
|
|
fe3873 |
WordNet's structure makes it a useful tool for computational linguistics and
|
|
|
fe3873 |
natural language processing.
|
|
|
fe3873 |
|
|
|
fe3873 |
|
|
|
fe3873 |
%package browser
|
|
|
fe3873 |
Summary: Tk browser for WordNet
|
|
|
fe3873 |
Group: Applications/Text
|
|
|
fe3873 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
fe3873 |
Requires: font(:lang=en)
|
|
|
fe3873 |
|
|
|
fe3873 |
%description browser
|
|
|
fe3873 |
This package contains graphical browser for WordNet database.
|
|
|
fe3873 |
|
|
|
fe3873 |
|
|
|
fe3873 |
%package devel
|
|
|
fe3873 |
Summary: The development libraries and header files for WordNet
|
|
|
fe3873 |
Group: Development/Libraries
|
|
|
fe3873 |
Requires: %{name} = %{version}-%{release}
|
|
|
fe3873 |
|
|
|
fe3873 |
%description devel
|
|
|
fe3873 |
This package contains the libraries and header files required to create
|
|
|
fe3873 |
applications based on WordNet.
|
|
|
fe3873 |
|
|
|
fe3873 |
|
|
|
fe3873 |
%package doc
|
|
|
fe3873 |
Summary: Manual pages for WordNet in alternative formats
|
|
|
fe3873 |
Group: Documentation
|
|
|
fe3873 |
BuildArch: noarch
|
|
|
fe3873 |
|
|
|
fe3873 |
%description doc
|
|
|
fe3873 |
This package contains manual pages for WordNet package in HTML, PDF,
|
|
|
fe3873 |
and PostScript format.
|
|
|
fe3873 |
|
|
|
fe3873 |
|
|
|
fe3873 |
%prep
|
|
|
fe3873 |
%setup -q -n WordNet-3.0
|
|
|
fe3873 |
%patch0 -p1 -b .cve-2008-2149
|
|
|
fe3873 |
%patch1 -p1 -b .cve-2008-3908
|
|
|
fe3873 |
%patch2 -p1 -b .fix_man
|
|
|
fe3873 |
%patch3 -p1 -b .fix_resourcedir_path
|
|
|
fe3873 |
%patch4 -p1 -b .src_stubs_c
|
|
|
fe3873 |
%patch5 -p1 -b .wishwn_manpage
|
|
|
fe3873 |
sed -e '/man_MANS/ s/$/ wishwn.1/' -i doc/man/Makefile.am
|
|
|
fe3873 |
%patch6 -p1 -b .use_system_tk_headers
|
|
|
fe3873 |
%patch7 -p1 -b .libtool
|
|
|
fe3873 |
%patch8 -p1 -b .error_message
|
|
|
fe3873 |
# delete the include/tk dir, since we do not use the included tk headers
|
|
|
fe3873 |
rm -rf include/tk
|
|
|
fe3873 |
|
|
|
fe3873 |
|
|
|
fe3873 |
%build
|
|
|
fe3873 |
libtoolize && aclocal
|
|
|
fe3873 |
autoupdate
|
|
|
fe3873 |
autoreconf -i
|
|
|
fe3873 |
%configure --enable-static=no --prefix=%{_datadir}/wordnet-%{version}/
|
|
|
fe3873 |
make %{?_smp_mflags}
|
|
|
fe3873 |
|
|
|
fe3873 |
|
|
|
fe3873 |
%install
|
|
|
fe3873 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
fe3873 |
# delete the libWN.la files (reasoning in the packaging guidelines)
|
|
|
fe3873 |
rm -f $RPM_BUILD_ROOT%{_libdir}/libWN.la
|
|
|
fe3873 |
# Remove duplicate copies of docs installed by make install
|
|
|
fe3873 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/doc
|
|
|
fe3873 |
# Remove useless Makefiles installed by %%doc
|
|
|
fe3873 |
rm -rf doc/{html,ps,pdf}/Makefile*
|
|
|
fe3873 |
|
|
|
fe3873 |
|
|
|
fe3873 |
%post -p /sbin/ldconfig
|
|
|
fe3873 |
|
|
|
fe3873 |
%postun -p /sbin/ldconfig
|
|
|
fe3873 |
|
|
|
fe3873 |
%files
|
|
|
fe3873 |
%doc AUTHORS COPYING ChangeLog README
|
|
|
fe3873 |
%{_bindir}/wn
|
|
|
fe3873 |
%{_mandir}/man1/grind.1.gz
|
|
|
fe3873 |
%{_mandir}/man1/wn.1.gz
|
|
|
fe3873 |
%{_mandir}/man1/wnintro.1.gz
|
|
|
fe3873 |
%{_mandir}/man5/*.5.gz
|
|
|
fe3873 |
%{_mandir}/man7/*.7.gz
|
|
|
fe3873 |
%{_datadir}/%{name}-%{version}/
|
|
|
fe3873 |
%exclude %{_datadir}/%{name}-%{version}/lib/wnres/
|
|
|
fe3873 |
%{_libdir}/libWN.so.*
|
|
|
fe3873 |
|
|
|
fe3873 |
%files browser
|
|
|
fe3873 |
%{_bindir}/wishwn
|
|
|
fe3873 |
%{_bindir}/wnb
|
|
|
fe3873 |
%{_mandir}/man1/wishwn.1.gz
|
|
|
fe3873 |
%{_mandir}/man1/wnb.1.gz
|
|
|
fe3873 |
%{_datadir}/%{name}-%{version}/lib/wnres/
|
|
|
fe3873 |
|
|
|
fe3873 |
%files devel
|
|
|
fe3873 |
%{_mandir}/man3/*.3.gz
|
|
|
fe3873 |
%{_includedir}/wn.h
|
|
|
fe3873 |
%{_libdir}/libWN.so
|
|
|
fe3873 |
|
|
|
fe3873 |
%files doc
|
|
|
fe3873 |
%doc COPYING doc/{html,ps,pdf}
|
|
|
fe3873 |
|
|
|
fe3873 |
|
|
|
fe3873 |
%changelog
|
|
|
71b98d |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.0-21
|
|
|
71b98d |
- Mass rebuild 2014-01-24
|
|
|
71b98d |
|
|
|
71b98d |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.0-20
|
|
|
71b98d |
- Mass rebuild 2013-12-27
|
|
|
71b98d |
|
|
|
fe3873 |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-19
|
|
|
fe3873 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
fe3873 |
|
|
|
fe3873 |
* Thu Sep 06 2012 Petr Pisar <ppisar@redhat.com> - 3.0-18
|
|
|
fe3873 |
- wnb requires a font to start
|
|
|
fe3873 |
- Move Tk browser to sub-package wordnet-browser
|
|
|
fe3873 |
- Move alternative manual pages to wordnet-doc package
|
|
|
fe3873 |
- Do not package INSTALL instructions and correct URL
|
|
|
fe3873 |
- Modernize spec file
|
|
|
fe3873 |
|
|
|
fe3873 |
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-17
|
|
|
fe3873 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
fe3873 |
|
|
|
fe3873 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-16
|
|
|
fe3873 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
fe3873 |
|
|
|
fe3873 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-15
|
|
|
fe3873 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
fe3873 |
|
|
|
fe3873 |
* Mon Nov 29 2010 Petr Pisar <ppisar@redhat.com> - 3.0-14
|
|
|
fe3873 |
- Remove Makefiles from documentation clashing in multiarch installation
|
|
|
fe3873 |
(#658118).
|
|
|
fe3873 |
|
|
|
fe3873 |
* Fri Apr 30 2010 Petr Pisar <ppisar@redhat.com> - 3.0-13
|
|
|
fe3873 |
- Add GPLv2+ license tag because wishwn(1) manual page is GPLv2+-licensed.
|
|
|
fe3873 |
|
|
|
fe3873 |
* Wed Apr 28 2010 Petr Pisar <ppisar@redhat.com> - 3.0-12
|
|
|
fe3873 |
- Devel subpackages requires tcl-devel and tk-devel.
|
|
|
fe3873 |
- Install wishwn(1) manual page
|
|
|
fe3873 |
|
|
|
fe3873 |
* Thu Apr 26 2010 Petr Pisar <ppisar@redhat.com> - 3.0-11
|
|
|
fe3873 |
- Fix error message printing (#585206)
|
|
|
fe3873 |
- Fix Source0 URL and Summary typo
|
|
|
fe3873 |
- Remove libX11-devel and libXft-devel BuildRequires as they are inherited
|
|
|
fe3873 |
from tk-devel. Keep tcl-devel as tcl.h is included directly.
|
|
|
fe3873 |
|
|
|
fe3873 |
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-10
|
|
|
fe3873 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
fe3873 |
|
|
|
fe3873 |
* Wed Jun 10 2009 Caolan McNamara <caolanm@redhat.com> - 3.0-9
|
|
|
fe3873 |
- Fixed fedora BZ 504957 - references to non-existing dirs in wnb
|
|
|
fe3873 |
|
|
|
fe3873 |
* Wed May 27 2009 Steven Fernandez <steve@lonetwin.net> - 3.0-8
|
|
|
fe3873 |
- Fixed issues with the doc files duplication and ownership
|
|
|
fe3873 |
|
|
|
fe3873 |
* Wed May 27 2009 Steven Fernandez <steve@lonetwin.net> - 3.0-7
|
|
|
fe3873 |
- Modified the %%files sections for both packages to only include the link in
|
|
|
fe3873 |
the devel package and the .so in the main package.
|
|
|
fe3873 |
- Added %%pre and %%post sections
|
|
|
fe3873 |
|
|
|
fe3873 |
* Wed May 27 2009 Steven Fernandez <steve@lonetwin.net> - 3.0-6
|
|
|
fe3873 |
- Added commands to build only shared libs and remove libtool's .la files
|
|
|
fe3873 |
before packaging
|
|
|
fe3873 |
|
|
|
fe3873 |
* Tue May 19 2009 Steven Fernandez <steve@lonetwin.net> - 3.0-5
|
|
|
fe3873 |
- Added the libtool patch to build libWN.so dynamic lib
|
|
|
fe3873 |
|
|
|
fe3873 |
* Wed Feb 18 2009 Steven Fernandez <steve@lonetwin.net> - 3.0-4
|
|
|
fe3873 |
- Added Tom 'spot' Callaway's patch to not include the tk.h and tkDecls.h from
|
|
|
fe3873 |
the upstream source, but instead rely on system tk headers
|
|
|
fe3873 |
|
|
|
fe3873 |
* Sun Jan 18 2009 Steven Fernandez <steve@lonetwin.net> - 3.0-3
|
|
|
fe3873 |
- renamed rpm from WordNet to wordnet to be more consistent with other distos
|
|
|
fe3873 |
- split the devel package
|
|
|
fe3873 |
- borrowed more patches from the debian package
|
|
|
fe3873 |
|
|
|
fe3873 |
* Tue Jan 13 2009 Steven Fernandez <steve@lonetwin.net> - 3.0-2
|
|
|
fe3873 |
- patch to fix CVE-2008-3908
|
|
|
fe3873 |
- Added the wishwn man page from the debian wordnet package
|
|
|
fe3873 |
|
|
|
fe3873 |
* Sat Nov 29 2008 Steven Fernandez <steve@lonetwin.net> - 3.0-1
|
|
|
fe3873 |
- First build for Fedora 10
|
|
|
fe3873 |
|