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:26:13 +05:30
parent d7a26765ba
commit 25ed19b482

View File

@ -1,16 +1,15 @@
Name: hunspell-gl
Summary: Galician hunspell dictionaries
%define upstreamid 20080515
%global upstreamid 20080515
Version: 0.%{upstreamid}
Release: 11%{?dist}
Release: 12%{?dist}
Source: http://openoffice.mancomun.org/libreeengalego/Corrector/gl_ES-pack.zip
Group: Applications/Text
URL: http://wiki.mancomun.org/index.php/Corrector_ortogr%C3%A1fico_para_OpenOffice.org#Descrici.C3.B3n
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-gl)
%description
Galician hunspell dictionaries.
@ -23,19 +22,19 @@ unzip gl_ES.zip
chmod -x *
%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_gl_ES.txt
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20080515-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.20080515-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
@ -79,7 +78,7 @@ rm -rf $RPM_BUILD_ROOT
- latest dictionaries
- clarify license
* Sun May 05 2007 Caolan McNamara <caolanm@redhat.com> - 0.20070504-1
* Sat May 05 2007 Caolan McNamara <caolanm@redhat.com> - 0.20070504-1
- latest dictionaries
* Thu Dec 07 2006 Caolan McNamara <caolanm@redhat.com> - 0.20061002-1