From beaf45b3e949a1790442ce34db79355d11390a17 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:29:16 +0100 Subject: [PATCH] update to 20060306 [release 20060306-1mamba;Sun Dec 12 2021] --- mythes-en.spec | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/mythes-en.spec b/mythes-en.spec index 13b3bff..1a7921e 100644 --- a/mythes-en.spec +++ b/mythes-en.spec @@ -1,39 +1,33 @@ Name: mythes-en -Version: 3.0 -Release: 2mamba +Version: 20060306 +Release: 1mamba Summary: English thesaurus Group: System/Internationalization Vendor: openmamba Distribution: openmamba -Packager: gil -URL: http://www.danielnaber.de/wn2ooo/ -Source: http://www.danielnaber.de/wn2ooo/wn2ooo20050723.tgz +Packager: Silvan Calarco +URL: https://wiki.services.openoffice.org/wiki/Dictionaries#English_.28AU.2CCA.2CGB.2CNZ.2CUS.2CZA.29 +# Manual download and rename from: +# https://www.mirrorservice.org/sites/download.openoffice.org/contrib/dictionaries/thes_en_US_v2.zip +Source: https://www.mirrorservice.org/sites/download.openoffice.org/contrib/dictionaries/thes_en_US_v2-%{version}.zip License: Artistic, GPL, MIT, Public Domain -BuildRequires: perl -BuildRequires: python -BuildRequires: wordnet +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END Requires: libmythes -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description English thesaurus. %prep -%setup -q -c -n %{name}-%{version} - +%setup -q -c %build -export WNHOME=%{_datadir}/wordnet-%{version} -%{__python} 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 [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" mkdir -p %{buildroot}%{_datadir}/mythes -cp -p th_en_US_v2.idx %{buildroot}%{_datadir}/mythes -cp -p th_en_US_v2.dat %{buildroot}%{_datadir}/mythes +cp -p th_en_US_v2.* %{buildroot}%{_datadir}/mythes pushd %{buildroot}%{_datadir}/mythes/ 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_NA en_NG en_NZ en_PH en_SG en_TT en_ZA en_ZW" @@ -49,9 +43,11 @@ popd %files %defattr(-,root,root) %{_datadir}/mythes/* -%doc wn2ooo/LICENSE_th_gen_idx.txt wn2ooo/README.txt %changelog +* Sun Dec 12 2021 Silvan Calarco 20060306-1mamba +- update to 20060306 + * Sun Apr 10 2011 Ercole 'ercolinux' Carpanetto 3.0-2mamba - rebuilt