From c1d39347d489f990cf69b52fe73b4cb3a7588685 Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Mon, 5 Jan 2009 08:42:58 +0000 Subject: [PATCH] *** empty log message *** --- .cvsignore | 1 + hyphen-fr.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++ import.log | 1 + sources | 1 + 4 files changed, 48 insertions(+) create mode 100644 hyphen-fr.spec create mode 100644 import.log diff --git a/.cvsignore b/.cvsignore index e69de29..db69ceb 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +hyph_fr_FR_2-0.zip diff --git a/hyphen-fr.spec b/hyphen-fr.spec new file mode 100644 index 0000000..4b45468 --- /dev/null +++ b/hyphen-fr.spec @@ -0,0 +1,45 @@ +Name: hyphen-fr +Summary: French hyphenation rules +%define upstreamid 20080318 +Version: 0.%{upstreamid} +Release: 1%{?dist} +Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_fr_FR_2-0.zip +Group: Applications/Text +URL: http://wiki.services.openoffice.org/wiki/Dictionaries +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_FR.txt +%{_datadir}/hyphen/* + +%changelog +* Wed Dec 31 2008 Caolan McNamara - 0.20080318-1 +- initial version diff --git a/import.log b/import.log new file mode 100644 index 0000000..6eb5934 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +hyphen-fr-0_20080318-1_fc10:HEAD:hyphen-fr-0.20080318-1.fc10.src.rpm:1231144941 diff --git a/sources b/sources index e69de29..c0e11ea 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f6d9bd51a939df943612c3f5ac2a511c hyph_fr_FR_2-0.zip