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:32:13 +05:30
parent 6defa4a888
commit 0d140c1c3a
1 changed files with 8 additions and 9 deletions

View File

@ -1,16 +1,15 @@
Name: hunspell-pl
Summary: Polish hunspell dictionaries
%define upstreamid 20130130
%global upstreamid 20130130
Version: 0.%{upstreamid}
Release: 5%{?dist}
Release: 6%{?dist}
Source: http://sjp.pl/slownik/ort/sjp-myspell-pl-%{upstreamid}.zip
Group: Applications/Text
URL: http://www.kurnik.pl/dictionary/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LGPLv2+ or GPL+ or MPLv1.1 or CC-BY-SA
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-pl)
%description
Polish hunspell dictionaries.
@ -22,19 +21,19 @@ Polish hunspell dictionaries.
unzip pl_PL.zip
%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_pl_PL.txt
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20130130-6
- 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.20130130-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
@ -59,7 +58,7 @@ rm -rf $RPM_BUILD_ROOT
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20120613-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Jun 13 2012 Caolán McNamara <caolanm@redhat.com> - 0.20120613-1
* Wed Jun 13 2012 Caolán McNamara <caolanm@redhat.com> - 0.20120613-1
- latest version
* Fri Mar 09 2012 Caolán McNamara <caolanm@redhat.com> - 0.20120309-1