hyphen-fr/hyphen-fr.spec

60 lines
1.5 KiB
RPMSpec
Raw Normal View History

2009-01-05 08:42:58 +00:00
Name: hyphen-fr
Summary: French hyphenation rules
2009-05-23 16:22:17 +00:00
Version: 2.0
Release: 4%{?dist}
2010-01-06 20:31:20 +00:00
Source: http://www.dicollecte.org/download/fr/hyph_fr_2-0.zip
2009-01-05 08:42:58 +00:00
Group: Applications/Text
2010-01-06 20:31:20 +00:00
URL: http://www.dicollecte.org/download.php?prj=fr
2009-01-05 08:42:58 +00:00
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,-)
2010-01-06 20:31:20 +00:00
%doc README_hyph_fr.txt
2009-01-05 08:42:58 +00:00
%{_datadir}/hyphen/*
%changelog
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-01-06 20:31:20 +00:00
* 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
2009-05-23 16:22:17 +00:00
* 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
2009-01-05 08:42:58 +00:00
* Wed Dec 31 2008 Caolan McNamara <caolanm@redhat.com> - 0.20080318-1
- initial version