commit f9fb3fc52123eab944291e3b923e65bdc318d48c Author: CentOS Sources Date: Tue May 7 04:03:21 2019 -0400 import mythes-el-0.20070412-19.el8 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..79bbfc6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/th_el.zip diff --git a/.mythes-el.metadata b/.mythes-el.metadata new file mode 100644 index 0000000..fe1a0a7 --- /dev/null +++ b/.mythes-el.metadata @@ -0,0 +1 @@ +c95823a858c194af5b3882653eea205804c80904 SOURCES/th_el.zip diff --git a/SPECS/mythes-el.spec b/SPECS/mythes-el.spec new file mode 100644 index 0000000..e30e340 --- /dev/null +++ b/SPECS/mythes-el.spec @@ -0,0 +1,107 @@ +Name: mythes-el +Summary: Greek thesaurus +%global upstreamid 20070412 +Version: 0.%{upstreamid} +Release: 19%{?dist} +# below links are dead and can't find any mirror for it +# please don't report any FTBFS bugs +#Source: http://www.ellak.gr/pub/oo_extras/th_el.zip +Source: th_el.zip +URL: wiki.services.openoffice.org/wiki/Dictionaries +License: GPLv2+ +BuildArch: noarch +Requires: mythes +Supplements: (mythes and langpacks-el) + +%description +Greek thesaurus. + +%prep +%autosetup -c + +%build +for i in README_th_el_GR_v2.txt; do + if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then + iconv -f ISO-8859-7 -t UTF-8 $i > $i.new + touch -r $i $i.new + mv -f $i.new $i + fi + tr -d '\r' < $i > $i.new + touch -r $i $i.new + mv -f $i.new $i +done + +%install +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes +cp -p th_el_GR_v2.* $RPM_BUILD_ROOT/%{_datadir}/mythes + +pushd $RPM_BUILD_ROOT/%{_datadir}/mythes/ +el_GR_aliases="el_CY" +for lang in $el_GR_aliases; do + ln -s th_el_GR_v2.dat "th_"$lang"_v2.dat" + ln -s th_el_GR_v2.idx "th_"$lang"_v2.idx" +done + + +%files +%doc README_th_el_GR_v2.txt +%{_datadir}/mythes/* + +%changelog +* Fri Jul 06 2018 Parag Nemade - 0.20070412-19 +- Update for dead Source tag + +* Thu Feb 08 2018 Fedora Release Engineering - 0.20070412-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.20070412-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.20070412-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 19 2016 Parag Nemade - 0.20070412-15 +- Add Supplements: tag for langpacks naming guidelines +- Clean the specfile to follow current packaging guidelines + +* Thu Feb 04 2016 Fedora Release Engineering - 0.20070412-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 0.20070412-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.20070412-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 0.20070412-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.20070412-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 0.20070412-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.20070412-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 0.20070412-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sat Apr 03 2010 Caolan McNamara - 0.20070412-6 +- mythes now owns /usr/share/mythes + +* Sat Jul 25 2009 Fedora Release Engineering - 0.20070412-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Sat Jul 11 2009 Caolan McNamara - 0.20070412-4 +- tidy spec + +* Fri Jun 12 2009 Caolan McNamara - 0.20070412-3 +- extend coverage + +* Wed Feb 25 2009 Fedora Release Engineering - 0.20070412-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Jan 15 2009 Caolan McNamara - 0.20070412-1 +- initial version