diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f722571 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/OOo2-Thesaurus-1.5.zip diff --git a/.mythes-pl.metadata b/.mythes-pl.metadata new file mode 100644 index 0000000..7e544c0 --- /dev/null +++ b/.mythes-pl.metadata @@ -0,0 +1 @@ +1677e7ed23c9eba7a0fd6cb657978413509ae1f4 SOURCES/OOo2-Thesaurus-1.5.zip diff --git a/SPECS/mythes-pl.spec b/SPECS/mythes-pl.spec new file mode 100644 index 0000000..119b267 --- /dev/null +++ b/SPECS/mythes-pl.spec @@ -0,0 +1,80 @@ +Name: mythes-pl +Summary: Polish thesaurus +Version: 1.5 +Release: 11%{?dist} +Source: http://downloads.sourceforge.net/synonimy/OOo2-Thesaurus-%{version}.zip +Group: Applications/Text +URL: http://synonimy.ux.pl/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: python, perl +License: LGPLv2 +BuildArch: noarch +Requires: mythes + +%description +Polish thesaurus. + +%prep +%setup -q -c + +%build +for i in README_th_pl_PL_v2.txt; do + if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then + iconv -f ISO-8859-2 -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 +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes +cp -p th_pl_PL_v2.* $RPM_BUILD_ROOT/%{_datadir}/mythes + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc README_th_pl_PL_v2.txt +%{_datadir}/mythes/* + +%changelog +* Fri Dec 27 2013 Daniel Mach - 1.5-11 +- Mass rebuild 2013-12-27 + +* Thu Feb 14 2013 Fedora Release Engineering - 1.5-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Nov 06 2012 Caolán McNamara - 1.5-9 +- clarify license + +* Fri Jul 20 2012 Fedora Release Engineering - 1.5-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.5-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 1.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sun Apr 04 2010 Caolán McNamara - 1.5-5 +- mythes now owns /usr/share/mythes + +* Sat Jul 25 2009 Fedora Release Engineering - 1.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Fri Jul 10 2009 Caolán McNamara - 1.5-3 +- clean spec + +* Wed Feb 25 2009 Fedora Release Engineering - 1.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue May 13 2008 Caolán McNamara - 1.5-1 +- latest version + +* Wed Nov 28 2007 Caolán McNamara - 1.4-1 +- initial version