From 059a82dbc92e7f3a017bcd6b96f02dafe7a43172 Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 26 May 2022 11:54:41 -0400 Subject: [PATCH] Auto sync2gitlab import of mythes-el-0.20070412-19.el8.src.rpm --- .gitignore | 1 + EMPTY | 1 - mythes-el.spec | 107 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 109 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 EMPTY create mode 100644 mythes-el.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..35b79e8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/th_el.zip diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/mythes-el.spec b/mythes-el.spec new file mode 100644 index 0000000..e30e340 --- /dev/null +++ b/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 diff --git a/sources b/sources new file mode 100644 index 0000000..bf6a894 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (th_el.zip) = a2c86387c9a5d13c606858d7225c418d674483b48ecc59b8c0fe48cb6bf2c12b92e87dc5773e4e668df85bbf11951497e24983db31794ac401271748f8e3b682