diff --git a/hunspell-ur.spec b/hunspell-ur.spec new file mode 100644 index 0000000..a43db7f --- /dev/null +++ b/hunspell-ur.spec @@ -0,0 +1,36 @@ +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 diff --git a/hunspell-ur.yaml b/hunspell-ur.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/hunspell-ur.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA diff --git a/urdudictionary.xpi b/urdudictionary.xpi new file mode 100644 index 0000000..6abbb87 Binary files /dev/null and b/urdudictionary.xpi differ