mythes-en/mythes-en.spec

56 lines
1.6 KiB
RPMSpec

Name: mythes-en
Version: 20060306
Release: 1mamba
Summary: English thesaurus
Group: System/Internationalization
Vendor: openmamba
Distribution: openmamba
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
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires: libmythes
%description
English thesaurus.
%prep
%setup -q -c
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{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"
for lang in $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
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_datadir}/mythes/*
%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
* Sat Jan 22 2011 gil <puntogil@libero.it> 3.0-1mamba
- package created by autospec