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:04:37 +05:30
parent 0970681ad5
commit 52f730cd1e

View File

@ -1,16 +1,15 @@
Name: hyphen-el
Summary: Greek hyphenation rules
%define upstreamid 20051018
%global upstreamid 20051018
Version: 0.%{upstreamid}
Release: 12%{?dist}
Release: 13%{?dist}
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_el_GR.zip
Group: Applications/Text
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LGPLv2+
BuildArch: noarch
Requires: hyphen
Supplements: (hyphen and langpacks-el)
%description
Greek hyphenation rules.
@ -21,7 +20,6 @@ Greek hyphenation rules.
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
@ -31,15 +29,16 @@ for lang in $el_GR_aliases; do
ln -s hyph_el_GR.dic hyph_$lang.dic
done
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_hyph_el_GR.txt
%{_datadir}/hyphen/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20051018-13
- 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.20051018-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
@ -73,5 +72,5 @@ rm -rf $RPM_BUILD_ROOT
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20051018-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Jan 05 2008 Caolan McNamara <caolanm@redhat.com> - 0.20051018-1
* Sat Jan 05 2008 Caolan McNamara <caolanm@redhat.com> - 0.20051018-1
- initial version