Group :: Text tools
RPM: hunspell-id
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Group: Text tools
# BEGIN SourceDeps(oneline):
BuildRequires: unzip
# END SourceDeps(oneline)
%define fedora 37
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
%global dict_dirname hunspell
%else
%global dict_dirname myspell
%endif
Name: hunspell-id
Summary: Indonesian hunspell dictionaries
%global upstreamid 20040812
Version: 0.%{upstreamid}
Release: alt2_29
Source: http://download.services.openoffice.org/contrib/dictionaries/id_ID.zip
URL: http://wiki.services.openoffice.org/wiki/Dictionaries#Indonesian_.28Indonesia.29
License: GPL-2.0-only
BuildArch: noarch
Source44: import.info
%description
Indonesian hunspell dictionaries.
%prep
%setup -q -c -n hunspell-id
%build
chmod -x *
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
%files
%doc README_id_ID.txt
%{_datadir}/%{dict_dirname}/*
%changelog
…
Full changelog you can see here
# BEGIN SourceDeps(oneline):
BuildRequires: unzip
# END SourceDeps(oneline)
%define fedora 37
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
%global dict_dirname hunspell
%else
%global dict_dirname myspell
%endif
Name: hunspell-id
Summary: Indonesian hunspell dictionaries
%global upstreamid 20040812
Version: 0.%{upstreamid}
Release: alt2_29
Source: http://download.services.openoffice.org/contrib/dictionaries/id_ID.zip
URL: http://wiki.services.openoffice.org/wiki/Dictionaries#Indonesian_.28Indonesia.29
License: GPL-2.0-only
BuildArch: noarch
Source44: import.info
%description
Indonesian hunspell dictionaries.
%prep
%setup -q -c -n hunspell-id
%build
chmod -x *
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
%files
%doc README_id_ID.txt
%{_datadir}/%{dict_dirname}/*
%changelog
…
Full changelog you can see here