Add Supplements: tag for langpacks naming guidelines
- Clean the specfile to follow current packaging guidelines
This commit is contained in:
parent
d79b83d021
commit
02440614fd
@ -1,15 +1,14 @@
|
||||
Name: hyphen-ru
|
||||
Summary: Russian hyphenation rules
|
||||
%define upstreamid 20020727
|
||||
%global upstreamid 20020727
|
||||
Version: 0.%{upstreamid}
|
||||
Release: 12%{?dist}
|
||||
Release: 13%{?dist}
|
||||
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_ru_RU.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-ru)
|
||||
|
||||
%description
|
||||
Russian hyphenation rules.
|
||||
@ -21,7 +20,6 @@ Russian hyphenation rules.
|
||||
chmod -x *
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||||
cp -p hyph_ru_RU.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||||
pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
|
||||
@ -30,15 +28,16 @@ for lang in $ru_RU_aliases; do
|
||||
ln -s hyph_ru_RU.dic hyph_$lang.dic
|
||||
done
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README_hyph_ru_RU.txt
|
||||
%{_datadir}/hyphen/*
|
||||
|
||||
%changelog
|
||||
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20020727-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.20020727-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user