Add Supplements: tag for langpacks naming guidelines
- Clean the specfile to follow current packaging guidelines
This commit is contained in:
parent
eb8b244f5a
commit
616ba133f4
@ -1,15 +1,14 @@
|
|||||||
Name: hunspell-ko
|
Name: hunspell-ko
|
||||||
Summary: Korean hunspell dictionaries
|
Summary: Korean hunspell dictionaries
|
||||||
Version: 0.5.5
|
Version: 0.5.5
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
Source: http://spellcheck-ko.googlecode.com/files/hunspell-dict-ko-%{version}.tar.gz
|
Source: http://spellcheck-ko.googlecode.com/files/hunspell-dict-ko-%{version}.tar.gz
|
||||||
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)
|
|
||||||
License: MPLv1.1 or GPLv2 or LGPLv2
|
License: MPLv1.1 or GPLv2 or LGPLv2
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python-lxml, hunspell
|
BuildRequires: python-lxml, hunspell
|
||||||
Requires: hunspell
|
Requires: hunspell
|
||||||
|
Supplements: (hunspell and langpacks-ko)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Korean hunspell dictionaries.
|
Korean hunspell dictionaries.
|
||||||
@ -21,7 +20,6 @@ Korean hunspell dictionaries.
|
|||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
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
|
||||||
@ -29,15 +27,16 @@ cp -p ko.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/ko_KR.dic
|
|||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc README LICENSE LICENSE.GPL LICENSE.LGPL LICENSE.MPL
|
%doc README LICENSE LICENSE.GPL LICENSE.LGPL LICENSE.MPL
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/myspell/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.5.5-9
|
||||||
|
- Add Supplements: tag for langpacks naming guidelines
|
||||||
|
- Clean the specfile to follow current packaging guidelines
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-8
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-8
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user