hyphen-ku/hyphen-ku.spec

48 lines
1.0 KiB
RPMSpec
Raw Normal View History

2009-05-29 15:42:02 +00:00
Name: hyphen-ku
Summary: Kurdish hyphenation rules
2009-06-12 09:31:35 +00:00
Version: 1.00
2009-05-29 15:42:02 +00:00
Release: 1%{?dist}
2009-06-12 09:31:35 +00:00
Source: http://extensions.services.openoffice.org/files/2445/4/hyph_ku.oxt
2009-05-29 15:42:02 +00:00
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
2009-06-12 09:31:35 +00:00
* Fri Jun 12 2009 Caolan McNamara <caolanm@redhat.com> - 1.00-1
- latest version
2009-05-29 15:42:02 +00:00
* Thu May 28 2009 Caolan McNamara <caolanm@redhat.com> - 0.21-1
- initial version