19133a
Name: hyphen-fo
19133a
Summary: Faroese hyphenation rules
19133a
%define upstreamid 20040420
19133a
Version: 0.%{upstreamid}
cb7cf4
Release: 6%{?dist}
19133a
Source: http://fo.speling.org/filer/hyph_fo_FO-20040420a.zip
19133a
Group: Applications/Text
19133a
URL: http://fo.speling.org/
19133a
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
19133a
License: GPL+
19133a
BuildArch: noarch
19133a
Requires: hyphen
19133a
19133a
%description
19133a
Faroese hyphenation rules.
19133a
19133a
%prep
19133a
%setup -q -c
19133a
19133a
%build
19133a
for i in README_hyph_fo_FO.txt; do
19133a
  if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
19133a
    iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
19133a
    touch -r $i $i.new
19133a
    mv -f $i.new $i
19133a
  fi
19133a
  tr -d '\r' < $i > $i.new
19133a
  touch -r $i $i.new
19133a
  mv -f $i.new $i
19133a
done
19133a
19133a
%install
19133a
rm -rf $RPM_BUILD_ROOT
19133a
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
19133a
cp -p hyph_fo_FO.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
19133a
19133a
%clean
19133a
rm -rf $RPM_BUILD_ROOT
19133a
19133a
%files
19133a
%defattr(-,root,root,-)
19133a
%doc README_hyph_fo_FO.txt
19133a
%{_datadir}/hyphen/*
19133a
19133a
%changelog
cb7cf4
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.20040420-6
cb7cf4
- Mass rebuild 2013-12-27
cb7cf4
19133a
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040420-5
19133a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
19133a
19133a
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040420-4
19133a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
19133a
19133a
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040420-3
19133a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
19133a
19133a
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040420-2
19133a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
19133a
19133a
* Mon Aug 10 2009 Caolan McNamara <caolanm@redhat.com> - 0.20040420-1
19133a
- initial version