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:21:50 +05:30
parent 27e384b34a
commit 4746e5a5dd

View File

@ -1,17 +1,16 @@
Name: hunspell-ak
Summary: Akan hunspell dictionaries
Version: 0.6
Release: 10%{?dist}
Group: Applications/Text
Release: 11%{?dist}
Source: http://releases.mozilla.org/pub/mozilla.org/addons/9978/akan_ns__mfuaasekyer__-%{version}-fx.xpi
URL: http://kasahorow.org/content/akan-nsɛmfuaasekyerɛ
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#https://addons.mozilla.org/en-US/firefox/versions/license/73122
License: LGPLv3
BuildArch: noarch
BuildRequires: redland
Requires: hunspell
Supplements: (hunspell and langpacks-ak)
%description
Akan hunspell dictionaries.
@ -25,20 +24,20 @@ rdfproc hunspell-oc print | grep install-manifest | grep -v targetApplication |
chmod -x dictionaries/ak-GH.*
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p dictionaries/ak-GH.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/ak_GH.aff
cp -p dictionaries/ak-GH.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/ak_GH.dic
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc CREDITS
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.6-11
- Add Supplements: tag for langpacks naming guidelines
- Clean the specfile to follow current packaging guidelines
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild