From 11973011d3333a57eb2d766a581de3069c23fc20 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 31 2019 07:40:27 +0000 Subject: import hyphen-pl-0.20060726-9.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..84bc47f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/hyph_pl_PL.zip diff --git a/.hyphen-pl.metadata b/.hyphen-pl.metadata new file mode 100644 index 0000000..ed0fd48 --- /dev/null +++ b/.hyphen-pl.metadata @@ -0,0 +1 @@ +ec26a815aa897b3e7427d357e2e7975086b90278 SOURCES/hyph_pl_PL.zip diff --git a/SPECS/hyphen-pl.spec b/SPECS/hyphen-pl.spec new file mode 100644 index 0000000..a41fef5 --- /dev/null +++ b/SPECS/hyphen-pl.spec @@ -0,0 +1,72 @@ +Name: hyphen-pl +Summary: Polish hyphenation rules +%define upstreamid 20060726 +Version: 0.%{upstreamid} +Release: 9%{?dist} +Source: http://pl.openoffice.org/pliki/hyph_pl_PL.zip +Group: Applications/Text +URL: http://wiki.services.openoffice.org/wiki/Dictionaries +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +License: LGPLv2+ +BuildArch: noarch +Requires: hyphen + +%description +Polish hyphenation rules. + +%prep +%setup -q -c -n hyphen-pl + +%build +unzip hyph_pl_PL.zip +for i in README_hyph_pl_PL.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}/hyphen +cp -p hyph_pl_PL.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc README_hyph_pl_PL.txt +%{_datadir}/hyphen/* + +%changelog +* Fri Dec 27 2013 Daniel Mach - 0.20060726-9 +- Mass rebuild 2013-12-27 + +* Thu Feb 14 2013 Fedora Release Engineering - 0.20060726-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 0.20060726-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.20060726-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 0.20060726-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 24 2009 Fedora Release Engineering - 0.20060726-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Sat Jul 11 2009 Caolan McNamara - 0.20060726-3 +- tidy spec + +* Tue Feb 24 2009 Fedora Release Engineering - 0.20060726-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Nov 23 2007 Caolan McNamara - 0.20060726-1 +- initial version