433b59
Name: hyphen-it
433b59
Summary: Italian hyphenation rules
433b59
%define upstreamid 20071127
433b59
Version: 0.%{upstreamid}
433b59
Release: 9%{?dist}
433b59
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_it_IT.zip
433b59
Group: Applications/Text
433b59
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
433b59
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
433b59
License: LGPLv2+
433b59
BuildArch: noarch
433b59
Requires: hyphen
433b59
Provides: hyphen-la = 0.%{upstreamid}-3%{?dist}
433b59
433b59
%description
433b59
Italian hyphenation rules.
433b59
433b59
%prep
433b59
%setup -q -c -n hyphen-it
433b59
chmod -x *
433b59
433b59
%build
433b59
433b59
%install
433b59
rm -rf $RPM_BUILD_ROOT
433b59
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
433b59
cp -p hyph_it_IT.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
433b59
pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
433b59
#http://extensions.services.openoffice.org/project/dict-la uses the it_IT for Latin
433b59
#so we'll do the same
433b59
it_IT_aliases="it_CH la_VA"
433b59
for lang in $it_IT_aliases; do
433b59
        ln -s hyph_it_IT.dic "hyph_"$lang".dic"
433b59
done
433b59
433b59
%clean
433b59
rm -rf $RPM_BUILD_ROOT
433b59
433b59
%files
433b59
%defattr(-,root,root,-)
433b59
%doc README_hyph_it_IT.txt
433b59
%{_datadir}/hyphen/*
433b59
433b59
%changelog
433b59
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20071127-9
433b59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
433b59
433b59
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20071127-8
433b59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
433b59
433b59
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20071127-7
433b59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
433b59
433b59
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20071127-6
433b59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
433b59
433b59
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20071127-5
433b59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
433b59
433b59
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20071127-4
433b59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
433b59
433b59
* Sun Nov 02 2008 Caolan McNamara <caolanm@redhat.com> - 0.20071127-3
433b59
- add Latin alias
433b59
433b59
* Thu Nov 29 2007 Caolan McNamara <caolanm@redhat.com> - 0.20071127-2
433b59
- add switz italian alias
433b59
433b59
* Tue Nov 27 2007 Caolan McNamara <caolanm@redhat.com> - 0.20071127-1
433b59
- latest version
433b59
433b59
* Fri Nov 23 2007 Caolan McNamara <caolanm@redhat.com> - 0.20030809-1
433b59
- initial version