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:25:56 +05:30
parent 1eff4f54d5
commit 8240b21a63

View File

@ -1,19 +1,18 @@
Name: hunspell-ga
Summary: Irish hunspell dictionaries
Version: 4.6
Release: 10%{?dist}
Release: 11%{?dist}
Source0: http://gaelspell.googlecode.com/files/ispell-gaeilge-%{version}.tar.gz
Source1: myspell-header
Source2: hunspell-header
Group: Applications/Text
URL: http://borel.slu.edu/ispell/index.html
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+
BuildArch: noarch
BuildRequires: hunspell-devel
Patch1: ispell-gaeilge-4.2-buildhunspell.patch
Requires: hunspell
Supplements: (hunspell and langpacks-ga)
%description
Irish hunspell dictionaries.
@ -30,19 +29,19 @@ iconv -f utf-8 -t iso-8859-1 < gaeilge.aff > gaeilge.aff.iso-8859-1
ispellaff2myspell gaeilge.aff.iso-8859-1 --myheader header | sed -e "s/\"\"/0/g" | sed -e "s/\"//g" > ga_IE.aff
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p ga_IE.dic ga_IE.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README COPYING ChangeLog
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 4.6-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> - 4.6-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild