hyphen-fr/hyphen-fr.spec
2010-01-06 20:31:20 +00:00

57 lines
1.4 KiB
RPMSpec

Name: hyphen-fr
Summary: French hyphenation rules
Version: 2.0
Release: 3%{?dist}
Source: http://www.dicollecte.org/download/fr/hyph_fr_2-0.zip
Group: Applications/Text
URL: http://www.dicollecte.org/download.php?prj=fr
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LGPLv2+
BuildArch: noarch
Requires: hyphen
%description
French hyphenation rules.
%prep
%setup -q -c
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
fr_FR_aliases="fr_BE fr_CA fr_CH fr_LU fr_MC"
for lang in $fr_FR_aliases; do
ln -s hyph_fr_FR.dic hyph_$lang.dic
done
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_hyph_fr.txt
%{_datadir}/hyphen/*
%changelog
* Wed Jan 06 2010 Caolan McNamara <caolanm@redhat.com> - 2.0-3
- track new location
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sat May 23 2009 Caolan McNamara <caolanm@redhat.com> - 2.0-1
- initial version
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20080318-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Dec 31 2008 Caolan McNamara <caolanm@redhat.com> - 0.20080318-1
- initial version