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:43 +05:30
parent a9d9ee62c5
commit 284bac57c4

View File

@ -1,16 +1,15 @@
Name: hunspell-af Name: hunspell-af
Summary: Afrikaans hunspell dictionary Summary: Afrikaans hunspell dictionary
%define upstreamid 20080825 %global upstreamid 20080825
Version: 0.%{upstreamid} Version: 0.%{upstreamid}
Release: 11%{?dist} Release: 12%{?dist}
Source: http://downloads.translate.org.za/spellchecker/afrikaans/myspell-af_ZA-0.%{upstreamid}.zip Source: http://downloads.translate.org.za/spellchecker/afrikaans/myspell-af_ZA-0.%{upstreamid}.zip
Group: Applications/Text
URL: http://www.translate.org.za/ URL: http://www.translate.org.za/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LGPLv2+ License: LGPLv2+
BuildArch: noarch BuildArch: noarch
Requires: hunspell Requires: hunspell
Supplements: (hunspell and langpacks-af)
%description %description
Afrikaans hunspell dictionary Afrikaans hunspell dictionary
@ -21,7 +20,6 @@ Afrikaans hunspell dictionary
%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 *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
@ -33,15 +31,16 @@ for lang in $af_ZA_aliases; do
done done
popd popd
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-)
%doc README_af_ZA.txt %doc README_af_ZA.txt
%{_datadir}/myspell/* %{_datadir}/myspell/*
%changelog %changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20080825-12
- 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.20080825-11 * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20080825-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild