diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d04ef94 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/zaf-0-0.1.20080714svn.tar.bz2 diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/sources b/sources new file mode 100644 index 0000000..7d9c39b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (zaf-0-0.1.20080714svn.tar.bz2) = 2161af722716198371dcd8951f264bbcfc484adec87adf8a1c899518634f13c7cb4918f527f3f1f801b49ac0bbdfa269085eeda4542ca1719e98df40ba030683 diff --git a/zaf.spec b/zaf.spec new file mode 100644 index 0000000..96266ce --- /dev/null +++ b/zaf.spec @@ -0,0 +1,107 @@ +Name: zaf +Summary: South Africa hyphenation rules +%define upstreamid 20080714 +Version: 0 +Release: 0.16.%{upstreamid}svn%{?dist} +Source: zaf-0-0.1.%{upstreamid}svn.tar.bz2 +# Below URL is dead now, don't file any bugs for updating it. +URL: http://zaf.sourceforge.net/ +#Hyphenation rules are already generated in upstream code +License: LGPLv2+ +BuildArch: noarch + +%description +South Africa hyphenation rules. + +%package -n hyphen-af +Summary: Afrikaans hyphenation rules +Requires: hyphen + +%description -n hyphen-af +Afrikaans hyphenation rules. + +%package -n hyphen-zu +Summary: Zulu hyphenation rules +Requires: hyphen + +%description -n hyphen-zu +Zulu hyphenation rules. + +%prep +%autosetup -n zaf + +%build + +%install +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 + +pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/ +af_ZA_aliases="af_NA" +for lang in $af_ZA_aliases; do + ln -s hyph_af_ZA.dic hyph_$lang.dic +done +popd + +%files -n hyphen-af +%doc af/CREDITS af/README +%license af/COPYING +%{_datadir}/hyphen/hyph_af* + +%files -n hyphen-zu +%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 + +* Thu Jul 27 2017 Fedora Release Engineering - 0-0.14.20080714svn +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0-0.13.20080714svn +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 05 2016 Fedora Release Engineering - 0-0.12.20080714svn +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 0-0.11.20080714svn +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0-0.10.20080714svn +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 0-0.9.20080714svn +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Feb 15 2013 Fedora Release Engineering - 0-0.8.20080714svn +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Nov 06 2012 Caolán McNamara - 0-0.7.20080714svn +- clarify license + +* Sun Jul 22 2012 Fedora Release Engineering - 0-0.6.20080714svn +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 0-0.5.20080714svn +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 0-0.4.20080714svn +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Jul 27 2009 Fedora Release Engineering - 0-0.3.20080714svn +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 0-0.2.20080714svn +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Jul 15 2008 Caolán McNamara - 0-0.1.20080714svn +- latest version + +* Fri Nov 23 2007 Caolán McNamara - 0-0.1.20071123svn +- initial version