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:46 +05:30
parent b160e7b770
commit fe06933935

View File

@ -1,17 +1,16 @@
Name: hunspell-sw
Summary: Swahili hunspell dictionaries
%define upstreamid 20050819
%global upstreamid 20050819
Version: 0.%{upstreamid}
Release: 12%{?dist}
Group: Applications/Text
Release: 13%{?dist}
Source: http://www.it46.se/downloads/openoffice/dictionary/dictionary_myspell_sw_TZ_1.1.tar.gz
URL: http://www.it46.se
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LGPLv2+
BuildArch: noarch
BuildRequires: hunspell-devel
Requires: hunspell
Supplements: (hunspell and langpacks-sw)
%description
Swahili hunspell dictionaries.
@ -32,7 +31,6 @@ for i in README_sw_TZ.txt; do
done
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
@ -43,15 +41,16 @@ for lang in $sw_TZ_aliases; do
done
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_sw_TZ.txt
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20050819-13
- 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.20050819-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild