Add Supplements: tag for langpacks naming guidelines

- Clean the specfile to follow current packaging guidelines
This commit is contained in:
Parag Nemade 2016-02-19 23:37:03 +05:30
parent 33b2ff1fc2
commit 428599b08e

View File

@ -1,15 +1,14 @@
Name: hunspell-yi Name: hunspell-yi
Summary: Yiddish hunspell dictionaries Summary: Yiddish hunspell dictionaries
Version: 1.1 Version: 1.1
Release: 10%{?dist} Release: 11%{?dist}
Group: Applications/Text
Source: http://extensions.services.openoffice.org/e-files/3975/1/%{name}-%{version}.oxt Source: http://extensions.services.openoffice.org/e-files/3975/1/%{name}-%{version}.oxt
URL: http://extensions.services.openoffice.org/en/project/dict-yi URL: http://extensions.services.openoffice.org/en/project/dict-yi
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LGPLv2+ or GPLv2+ or MPLv1.1 License: LGPLv2+ or GPLv2+ or MPLv1.1
BuildArch: noarch BuildArch: noarch
Requires: hunspell Requires: hunspell
Supplements: (hunspell and langpacks-yi)
%description %description
Yiddish hunspell dictionaries. Yiddish hunspell dictionaries.
@ -20,20 +19,20 @@ Yiddish hunspell dictionaries.
%build %build
%install %install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p dictionaries/yi.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/yi_US.aff cp -p dictionaries/yi.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/yi_US.aff
cp -p dictionaries/yi.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/yi_US.dic cp -p dictionaries/yi.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/yi_US.dic
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-)
%doc gpl-2.0.txt MPL-1.1.txt README_yi.txt LICENSES-en.txt HACKING lgpl-2.1.txt %doc gpl-2.0.txt MPL-1.1.txt README_yi.txt LICENSES-en.txt HACKING lgpl-2.1.txt
%{_datadir}/myspell/* %{_datadir}/myspell/*
%changelog %changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 1.1-11
- 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> - 1.1-10 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild