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:05:40 +05:30
parent add76861b3
commit a860f113f1

View File

@ -1,14 +1,13 @@
Name: hyphen-gl
Summary: Galician hyphenation rules
Version: 0.99
Release: 10%{?dist}
Release: 11%{?dist}
Source: http://extensions.services.openoffice.org/files/2004/0/hyph_gl.oxt
Group: Applications/Text
URL: https://forxa.mancomun.org/projects/hyphenation-gl
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv3
BuildArch: noarch
Requires: hyphen
Supplements: (hyphen and langpacks-gl)
%description
Galician hyphenation rules.
@ -20,19 +19,19 @@ Galician hyphenation rules.
chmod -x *
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_gl_ANY.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_gl_ES.dic
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc LEME-gl_ANY.txt LICENCES-gl.txt LICENSES-en.txt
%{_datadir}/hyphen/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.99-11
- 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.99-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild