build from source
This commit is contained in:
parent
794b7ac6a4
commit
ac571f8ad2
@ -1 +1 @@
|
||||
ko-aff-dic-0.2.4.zip
|
||||
hunspell-dict-ko-0.2.4.tar.gz
|
||||
|
@ -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 <caolanm@redhat.com> - 0.2.4-2
|
||||
- build from source
|
||||
|
||||
* Mon Jun 15 2009 Caolan McNamara <caolanm@redhat.com> - 0.2.4-1
|
||||
- initial version
|
||||
|
Loading…
Reference in New Issue
Block a user