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:26:04 +05:30
parent 7f52672b7e
commit 916f6d992e

View File

@ -1,15 +1,14 @@
Name: hunspell-gd
Summary: Scots Gaelic hunspell dictionaries
Version: 2.6
Release: 6%{?dist}
Release: 7%{?dist}
Source: http://downloads.sourceforge.net/project/aoo-extensions/4587/8/hunspell-gd-2.6.oxt
Group: Applications/Text
URL: http://extensions.services.openoffice.org/en/project/faclair-afb
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+ and GPLv3+
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-gd)
%description
Scots Gaelic hunspell dictionaries.
@ -20,19 +19,19 @@ Scots Gaelic hunspell dictionaries.
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p dictionaries/gd_GB.dic dictionaries/gd_GB.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc dictionaries/README_gd_GB.txt LICENSES-en.txt
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 2.6-7
- 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> - 2.6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
@ -58,7 +57,7 @@ rm -rf $RPM_BUILD_ROOT
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Jun 13 2012 Caolán McNamara <caolanm@redhat.com> - 2.3-1
* Wed Jun 13 2012 Caolán McNamara <caolanm@redhat.com> - 2.3-1
- latest version
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2