build from source

This commit is contained in:
Caolan McNamara 2009-06-17 21:50:30 +00:00
parent 794b7ac6a4
commit ac571f8ad2
3 changed files with 14 additions and 6 deletions

View File

@ -1 +1 @@
ko-aff-dic-0.2.4.zip hunspell-dict-ko-0.2.4.tar.gz

View File

@ -1,13 +1,14 @@
Name: hunspell-ko Name: hunspell-ko
Summary: Korean hunspell dictionaries Summary: Korean hunspell dictionaries
Version: 0.2.4 Version: 0.2.4
Release: 1%{?dist} Release: 2%{?dist}
Source: http://spellcheck-ko.googlecode.com/files/ko-aff-dic-%{version}.zip Source: http://spellcheck-ko.googlecode.com/files/hunspell-dict-ko-%{version}.tar.gz
Group: Applications/Text Group: Applications/Text
URL: http://code.google.com/p/spellcheck-ko/ URL: http://code.google.com/p/spellcheck-ko/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: MPLv1.1 or GPLv2 or LGPLv2 License: MPLv1.1 or GPLv2 or LGPLv2
BuildArch: noarch BuildArch: noarch
BuildRequires: python-lxml
Requires: hunspell Requires: hunspell
@ -15,9 +16,10 @@ Requires: hunspell
Korean hunspell dictionaries. Korean hunspell dictionaries.
%prep %prep
%setup -q -n ko-aff-dic-%{version} %setup -q -n hunspell-dict-ko-%{version}
%build %build
make
%install %install
rm -rf $RPM_BUILD_ROOT 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.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/ko_KR.aff
cp -p ko.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/ko_KR.dic cp -p ko.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/ko_KR.dic
%check
make test
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc LICENSE LICENSE.GPL LICENSE.LGPL LICENSE.MPL %doc README LICENSE LICENSE.GPL LICENSE.LGPL LICENSE.MPL
%{_datadir}/myspell/* %{_datadir}/myspell/*
%changelog %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 * Mon Jun 15 2009 Caolan McNamara <caolanm@redhat.com> - 0.2.4-1
- initial version - initial version

View File

@ -1 +1 @@
0b74412567f791520723539ea9949018 ko-aff-dic-0.2.4.zip 9f834a17421409cee67324c9e786df36 hunspell-dict-ko-0.2.4.tar.gz