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:25:05 +05:30
parent e967c1fa0f
commit bbb6bc1a8f

View File

@ -1,17 +1,16 @@
Name: hunspell-fa
Summary: Farsi hunspell dictionaries
%define upstreamid 20070116
%global upstreamid 20070116
Version: 0.%{upstreamid}
Release: 12%{?dist}
Group: Applications/Text
Release: 13%{?dist}
Source: ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2
URL: http://aspell.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+
BuildArch: noarch
BuildRequires: aspell, hunspell-devel
Requires: hunspell
Supplements: (hunspell and langpacks-fa)
%description
Farsi hunspell dictionaries.
@ -26,19 +25,19 @@ cat *.wl > farsi.wordlist
wordlist2hunspell farsi.wordlist fa_IR
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING Copyright doc/README doc/ChangeLog
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20070116-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.20070116-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild