%global __strip /bin/true %global __jar_repack %{nil} %define debug_package %{nil} Name: LanguageTool-ngram-fr Version: 20150913 Release: 0%{?dist} Summary: ngram data for LanguageTool (French) Group: Office/Tools License: LGPL 2.1 URL: https://languagetool.org Source0: https://languagetool.org/download/ngram-data/ngrams-fr-%{version}.zip BuildArch: noarch BuildRequires: unzip Requires: LanguageTool %description French version of LanguageTool's large n-gram data sets to detect errors with words that are often confused, like their and there. %prep %setup -q -c %install mkdir -m 755 -p %{buildroot}%{_datadir}/LanguageTool/ngram/ mv fr %{buildroot}%{_datadir}/LanguageTool/ngram/ %files %defattr(-,root,root) %{_datadir}/LanguageTool/ngram/ %changelog * Sat Feb 26 2022 Lars Kiesow - 20150913 - Initial built of LanguageTool ngram data for French