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:35:22 +05:30
parent bd07572c7f
commit e30de7c6fd

View File

@ -1,16 +1,15 @@
Name: hunspell-ti
Summary: Tigrigna hunspell dictionaries
%define upstreamid 20090911
%global upstreamid 20090911
Version: 0.%{upstreamid}
Release: 9%{?dist}
Release: 10%{?dist}
Source: http://www.cs.ru.nl/~biniam/geez/dict/ti_ER.zip
Group: Applications/Text
URL: http://www.cs.ru.nl/~biniam/geez/index.php
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPL+
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-ti)
%description
Tigrigna hunspell dictionaries.
@ -24,7 +23,6 @@ touch -r README.txt README.txt.new
mv -f README.txt.new README.txt
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p ti_ER.* $RPM_BUILD_ROOT/%{_datadir}/myspell/
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
@ -34,15 +32,16 @@ for lang in $ti_ER_aliases; do
ln -s ti_ER.dic $lang.dic
done
%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.20090911-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.20090911-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild