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:34:32 +05:30
parent 28c8a2e0d2
commit 777b4edd38

View File

@ -1,16 +1,15 @@
Name: hunspell-st Name: hunspell-st
Summary: Southern Sotho hunspell dictionaries Summary: Southern Sotho hunspell dictionaries
%define upstreamid 20091030 %global upstreamid 20091030
Version: 0.%{upstreamid} Version: 0.%{upstreamid}
Release: 9%{?dist} Release: 10%{?dist}
Source: http://extensions.services.openoffice.org/e-files/3138/0/dict-st_ZA-2009.10.30.oxt Source: http://extensions.services.openoffice.org/e-files/3138/0/dict-st_ZA-2009.10.30.oxt
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-st)
%description %description
Southern Sotho hunspell dictionaries. Southern Sotho hunspell dictionaries.
@ -31,19 +30,19 @@ for i in README-st_ZA.txt release-notes-st_ZA.txt package-description.txt; do
done done
%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
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-)
%doc README-st_ZA.txt release-notes-st_ZA.txt package-description.txt %doc README-st_ZA.txt release-notes-st_ZA.txt package-description.txt
%{_datadir}/myspell/* %{_datadir}/myspell/*
%changelog %changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20091030-10
- 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> - 0.20091030-9 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20091030-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild