From 470ed6119d2232cbf83ccf8ae924f668de399903 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Thu, 1 Aug 2019 17:27:03 -0400 Subject: [PATCH] import hunspell-ur-0.64-14.el8 --- .gitignore | 1 + .hunspell-ur.metadata | 1 + SPECS/hunspell-ur.spec | 94 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 96 insertions(+) create mode 100644 .gitignore create mode 100644 .hunspell-ur.metadata create mode 100644 SPECS/hunspell-ur.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1fb376d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/UrduDictionary.xpi diff --git a/.hunspell-ur.metadata b/.hunspell-ur.metadata new file mode 100644 index 0000000..0944d24 --- /dev/null +++ b/.hunspell-ur.metadata @@ -0,0 +1 @@ +2cd96480746054da3b189f53b67a522e55bdd310 SOURCES/UrduDictionary.xpi diff --git a/SPECS/hunspell-ur.spec b/SPECS/hunspell-ur.spec new file mode 100644 index 0000000..56a6f0c --- /dev/null +++ b/SPECS/hunspell-ur.spec @@ -0,0 +1,94 @@ +Name: hunspell-ur +Summary: Urdu hunspell dictionaries +Version: 0.64 +Release: 14%{?dist} +#http://urdudictionary.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=30004#DownloadId=74761 +#and click yes to agree to LGPLv2+, which stinks as a download-url :-( +Source: UrduDictionary.xpi +URL: http://urdudictionary.codeplex.com +License: LGPLv2+ +BuildArch: noarch +BuildRequires: redland + +Requires: hunspell +Supplements: (hunspell and langpacks-ur) + +%description +Urdu hunspell dictionaries. + +%prep +%setup -q -c -n hunspell-ur + +%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 +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell +cp -p dictionaries/ur.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/ur_PK.aff +cp -p dictionaries/ur.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/ur_PK.dic +pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/ +ur_PK_aliases="ur_IN" +for lang in $ur_PK_aliases; do + ln -s ur_PK.aff $lang.aff + ln -s ur_PK.dic $lang.dic +done +popd + + +%files +%doc CREDITS +%{_datadir}/myspell/* + +%changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.64-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.64-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.64-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 19 2016 Parag Nemade - 0.64-11 +- Add Supplements: tag for langpacks naming guidelines +- Clean the specfile to follow current packaging guidelines + +* Thu Feb 04 2016 Fedora Release Engineering - 0.64-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 0.64-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.64-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 0.64-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.64-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 0.64-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.64-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 0.64-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 24 2009 Fedora Release Engineering - 0.64-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Jul 09 2009 Caolan McNamara - 0.64-1 +- latest version + +* Thu Apr 30 2009 Caolan McNamara - 0.61-1 +- latest version + +* Tue Feb 24 2009 Fedora Release Engineering - 0.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sun Sep 17 2006 Caolan McNamara - 0.6-1 +- initial version