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:07:48 +05:30
parent 8976b49fb2
commit 56e863c81a

View File

@ -1,15 +1,14 @@
Name: hyphen-nl Name: hyphen-nl
Summary: Dutch hyphenation rules Summary: Dutch hyphenation rules
%define upstreamid 20050617 %global upstreamid 20050617
Version: 0.%{upstreamid} Version: 0.%{upstreamid}
Release: 13%{?dist} Release: 14%{?dist}
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_nl_NL.zip Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_nl_NL.zip
Group: Applications/Text
URL: http://wiki.services.openoffice.org/wiki/Dictionaries URL: http://wiki.services.openoffice.org/wiki/Dictionaries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2 License: GPLv2
BuildArch: noarch BuildArch: noarch
Requires: hyphen Requires: hyphen
Supplements: (hyphen and langpacks-nl)
%description %description
Dutch hyphenation rules. Dutch hyphenation rules.
@ -25,7 +24,6 @@ for i in README_hyph_nl_NL.txt; do
done done
%install %install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_nl_NL.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen cp -p hyph_nl_NL.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
@ -35,15 +33,16 @@ for lang in $nl_NL_aliases; do
ln -s hyph_nl_NL.dic hyph_$lang.dic ln -s hyph_nl_NL.dic hyph_$lang.dic
done done
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-)
%doc README_hyph_nl_NL.txt %doc README_hyph_nl_NL.txt
%{_datadir}/hyphen/* %{_datadir}/hyphen/*
%changelog %changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20050617-14
- 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.20050617-13 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050617-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild