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:41 +05:30
parent 4c777d1913
commit 6447357073

View File

@ -1,16 +1,15 @@
Name: hunspell-tl
Summary: Tagalog hunspell dictionaries
%define upstreamid 20050109
%global upstreamid 20050109
Version: 0.%{upstreamid}
Release: 12%{?dist}
Release: 13%{?dist}
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/tl_PH.zip
Group: Applications/Text
URL: http://borel.slu.edu/crubadan/apps.html
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-tl)
%description
Tagalog hunspell dictionaries.
@ -31,7 +30,6 @@ for i in README_tl_PH.txt; do
done
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p tl_PH.* $RPM_BUILD_ROOT/%{_datadir}/myspell/
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
@ -42,15 +40,16 @@ for lang in $tl_PH_aliases; do
done
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README_tl_PH.txt
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20050109-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.20050109-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild