Add Supplements: tag for langpacks naming guidelines
- Clean the specfile to follow current packaging guidelines
This commit is contained in:
parent
a63d20868b
commit
b32253282c
@ -1,16 +1,15 @@
|
||||
Name: hunspell-et
|
||||
Summary: Estonian hunspell dictionaries
|
||||
%define upstreamid 20030606
|
||||
%global upstreamid 20030606
|
||||
Version: 0.%{upstreamid}
|
||||
Release: 14%{?dist}
|
||||
Release: 15%{?dist}
|
||||
Source: http://www.meso.ee/~jjpp/speller/ispell-et_%{upstreamid}.tar.gz
|
||||
Group: Applications/Text
|
||||
URL: http://www.meso.ee/~jjpp/speller/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
License: LGPLv2+ and LPPL
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: hunspell
|
||||
Supplements: (hunspell and langpacks-et)
|
||||
Provides: hunspell-ee = 0.20030606-4
|
||||
Obsoletes: hunspell-ee < 0.20030606-4
|
||||
|
||||
@ -20,7 +19,7 @@ Estonian hunspell dictionaries.
|
||||
%package -n hyphen-et
|
||||
Requires: hyphen
|
||||
Summary: Estonian hyphenation rules
|
||||
Group: Applications/Text
|
||||
Supplements: (hyphen and langpacks-et)
|
||||
|
||||
%description -n hyphen-et
|
||||
Estonian hyphenation rules.
|
||||
@ -31,27 +30,26 @@ Estonian hyphenation rules.
|
||||
%build
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
cp -p latin-1/et_EE.* $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||||
cp -p hyph_et.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_et_EE.dic
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README COPYRIGHT ChangeLog
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%files -n hyphen-et
|
||||
%defattr(-,root,root,-)
|
||||
%doc README COPYRIGHT ChangeLog
|
||||
%{_datadir}/hyphen/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20030606-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.20030606-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user