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:08 +05:30
parent 0a9cc9cc39
commit 94988dc41d

View File

@ -1,16 +1,15 @@
Name: hunspell-tet
Summary: Tetum hunspell dictionaries
%define upstreamid 20050108
%global upstreamid 20050108
Version: 0.%{upstreamid}
Release: 13%{?dist}
Release: 14%{?dist}
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/tet_ID.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-tet)
%description
Tetum hunspell dictionaries.
@ -31,7 +30,6 @@ for i in README_tet_ID.txt; do
done
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p tet_ID.* $RPM_BUILD_ROOT/%{_datadir}/myspell/
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
@ -42,15 +40,16 @@ for lang in $tet_ID_aliases; do
done
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README_tet_ID.txt
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20050108-14
- 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.20050108-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
@ -87,5 +86,5 @@ rm -rf $RPM_BUILD_ROOT
* Thu Nov 27 2008 Caolan McNamara <caolanm@redhat.com> - 0.20050108-2
- East Timor also
* Thu Nov 05 2008 Caolan McNamara <caolanm@redhat.com> - 0.20050108-1
* Wed Nov 05 2008 Caolan McNamara <caolanm@redhat.com> - 0.20050108-1
- initial version