hyphen-ku/hyphen-ku.spec
cherry530 957a56f763 Fix build failed with rpm 4.18.0
Signed-off-by: cherry530 <xuping33@huawei.com>
(cherry picked from commit 0736a2142f68aca46e667cbb21c527bfe3cbb30d)
2023-02-15 15:50:13 +08:00

37 lines
878 B
RPMSpec

Name: hyphen-ku
Summary: Rules for Kurdish hyphenation
Version: 1.71.2
Release: 17
Source: https://downloads.sourceforge.net/project/aoo-extensions/2445/12/kitandin.oxt
URL: http://extensions.services.openoffice.org/project/kitandin
License: GPLv2+ or LGPLv2+
BuildArch: noarch
Requires: hyphen
Supplements: (hyphen and langpacks-ku)
%description
Rules for Kurdish hyphenation.
%prep
%autosetup -c -n hyphen-ku -p1
%build
chmod -x *.dic *.txt
%install
install -Dp hyph_ku.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_ku_TR.dic
cd $RPM_BUILD_ROOT/%{_datadir}/hyphen
ln -s hyph_ku_TR.dic hyph_ku_SY.dic
%files
%doc README_ku.txt
%{_datadir}/hyphen/*
%changelog
* Wed Feb 15 2023 xu_ping <xuping33@h-partners.com> - 1.71.2-17
- Fix build failed with rpm 4.18.0
* Thu Apr 23 2020 wutao <wutao61@huawei.com> - 1.71.2-16
- Package init