Update to follow Fedora Packaging guidelines
This commit is contained in:
parent
d42a987786
commit
86825bccd9
24
zaf.spec
24
zaf.spec
@ -2,12 +2,12 @@ Name: zaf
|
|||||||
Summary: South Africa hyphenation rules
|
Summary: South Africa hyphenation rules
|
||||||
%define upstreamid 20080714
|
%define upstreamid 20080714
|
||||||
Version: 0
|
Version: 0
|
||||||
Release: 0.15.%{upstreamid}svn%{?dist}
|
Release: 0.16.%{upstreamid}svn%{?dist}
|
||||||
Source: zaf-0-0.1.%{upstreamid}svn.tar.bz2
|
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/
|
URL: http://zaf.sourceforge.net/
|
||||||
#zu/myspell/zu_aff.py and tools/plural-maker state unversioned GPL
|
#Hyphenation rules are already generated in upstream code
|
||||||
License: LGPLv2+ and GPL+
|
License: LGPLv2+
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -15,7 +15,6 @@ South Africa hyphenation rules.
|
|||||||
|
|
||||||
%package -n hyphen-af
|
%package -n hyphen-af
|
||||||
Summary: Afrikaans hyphenation rules
|
Summary: Afrikaans hyphenation rules
|
||||||
Group: Applications/Text
|
|
||||||
Requires: hyphen
|
Requires: hyphen
|
||||||
|
|
||||||
%description -n hyphen-af
|
%description -n hyphen-af
|
||||||
@ -23,19 +22,17 @@ Afrikaans hyphenation rules.
|
|||||||
|
|
||||||
%package -n hyphen-zu
|
%package -n hyphen-zu
|
||||||
Summary: Zulu hyphenation rules
|
Summary: Zulu hyphenation rules
|
||||||
Group: Applications/Text
|
|
||||||
Requires: hyphen
|
Requires: hyphen
|
||||||
|
|
||||||
%description -n hyphen-zu
|
%description -n hyphen-zu
|
||||||
Zulu hyphenation rules.
|
Zulu hyphenation rules.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n zaf
|
%autosetup -n zaf
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||||||
cp -p ./af/hyph/hyph_af_ZA.dic $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
|
cp -p ./zu/hyph/hyph_zu_ZA.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||||||
@ -48,16 +45,19 @@ done
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
%files -n hyphen-af
|
%files -n hyphen-af
|
||||||
%defattr(-,root,root,-)
|
%doc af/CREDITS af/README
|
||||||
%doc af/CREDITS af/COPYING af/README
|
%license af/COPYING
|
||||||
%{_datadir}/hyphen/hyph_af*
|
%{_datadir}/hyphen/hyph_af*
|
||||||
|
|
||||||
%files -n hyphen-zu
|
%files -n hyphen-zu
|
||||||
%defattr(-,root,root,-)
|
%doc zu/CREDITS zu/README
|
||||||
%doc zu/CREDITS zu/COPYING zu/README
|
%license zu/COPYING
|
||||||
%{_datadir}/hyphen/hyph_zu*
|
%{_datadir}/hyphen/hyph_zu*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jul 01 2018 Parag Nemade <pnemade AT fedoraproject DOT org> - 0-0.16.20080714svn
|
||||||
|
- Update to follow Fedora Packaging guidelines
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.15.20080714svn
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.15.20080714svn
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user