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:36:26 +05:30
parent c07b2b5b0c
commit 5f737b6734

View File

@ -1,15 +1,14 @@
Name: hunspell-uz
Summary: Uzbek hunspell dictionaries
Version: 0.6
Release: 11%{?dist}
Release: 12%{?dist}
Source0: http://www-user.uni-bremen.de/~kmashrab/uzbek-word-list/uzbek-wordlist-%{version}.tar.bz2
Group: Applications/Text
URL: http://www-user.uni-bremen.de/~kmashrab/uzbek-word-list
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-uz)
%description
Uzbek hunspell dictionaries.
@ -23,19 +22,19 @@ make
cp -p README ../README.hunspell
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p hunspell/uz_UZ* $RPM_BUILD_ROOT/%{_datadir}/myspell/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc ChangeLog Copyright README README.hunspell COPYING TODO
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.6-12
- 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.6-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
@ -66,5 +65,5 @@ rm -rf $RPM_BUILD_ROOT
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sat Sep 20 2006 Caolan McNamara <caolanm@redhat.com> - 0.6-1
* Wed Sep 20 2006 Caolan McNamara <caolanm@redhat.com> - 0.6-1
- initial version