diff --git a/SPECS/hunspell-ne.spec b/SPECS/hunspell-ne.spec new file mode 100644 index 0000000..c21517a --- /dev/null +++ b/SPECS/hunspell-ne.spec @@ -0,0 +1,111 @@ +Name: hunspell-ne +Summary: Nepali hunspell dictionaries +Version: 20080425 +Release: 17%{?dist} +# Upstream Source and URL is down now, please don't report FTBFS bugs +Source: http://nepalinux.org/downloads/ne_NP_dict.zip +URL: http://nepalinux.org/downloads +# License is given in README_ne_NP.txt file +License: LGPLv2 +BuildArch: noarch + +Requires: hunspell +Supplements: (hunspell and langpacks-ne) + +%description +Nepali hunspell dictionaries. + +%prep +%autosetup -c -n ne_NP_dict +sed -i 's|चलन/चल्ती/15,22|चलनचल्ती/15,22|g' ne_NP.dic +sed -i 's|निजामती/I15,22|निजामती/15,22|g' ne_NP.dic + +# Remove ^M and trailing whitespace characters +sed -i 's/\r//;s/[ \t]*$//' ne_NP.dic + +%build + +%install +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell +cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell + +pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/ +ne_NP_aliases="ne_IN" +for lang in $ne_NP_aliases; do + ln -s ne_NP.aff $lang.aff + ln -s ne_NP.dic $lang.dic +done +popd + +%files +%doc README_ne_NP.txt +%{_datadir}/myspell/* + +%changelog +* Sun Jul 01 2018 Parag Nemade - 20080425-17 +- Add comment that Source and URL links are dead now + +* Wed Feb 07 2018 Fedora Release Engineering - 20080425-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 20080425-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 20080425-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 19 2016 Parag Nemade - 20080425-13 +- Add Supplements: tag for langpacks naming guidelines +- Clean the specfile to follow current packaging guidelines + +* Thu Feb 04 2016 Fedora Release Engineering - 20080425-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 20080425-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 20080425-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 20080425-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed May 29 2013 Parag - 20080425-8 +- Removed BR:dos2unix and instead use sed (rh# 967638) + +* Tue May 28 2013 Parag - 20080425-7 +- Resolves:rh#959987: Error message: “0 is wrong flag id” occurs when using hunspell-ne +- Resolves:rh#967638: ne_NP.dic contains both CRLF and LF line terminators + +* Thu Feb 14 2013 Fedora Release Engineering - 20080425-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 20080425-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Feb 28 2012 Parag - 20080425-4 +- spec cleanup + +* Fri Jan 13 2012 Fedora Release Engineering - 20080425-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 20080425-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Aug 11 2009 Parag - 20080425-1 +- Update to next upstream release + +* Fri Jul 24 2009 Fedora Release Engineering - 20061217-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Feb 24 2009 Fedora Release Engineering - 20061217-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Dec 15 2008 Parag - 20061217-3 +- Resolves:rh#475982 - Perhaps hunspell-ne suffices for ne_IN as well as ne_NP + +* Mon Jan 21 2008 Parag - 20061217-2 +- Corrected License tag. + +* Thu Jan 03 2008 Parag - 20061217-1 +- Initial Fedora release