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:41 +05:30
parent f69f706ac8
commit c6dab58929

View File

@ -1,16 +1,15 @@
Name: hunspell-vi
Summary: Vietnamese hunspell dictionaries
%define upstreamid 20080604
%global upstreamid 20080604
Version: 0.%{upstreamid}
Release: 11%{?dist}
Release: 12%{?dist}
Source: http://hunspell-spellcheck-vi.googlecode.com/files/vi_VN.zip
Group: Applications/Text
URL: http://code.google.com/p/hunspell-spellcheck-vi
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPL+
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-vi)
%description
Vietnamese hunspell dictionaries.
@ -21,19 +20,19 @@ Vietnamese hunspell dictionaries.
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_vi_VN.txt Copyright
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20080604-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.20080604-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
@ -64,5 +63,5 @@ rm -rf $RPM_BUILD_ROOT
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20080604-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Thu Sep 18 2006 Caolan McNamara <caolanm@redhat.com> - 0.20080604-1
* Mon Sep 18 2006 Caolan McNamara <caolanm@redhat.com> - 0.20080604-1
- initial version