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:31:07 +05:30
parent 163b06d294
commit 18910981d5

View File

@ -1,17 +1,16 @@
Name: hunspell-nl
Summary: Dutch hunspell dictionaries
Version: 2.10
Release: 8%{?dist}
Release: 9%{?dist}
#http://www.opentaal.org/bestanden/doc_download/20-woordenlijst-v-210g-voor-openofficeorg-3
#annoying click through makes direct link apparently impossible
Source: OpenTaal-210G-LO.oxt
Group: Applications/Text
URL: http://www.opentaal.org/english.php
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: BSD or CC-BY
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-nl)
%description
Dutch hunspell dictionaries.
@ -23,7 +22,6 @@ Dutch hunspell dictionaries.
chmod -x nl_NL.*
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p nl_NL.aff nl_NL.dic $RPM_BUILD_ROOT/%{_datadir}/myspell
@ -34,15 +32,16 @@ for lang in $nl_NL_aliases; do
ln -s nl_NL.dic $lang.dic
done
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc description/desc_en_US.txt description/desc_nl_NL.txt README_nl_NL.txt license_en_EN.txt licentie_nl_NL.txt
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 2.10-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> - 2.10-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
@ -91,7 +90,7 @@ rm -rf $RPM_BUILD_ROOT
* Sat Jul 11 2009 Caolán McNamara <caolanm@redhat.com> - 1.00g-5
- retain timestamp
* Fri Jun 22 2009 Caolán McNamara <caolanm@redhat.com> - 1.00g-4
* Mon Jun 22 2009 Caolán McNamara <caolanm@redhat.com> - 1.00g-4
- extend coverage
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00g-3