From 54800e8cfc5f5d22a5cee68f1566665b0c6aefbd Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 23:45:13 +0100 Subject: [PATCH] automatic rebuild by autodist [release 2.4-2mamba;Tue Jul 16 2013] --- README.md | 2 ++ hunspell-it.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 hunspell-it.spec diff --git a/README.md b/README.md index d905b4e..eb360b0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # hunspell-it +Italian hunspell dictionaries. + diff --git a/hunspell-it.spec b/hunspell-it.spec new file mode 100644 index 0000000..996abff --- /dev/null +++ b/hunspell-it.spec @@ -0,0 +1,52 @@ +%define pkgver %(echo %version|tr . _) +Name: hunspell-it +Version: 2.4 +Release: 2mamba +Summary: Italian hunspell dictionaries +Group: Applications/Text +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://linguistico.sourceforge.net +Source: http://downloads.sourceforge.net/sourceforge/linguistico/italiano_%{pkgver}_2007_09_01.zip +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-root +Requires: hunspell + +%description +Italian hunspell dictionaries. + +%prep + +%setup -q -c -n hunspell-it + +%build +chmod -x * + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -d %{buildroot}%{_datadir}/myspell +cp -p *.dic *.aff %{buildroot}%{_datadir}/myspell +pushd %{buildroot}%{_datadir}/myspell +it_IT_aliases="it_CH" +for lang in $it_IT_aliases; do + ln -s it_IT.aff $lang.aff + ln -s it_IT.dic $lang.dic +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_datadir}/myspell/it_IT.aff +%{_datadir}/myspell/it_IT.dic +%{_datadir}/myspell/it_CH.aff +%{_datadir}/myspell/it_CH.dic + +%changelog +* Tue Jul 16 2013 Automatic Build System 2.4-2mamba +- automatic rebuild by autodist + +* Thu Jul 02 2009 Silvan Calarco 2.4-1mamba +- package created by autospec