Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Update
wordnet
wordnet.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wordnet.spec of Package wordnet
# # spec file for package wordnet # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: wordnet Version: 3.0 Release: 0 Summary: A lexical database for the English language License: MIT Group: Productivity/Office/Dictionary Url: http://wordnet.princeton.edu Source: WordNet-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM wordnet-system-tk-headers.patch badshah400@gmail.com -- Use system tk headers, patch came from Fedora Patch0: wordnet-system-tk-headers.patch # PATCH-FIX-UPSTREAM wordnet-libtool.patch badshah400@gmail.com -- Correct checking for libtool, patch came from Fedora Patch1: wordnet-libtool.patch # PATCH-FIX-UPSTREAM wordnet-3.0-CVE-2008-2149.patch badshah400@gmail.com -- Fix buffer overflows, patch came from upstream Patch2: wordnet-3.0-CVE-2008-2149.patch # PATCH-FIX-UPSTREAM wordnet-3.0-CVE-2008-3908.patch badshah400@gmail.com -- String and character corrections in various source files, patch came from upstream Patch3: wordnet-3.0-CVE-2008-3908.patch # PATCH-FIX-UPSTREAM wordnet-3.0-fix_man.patch badshah400@gmail.com -- Miscellaneous correction to the man files, patch came from Fedora Patch4: wordnet-3.0-fix_man.patch BuildRequires: automake >= 1.8 BuildRequires: fdupes BuildRequires: libtool BuildRequires: tcl-devel BuildRequires: tk-devel BuildRequires: xorg-x11-devel BuildRequires: xorg-x11-libXext-devel Requires: tcl Requires: tk BuildRoot: %{_tmppath}/%{name}-%{version}-build %description WordNet is a large lexical database of English, developed under the direction of George A. Miller. Nouns, verbs, adjectives and adverbs are grouped into sets of cognitive synonyms (synsets), each expressing a distinct concept. Synsets are interlinked by means of conceptual-semantic and lexical relations. The resulting network of meaningfully related words and concepts can be navigated with the browser. WordNet is also freely and publicly available for download. WordNet's structure makes it a useful tool for computational linguistics and natural language processing. %package devel Summary: The development libraries and header files for WordNet Group: Development/Libraries/Other Requires: %{name} = %{version} Requires: tcl-devel Requires: tk-devel %description devel WordNet is a large lexical database of English, developed under the direction of George A. Miller. Nouns, verbs, adjectives and adverbs are grouped into sets of cognitive synonyms (synsets), each expressing a distinct concept. Synsets are interlinked by means of conceptual-semantic and lexical relations. The resulting network of meaningfully related words and concepts can be navigated with the browser. WordNet is also freely and publicly available for download. WordNet's structure makes it a useful tool for computational linguistics and natural language processing. This package contains the libraries and header files required to create applications based on WordNet. %prep %setup -q -n WordNet-3.0 %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 # delete the include/tk dir, since we do not use the included tk headers rm -rf include/tk %build libtoolize && aclocal autoupdate autoreconf -i CFLAGS="%optflags -DUSE_INTERP_RESULT" %configure --enable-static=no --prefix=%{_datadir}/wordnet-%{version}/ make %{?_smp_mflags} %install %make_install DESTDIR=%{buildroot} # delete the libWN.la files (reasoning in the packaging guidelines) rm -f %{buildroot}%{_libdir}/libWN.la # Remove duplicate copies of docs installed by make install rm -rf %{buildroot}%{_datadir}/%{name}-%{version}/doc # Remove useless Makefiles installed by %%doc rm -rf doc/{html,ps,pdf}/Makefile* %fdupes %{buildroot}%{_datadir}/%{name}-%{version}/dict/ %clean %{?buildroot:rm -rf %{buildroot}} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING INSTALL ChangeLog README doc/{html,ps,pdf} %{_bindir}/wishwn %{_bindir}/wn %{_bindir}/wnb %{_mandir}/man1/*.1.gz %{_mandir}/man5/*.5.gz %{_mandir}/man7/*.7.gz %{_datadir}/%{name}-%{version}/ %{_libdir}/libWN.so.* %files devel %defattr(-,root,root,-) %{_mandir}/man3/*.3.gz %{_includedir}/wn.h %{_libdir}/libWN.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor