From ac571f8ad2065bf6ae125bbce411eec5254016fa Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Wed, 17 Jun 2009 21:50:30 +0000 Subject: [PATCH] build from source --- .cvsignore | 2 +- hunspell-ko.spec | 16 ++++++++++++---- sources | 2 +- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.cvsignore b/.cvsignore index 0caa85e..9e8517d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -ko-aff-dic-0.2.4.zip +hunspell-dict-ko-0.2.4.tar.gz diff --git a/hunspell-ko.spec b/hunspell-ko.spec index aad3d65..f27c2d7 100644 --- a/hunspell-ko.spec +++ b/hunspell-ko.spec @@ -1,13 +1,14 @@ Name: hunspell-ko Summary: Korean hunspell dictionaries Version: 0.2.4 -Release: 1%{?dist} -Source: http://spellcheck-ko.googlecode.com/files/ko-aff-dic-%{version}.zip +Release: 2%{?dist} +Source: http://spellcheck-ko.googlecode.com/files/hunspell-dict-ko-%{version}.tar.gz Group: Applications/Text URL: http://code.google.com/p/spellcheck-ko/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) License: MPLv1.1 or GPLv2 or LGPLv2 BuildArch: noarch +BuildRequires: python-lxml Requires: hunspell @@ -15,9 +16,10 @@ Requires: hunspell Korean hunspell dictionaries. %prep -%setup -q -n ko-aff-dic-%{version} +%setup -q -n hunspell-dict-ko-%{version} %build +make %install rm -rf $RPM_BUILD_ROOT @@ -25,14 +27,20 @@ mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell cp -p ko.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/ko_KR.aff cp -p ko.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/ko_KR.dic +%check +make test + %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc LICENSE LICENSE.GPL LICENSE.LGPL LICENSE.MPL +%doc README LICENSE LICENSE.GPL LICENSE.LGPL LICENSE.MPL %{_datadir}/myspell/* %changelog +* Wed Jun 17 2009 Caolan McNamara - 0.2.4-2 +- build from source + * Mon Jun 15 2009 Caolan McNamara - 0.2.4-1 - initial version diff --git a/sources b/sources index 23f2b6e..8702d88 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0b74412567f791520723539ea9949018 ko-aff-dic-0.2.4.zip +9f834a17421409cee67324c9e786df36 hunspell-dict-ko-0.2.4.tar.gz