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:06:38 +05:30
parent 784ecfd378
commit c029fd791c

View File

@ -1,17 +1,16 @@
Name: hyphen-is
Summary: Icelandic hyphenation rules
%define upstreamid 20030920
%global upstreamid 20030920
Version: 0.%{upstreamid}
Release: 14%{?dist}
Release: 15%{?dist}
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_is_IS.zip
Patch0: hyphen-is-lppl-license-fix.patch
Group: Applications/Text
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LGPLv2+ or SISSL
BuildArch: noarch
Requires: hyphen
Supplements: (hyphen and langpacks-is)
%description
Icelandic hyphenation rules.
@ -34,19 +33,19 @@ for i in README_hyph_is_IS.txt; do
done
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_hyph_is_IS.txt
%{_datadir}/hyphen/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20030920-15
- 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.20030920-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
@ -86,5 +85,5 @@ rm -rf $RPM_BUILD_ROOT
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20030920-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Jan 07 2008 Caolán McNamara <caolanm@redhat.com> - 0.20030920-1
* Mon Jan 07 2008 Caolán McNamara <caolanm@redhat.com> - 0.20030920-1
- initial version