From 86825bccd946dcb730a682ff9a2a5dda71168fe5 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Sun, 1 Jul 2018 15:53:45 +0530 Subject: [PATCH] Update to follow Fedora Packaging guidelines --- zaf.spec | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/zaf.spec b/zaf.spec index 716a8d7..96266ce 100644 --- a/zaf.spec +++ b/zaf.spec @@ -2,12 +2,12 @@ Name: zaf Summary: South Africa hyphenation rules %define upstreamid 20080714 Version: 0 -Release: 0.15.%{upstreamid}svn%{?dist} +Release: 0.16.%{upstreamid}svn%{?dist} Source: zaf-0-0.1.%{upstreamid}svn.tar.bz2 -Group: Applications/Text +# Below URL is dead now, don't file any bugs for updating it. URL: http://zaf.sourceforge.net/ -#zu/myspell/zu_aff.py and tools/plural-maker state unversioned GPL -License: LGPLv2+ and GPL+ +#Hyphenation rules are already generated in upstream code +License: LGPLv2+ BuildArch: noarch %description @@ -15,7 +15,6 @@ South Africa hyphenation rules. %package -n hyphen-af Summary: Afrikaans hyphenation rules -Group: Applications/Text Requires: hyphen %description -n hyphen-af @@ -23,19 +22,17 @@ Afrikaans hyphenation rules. %package -n hyphen-zu Summary: Zulu hyphenation rules -Group: Applications/Text Requires: hyphen %description -n hyphen-zu Zulu hyphenation rules. %prep -%setup -q -n zaf +%autosetup -n zaf %build %install -rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen cp -p ./af/hyph/hyph_af_ZA.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen cp -p ./zu/hyph/hyph_zu_ZA.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen @@ -48,16 +45,19 @@ done popd %files -n hyphen-af -%defattr(-,root,root,-) -%doc af/CREDITS af/COPYING af/README +%doc af/CREDITS af/README +%license af/COPYING %{_datadir}/hyphen/hyph_af* %files -n hyphen-zu -%defattr(-,root,root,-) -%doc zu/CREDITS zu/COPYING zu/README +%doc zu/CREDITS zu/README +%license zu/COPYING %{_datadir}/hyphen/hyph_zu* %changelog +* Sun Jul 01 2018 Parag Nemade - 0-0.16.20080714svn +- Update to follow Fedora Packaging guidelines + * Fri Feb 09 2018 Fedora Release Engineering - 0-0.15.20080714svn - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild