Пакет hunspell-ca: Specfile
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-ca Summary: Catalan hunspell dictionaries Version: 3.0.8 Release: alt1_1 Source: https://github.com/Softcatala/catalan-dict-tools/releases/download/v%{version}/ca.%{version}-hunspell.zip URL: https://www.softcatala.org/projectes/corrector-ortografic/ License: GPL-2.0-or-later OR LGPL-2.1-or-later BuildArch: noarch Source44: import.info %description Catalan hunspell dictionaries. %prep %setup -q -c %build tr -d '\r' < catalan.aff > ca_ES.aff touch -r catalan.aff ca_ES.aff tr -d '\r' < catalan.dic > ca_ES.dic touch -r catalan.dic ca_ES.dic %install mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} cp -p ca_ES.dic ca_ES.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname} pushd $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/ ca_ES_aliases="ca_AD ca_FR ca_IT" for lang in $ca_ES_aliases; do ln -s ca_ES.aff $lang.aff ln -s ca_ES.dic $lang.dic done popd %files %doc README.txt release-notes_en.txt %doc --no-dereference LICENSE gpl-2.0.txt lgpl-2.1.txt %{_datadir}/%{dict_dirname}/* %changelog * Fri Sep 08 2023 Igor Vlasenko <viy@altlinux.org> 3.0.8-alt1_1 - update to new release by fcimport * Wed Sep 27 2017 Igor Vlasenko <viy@altlinux.ru> 2.3-alt1_10 - update to new release by fcimport * Thu Mar 16 2017 Igor Vlasenko <viy@altlinux.ru> 2.3-alt1_9 - update to new release by fcimport * Mon Mar 07 2016 Igor Vlasenko <viy@altlinux.ru> 2.3-alt1_8 - update to new release by fcimport * Mon Feb 15 2016 Igor Vlasenko <viy@altlinux.ru> 2.3-alt1_7 - update to new release by fcimport * Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 2.3-alt1_6 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 2.3-alt1_5 - update to new release by fcimport * Mon Aug 12 2013 Igor Vlasenko <viy@altlinux.ru> 2.3-alt1_4 - update to new release by fcimport * Fri Feb 22 2013 Igor Vlasenko <viy@altlinux.ru> 2.3-alt1_3 - update to new release by fcimport * Fri Jul 27 2012 Igor Vlasenko <viy@altlinux.ru> 2.3-alt1_2 - update to new release by fcimport * Wed May 09 2012 Igor Vlasenko <viy@altlinux.ru> 2.3-alt1_1 - update to new release by fcimport * Sat Jan 21 2012 Igor Vlasenko <viy@altlinux.ru> 2.2.0-alt2_3 - update to new release by fcimport * Fri May 20 2011 Igor Vlasenko <viy@altlinux.ru> 2.2.0-alt2_2 - Group: should be Text tools * Fri May 20 2011 Igor Vlasenko <viy@altlinux.ru> 2.2.0-alt1_2 - import from Fedora by fcimport |