From 42d76b6789313b1db7bbede24ed22f797d8e81e5 Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Thu, 13 Aug 2009 08:11:07 +0000 Subject: [PATCH] *** empty log message *** --- .cvsignore | 1 + hyphen-fo.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++ import.log | 1 + sources | 1 + 4 files changed, 50 insertions(+) create mode 100644 hyphen-fo.spec create mode 100644 import.log diff --git a/.cvsignore b/.cvsignore index e69de29..70a0e7b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +hyph_fo_FO-20040420a.zip diff --git a/hyphen-fo.spec b/hyphen-fo.spec new file mode 100644 index 0000000..c375ea4 --- /dev/null +++ b/hyphen-fo.spec @@ -0,0 +1,47 @@ +Name: hyphen-fo +Summary: Faroese hyphenation rules +%define upstreamid 20040420 +Version: 0.%{upstreamid} +Release: 1%{?dist} +Source: http://fo.speling.org/filer/hyph_fo_FO-20040420a.zip +Group: Applications/Text +URL: http://fo.speling.org/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +License: GPL+ +BuildArch: noarch +Requires: hyphen + +%description +Faroese hyphenation rules. + +%prep +%setup -q -c + +%build +for i in README_hyph_fo_FO.txt; do + if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then + iconv -f ISO-8859-1 -t UTF-8 $i > $i.new + touch -r $i $i.new + mv -f $i.new $i + fi + tr -d '\r' < $i > $i.new + touch -r $i $i.new + mv -f $i.new $i +done + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen +cp -p hyph_fo_FO.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc README_hyph_fo_FO.txt +%{_datadir}/hyphen/* + +%changelog +* Mon Aug 10 2009 Caolan McNamara - 0.20040420-1 +- initial version diff --git a/import.log b/import.log new file mode 100644 index 0000000..221f227 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +hyphen-fo-0_20040420-1_fc11:HEAD:hyphen-fo-0.20040420-1.fc11.src.rpm:1250151020 diff --git a/sources b/sources index e69de29..c711805 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e0e6e6bb2e455ca49a7fd7cfef3e8003 hyph_fo_FO-20040420a.zip