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
|
||||
Version: 3.0
|
||||
Release: 2mamba
|
||||
Version: 20060306
|
||||
Release: 1mamba
|
||||
Summary: English thesaurus
|
||||
Group: System/Internationalization
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: gil <puntogil@libero.it>
|
||||
URL: http://www.danielnaber.de/wn2ooo/
|
||||
Source: http://www.danielnaber.de/wn2ooo/wn2ooo20050723.tgz
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
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 <silvan.calarco@mambasoft.it> 20060306-1mamba
|
||||
- update to 20060306
|
||||
|
||||
* Sun Apr 10 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 3.0-2mamba
|
||||
- rebuilt
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user