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:33:47 +05:30
parent 88e05dcbea
commit 541e44b820

View File

@ -1,16 +1,15 @@
Name: hunspell-sl
Summary: Slovenian hunspell dictionaries
%define upstreamid 20070127
%global upstreamid 20070127
Version: 0.%{upstreamid}
Release: 13%{?dist}
Release: 14%{?dist}
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/sl_SI.zip
Group: Applications/Text
URL: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPL+ or LGPLv2+
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-sl)
%description
Slovenian hunspell dictionaries.
@ -22,19 +21,19 @@ Slovenian hunspell dictionaries.
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_sl_SI.txt
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20070127-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.20070127-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild