93b762
Name: hyphen-sk
93b762
Summary: Slovak hyphenation rules
93b762
%define upstreamid 20031227
93b762
Version: 0.%{upstreamid}
cab651
Release: 10%{?dist}
93b762
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_sk_SK.zip
93b762
Group: Applications/Text
93b762
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
93b762
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
93b762
License: GPL+
93b762
BuildArch: noarch
93b762
93b762
Requires: hyphen
93b762
93b762
%description
93b762
Slovak hyphenation rules.
93b762
93b762
%prep
93b762
%setup -q -c
93b762
93b762
%build
93b762
chmod -x *
93b762
for i in README_hyph_sk_SK.txt; do
93b762
  if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
93b762
    iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
93b762
    touch -r $i $i.new
93b762
    mv -f $i.new $i
93b762
  fi
93b762
  tr -d '\r' < $i > $i.new
93b762
  touch -r $i $i.new
93b762
  mv -f $i.new $i
93b762
done
93b762
93b762
%install
93b762
rm -rf $RPM_BUILD_ROOT
93b762
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
93b762
cp -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
93b762
93b762
%clean
93b762
rm -rf $RPM_BUILD_ROOT
93b762
93b762
%files
93b762
%defattr(-,root,root,-)
93b762
%doc README_hyph_sk_SK.txt
93b762
%{_datadir}/hyphen/*
93b762
93b762
%changelog
cab651
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.20031227-10
cab651
- Mass rebuild 2013-12-27
cab651
93b762
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20031227-9
93b762
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
93b762
93b762
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20031227-8
93b762
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
93b762
93b762
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20031227-7
93b762
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
93b762
93b762
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20031227-6
93b762
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
93b762
93b762
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20031227-5
93b762
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
93b762
93b762
* Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.20031227-4
93b762
- tidy spec
93b762
93b762
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20031227-3
93b762
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
93b762
93b762
* Wed Dec 31 2008 Caolan McNamara <caolanm@redhat.com> - 0.20031227-2
93b762
- Slobak -> Slovak typo
93b762
93b762
* Thu Dec 18 2008 Caolan McNamara <caolanm@redhat.com> - 0.20031227-1
93b762
- initial version