Blame SPECS/hyphen-is.spec

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