Add Supplements: tag for langpacks naming guidelines
- Clean the specfile to follow current packaging guidelines
This commit is contained in:
parent
539dab8ea2
commit
bccaa48f89
@ -1,15 +1,14 @@
|
||||
Name: hunspell-be
|
||||
Summary: Belarusian hunspell dictionaries
|
||||
Version: 1.1
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
Source: http://extensions.services.openoffice.org/files/2412/1/dict-be-official.oxt
|
||||
Group: Applications/Text
|
||||
URL: http://extensions.services.openoffice.org/project/dict-be-official
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
License: GPL+ and LGPLv2+
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: hunspell
|
||||
Supplements: (hunspell and langpacks-be)
|
||||
|
||||
%description
|
||||
Belarusian hunspell dictionaries.
|
||||
@ -17,7 +16,7 @@ Belarusian hunspell dictionaries.
|
||||
%package -n hyphen-be
|
||||
Requires: hyphen
|
||||
Summary: Belarusian hyphenation rules
|
||||
Group: Applications/Text
|
||||
Supplements: (hyphen and langpacks-be)
|
||||
|
||||
%description -n hyphen-be
|
||||
Belarusian hyphenation rules.
|
||||
@ -30,26 +29,25 @@ sed -i -e "s/microsoft-cp1251/CP1251/g" be-official.aff hyph_be_BY.dic
|
||||
tail -n +3 hyph_be_BY.dic| head -n 3 > README_hyph_be_BY
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
cp -p be-official.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/be_BY.aff
|
||||
cp -p be-official.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/be_BY.dic
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||||
cp -p hyph_be_BY.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_be_BY.dic
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%files -n hyphen-be
|
||||
%defattr(-,root,root,-)
|
||||
%doc README_hyph_be_BY
|
||||
%{_datadir}/hyphen/*
|
||||
|
||||
%changelog
|
||||
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 1.1-11
|
||||
- Add Supplements: tag for langpacks naming guidelines
|
||||
- Clean the specfile to follow current packaging guidelines
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user