Projects
Eulaceura:Mainline
mythes-en
_service:obs_scm:mythes-en.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:mythes-en.spec of Package mythes-en
Name: mythes-en Summary: English thesaurus Version: 3.0 Release: 1 Source: http://www.danielnaber.de/wn2ooo/wn2ooo20050723.tgz URL: http://www.danielnaber.de/wn2ooo/ BuildRequires: python3-devel perl-interpreter wordnet = %{version} License: BSD and Artistic clarified BuildArch: noarch Requires: mythes Supplements: (mythes and langpacks-en) Patch0: mythes-en.python3.patch %description English thesaurus. %prep %setup -q -c %{name}-%{version} %patch0 -p1 -b .python3 %build export WNHOME=/usr/share/wordnet-%{version} python3 wn2ooo/wn2ooo.py > th_en_US_v2.dat cat th_en_US_v2.dat | perl wn2ooo/th_gen_idx.pl > th_en_US_v2.idx %install mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes cp -p th_en_US_v2.* $RPM_BUILD_ROOT/%{_datadir}/mythes pushd $RPM_BUILD_ROOT/%{_datadir}/mythes/ en_US_aliases="en_AG en_AU en_BS en_BW en_BZ en_CA en_DK en_GB en_GH en_IE en_IN en_JM en_MW en_NA en_NG en_NZ en_PH en_SG en_TT en_ZA en_ZM en_ZW" for lang in $en_US_aliases; do ln -s th_en_US_v2.idx "th_"$lang"_v2.idx" ln -s th_en_US_v2.dat "th_"$lang"_v2.dat" done popd %files %doc wn2ooo/LICENSE_th_gen_idx.txt wn2ooo/README.txt %{_datadir}/mythes/* %changelog * Wed Sep 06 2023 Darssin <2020303249@mail.nwpu.edu.cn> - 3.0-1 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2