From 3dd3fa0ea59dbcb9362ea3ca995228533eab5130 Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Sun, 28 Sep 2008 21:14:17 +0000 Subject: [PATCH] *** empty log message *** --- .cvsignore | 1 + import.log | 1 + openoffice-lv.spec | 62 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 65 insertions(+) create mode 100644 import.log create mode 100644 openoffice-lv.spec diff --git a/.cvsignore b/.cvsignore index e69de29..11adb02 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +lv_LV-0.7.3.zip diff --git a/import.log b/import.log new file mode 100644 index 0000000..ea305b3 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +openoffice-lv-0_7_3-1_fc9:HEAD:openoffice-lv-0.7.3-1.fc9.src.rpm:1222636531 diff --git a/openoffice-lv.spec b/openoffice-lv.spec new file mode 100644 index 0000000..ad55966 --- /dev/null +++ b/openoffice-lv.spec @@ -0,0 +1,62 @@ +Name: openoffice-lv +Summary: Latvian linguistic dictionaries +Version: 0.7.3 +Release: 1%{?dist} +Source: http://downloads.sourceforge.net/%{name}/lv_LV-%{version}.zip +Group: Applications/Text +URL: http://sourceforge.net/projects/openoffice-lv/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +License: GPLv2+ +BuildArch: noarch + +%description +Latvian linguistic dictionaries. + +%package -n hyphen-lv +Summary: Latvian hyphenation rules +Group: Applications/Text +Requires: hyphen + +%description -n hyphen-lv +Latvian hyphenation rules. + +%package -n hunspell-lv +Summary: Latvian hunspell dictionaries +Group: Applications/Text +Requires: hunspell + +%description -n hunspell-lv +Latvian hunspell dictionaries. + +%prep +%setup -q -c + +%build +for i in README_lv_LV.txt README_hyph_lv_LV.txt changelog.txt; do + tr -d '\r' < $i > $i.new + iconv -f ISO-8859-4 -t UTF-8 $i.new > $i +done + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen +cp -p lv_LV.dic lv_LV.aff $RPM_BUILD_ROOT/%{_datadir}/myspell +cp -p hyph_lv_LV.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -n hyphen-lv +%defattr(-,root,root,-) +%doc README_hyph_lv_LV.txt +%{_datadir}/hyphen/* + +%files -n hunspell-lv +%defattr(-,root,root,-) +%doc README_lv_LV.txt changelog.txt +%{_datadir}/myspell/* + +%changelog +* Sat Sep 20 2008 Caolan McNamara - 0.7.3-1 +- initial version diff --git a/sources b/sources index e69de29..a20a9cd 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e61446d480db0b31ceb20dc547c57d36 lv_LV-0.7.3.zip