!1 init package

Merge pull request !1 from 薄皮小笼包/master
This commit is contained in:
openeuler-ci-bot 2020-07-17 10:31:34 +08:00 committed by Gitee
commit 769ebf4f66
3 changed files with 44 additions and 0 deletions

BIN
hyph-ca.oxt Normal file

Binary file not shown.

40
hyphen-ca.spec Normal file
View File

@ -0,0 +1,40 @@
Name: hyphen-ca
Summary: Rules for Catalan hyphenation
Epoch: 1
Version: 0.9.3
Release: 16
Source: https://downloads.sourceforge.net/project/aoo-extensions/2010/7/hyph-ca.oxt
URL: http://extensions.services.openoffice.org/project/ca_hyph
License: GPLv3
BuildArch: noarch
Requires: hyphen
Supplements: (hyphen and langpacks-ca)
%description
Rules for Catalan hyphenation.
%prep
%autosetup -c -p1
%build
for i in release-note_en.txt release-note_ca.txt; do
tr -d '\r' < $i > $i.new
touch -r $i $i.new
mv -f $i.new $i
done
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_ca_ANY.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_ca_ES.dic
cd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
ln -s hyph_ca_ES.dic hyph_ca_AD.dic
ln -s hyph_ca_ES.dic hyph_ca_FR.dic
ln -s hyph_ca_ES.dic hyph_ca_IT.dic
%files
%doc release-note_en.txt release-note_ca.txt LICENSES-en.txt LLICENCIES-ca.txt
%{_datadir}/hyphen/*
%changelog
* Wed Apr 29 2020 wutao <wutao61@huawei.com> - 1:0.9.3-16
- Package init

4
hyphen-ca.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: NA
src_repo: NA
tag_prefix: NA
seperator: NA