zaf/zaf.spec

75 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: zaf
Version: 0.4.1
Release: 1mamba
Summary: South Africa hyphenation rules
Group: System/Internationalization
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://sourceforge.net/projects/zaf/
# svn co https://zaf.svn.sourceforge.net/svnroot/zaf/trunk/dict/ zaf
Source: zaf-0-20110315-src-svn.tar.gz
License: LGPL
#BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Translate.org.za's South African localisations project. Including localisation of OpenOffice.org,
Mozilla Firefox and Thunderdird. MySpell dictionaries, Venda keyboard. And locale files for
OpenOffice.org and glibc
%package -n hyphen-af
Group: System/Internationalization
Summary: Afrikaans hyphenation rules
Requires: libhyphen
#BuildArch: noarch
%description -n hyphen-af
Afrikaans hyphenation rules.
%package -n hyphen-zu
Group: System/Internationalization
Summary: Zulu hyphenation rules
Requires: libhyphen
#BuildArch: noarch
%description -n hyphen-zu
Zulu hyphenation rules.
%prep
%setup -q -n %{name}
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_datadir}/hyphen
cp -p af/hyph/hyph_af_ZA.dic %{buildroot}%{_datadir}/hyphen
cp -p zu/hyph/hyph_zu_ZA.dic %{buildroot}%{_datadir}/hyphen
pushd %{buildroot}%{_datadir}/hyphen/
ln -s hyph_af_ZA.dic hyph_af_NA.dic
popd
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -n hyphen-af
%defattr(-,root,root)
%{_datadir}/hyphen/hyph_af_ZA.dic
%{_datadir}/hyphen/hyph_af_NA.dic
%doc af/CREDITS af/COPYING af/README
%files -n hyphen-zu
%defattr(-,root,root)
%{_datadir}/hyphen/hyph_zu_ZA.dic
%doc zu/CREDITS zu/COPYING zu/README
%changelog
* Sat Dec 22 2012 Automatic Build System <autodist@mambasoft.it> 0.4.1-1mamba
- automatic version update by autodist
* Tue Mar 15 2011 gil <puntogil@libero.it> 0-1mamba
- package created by autospec