Name: hunspell-ur Version: 0.64 Release: 16 Summary: Hunspell dictionaries for Urdu License: LGPLv2+ URL: http://urdudictionary.codeplex.com source0: https://download.informer.com/win-1192698625-744a85ee-689fa894/urdudictionary.xpi BuildArch: noarch BuildRequires: redland Requires: hunspell Supplements: (hunspell and langpacks-ur) %description Hunspell dictionaries for Urdu. %prep %autosetup -c -n hunspell-ur -p1 %build rdfproc hunspell-ur parse install.rdf rdfproc hunspell-ur print | grep install-manifest | grep -v targetApplication | sed -e 's/.*#//' | sed -e 's/], "/: /'| sed -e 's/"}//' > CREDITS %install install -Dp dictionaries/ur.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/ur_PK.aff install -Dp dictionaries/ur.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/ur_PK.dic cd $RPM_BUILD_ROOT/%{_datadir}/myspell/ ln -s ur_PK.aff ur_IN.aff ln -s ur_PK.dic ur_IN.dic cd - %files %doc CREDITS %{_datadir}/myspell/* %changelog * Thu May 14 2020 huanghaitao - 0.64-16 - package init