From 8568f1aec039388ea0f12cc7cd3194075c647856 Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Wed, 14 Jan 2009 23:11:49 +0000 Subject: [PATCH] *** empty log message *** --- .cvsignore | 1 + hyphen-pt.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++ import.log | 1 + sources | 1 + 4 files changed, 47 insertions(+) create mode 100644 hyphen-pt.spec create mode 100644 import.log diff --git a/.cvsignore b/.cvsignore index e69de29..e716a8c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +hyph_pt_PT.zip diff --git a/hyphen-pt.spec b/hyphen-pt.spec new file mode 100644 index 0000000..d7e37c0 --- /dev/null +++ b/hyphen-pt.spec @@ -0,0 +1,44 @@ +Name: hyphen-pt +Summary: Portuguese hyphenation rules +%define upstreamid 20021021 +Version: 0.%{upstreamid} +Release: 1%{?dist} +Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_pt_PT.zip +Group: Applications/Text +URL: http://wiki.services.openoffice.org/wiki/Dictionaries +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +License: GPL+ +BuildArch: noarch + +Requires: hyphen + +%description +Portuguese hyphenation rules. + +%prep +%setup -q -c + +%build +chmod -x * + +%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/ +pt_PT_aliases="pt_BR" +for lang in $pt_PT_aliases; do + ln -s hyph_pt_PT.dic "hyph_"$lang".dic" +done + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc README_hyph_pt_PT.txt +%{_datadir}/hyphen/* + +%changelog +* Wed Jan 14 2009 Caolan McNamara - 0.20021021-1 +- initial version diff --git a/import.log b/import.log new file mode 100644 index 0000000..f85a14d --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +hyphen-pt-0_20021021-1_fc10:HEAD:hyphen-pt-0.20021021-1.fc10.src.rpm:1231974613 diff --git a/sources b/sources index e69de29..55d4e3e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +327989bbbfc9f9d56eb772427a344eb3 hyph_pt_PT.zip