update to 20060306 [release 20060306-1mamba;Sun Dec 12 2021]
This commit is contained in:
parent
d412704812
commit
beaf45b3e9
@ -1,39 +1,33 @@
|
|||||||
Name: mythes-en
|
Name: mythes-en
|
||||||
Version: 3.0
|
Version: 20060306
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: English thesaurus
|
Summary: English thesaurus
|
||||||
Group: System/Internationalization
|
Group: System/Internationalization
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: gil <puntogil@libero.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.danielnaber.de/wn2ooo/
|
URL: https://wiki.services.openoffice.org/wiki/Dictionaries#English_.28AU.2CCA.2CGB.2CNZ.2CUS.2CZA.29
|
||||||
Source: http://www.danielnaber.de/wn2ooo/wn2ooo20050723.tgz
|
# 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
|
License: Artistic, GPL, MIT, Public Domain
|
||||||
BuildRequires: perl
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: python
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: wordnet
|
|
||||||
Requires: libmythes
|
Requires: libmythes
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
English thesaurus.
|
English thesaurus.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c -n %{name}-%{version}
|
%setup -q -c
|
||||||
|
|
||||||
|
|
||||||
%build
|
%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
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_datadir}/mythes
|
mkdir -p %{buildroot}%{_datadir}/mythes
|
||||||
cp -p th_en_US_v2.idx %{buildroot}%{_datadir}/mythes
|
cp -p th_en_US_v2.* %{buildroot}%{_datadir}/mythes
|
||||||
cp -p th_en_US_v2.dat %{buildroot}%{_datadir}/mythes
|
|
||||||
|
|
||||||
pushd %{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"
|
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
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_datadir}/mythes/*
|
%{_datadir}/mythes/*
|
||||||
%doc wn2ooo/LICENSE_th_gen_idx.txt wn2ooo/README.txt
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Dec 12 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 20060306-1mamba
|
||||||
|
- update to 20060306
|
||||||
|
|
||||||
* Sun Apr 10 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 3.0-2mamba
|
* Sun Apr 10 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 3.0-2mamba
|
||||||
- rebuilt
|
- rebuilt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user