45 lines
958 B
RPMSpec
45 lines
958 B
RPMSpec
|
Name: hyphen-ku
|
||
|
Summary: Kurdish hyphenation rules
|
||
|
Version: 0.21
|
||
|
Release: 1%{?dist}
|
||
|
Source: http://extensions.services.openoffice.org/files/2445/3/hyph_ku.oxt
|
||
|
Group: Applications/Text
|
||
|
URL: http://extensions.services.openoffice.org/project/kitandin
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
|
License: LGPLv2+
|
||
|
BuildArch: noarch
|
||
|
Requires: hyphen
|
||
|
|
||
|
%description
|
||
|
Kurdish hyphenation rules.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -c -n hyphen-ku
|
||
|
|
||
|
%build
|
||
|
chmod -x *
|
||
|
|
||
|
%install
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||
|
cp -p hyph_ku.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_ku_TR.dic
|
||
|
|
||
|
pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||
|
ku_TR_aliases="ku_SY"
|
||
|
for lang in $ku_TR_aliases; do
|
||
|
ln -s hyph_ku_TR.dic hyph_$lang.dic
|
||
|
done
|
||
|
popd
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root,-)
|
||
|
%doc README_ku.txt
|
||
|
%{_datadir}/hyphen/*
|
||
|
|
||
|
%changelog
|
||
|
* Thu May 28 2009 Caolan McNamara <caolanm@redhat.com> - 0.21-1
|
||
|
- initial version
|