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:30:38 +05:30
parent 66a92946ad
commit cb3de6e566

View File

@ -1,17 +1,16 @@
Name: hunspell-mt
Summary: Maltese hunspell dictionaries
%define upstreamid 20020708
%global upstreamid 20020708
Version: 0.%{upstreamid}
Release: 12%{?dist}
Group: Applications/Text
Release: 13%{?dist}
Source: http://linux.org.mt/downloads/spellcheck-mt-0.3.tar.gz
URL: http://linux.org.mt/node/62
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LGPLv2+
BuildArch: noarch
BuildRequires: hunspell-devel
Requires: hunspell
Supplements: (hunspell and langpacks-mt)
%description
Maltese hunspell dictionaries.
@ -25,19 +24,19 @@ iconv -f ISO-8859-3 -t UTF-8 words.iso8859-3 > maltese.words
wordlist2hunspell maltese.words mt_MT
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p mt_MT.dic mt_MT.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc readme.txt
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20020708-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.20020708-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild