init package
This commit is contained in:
parent
e9cd10afeb
commit
4405960eda
BIN
hyph-ca.oxt
Normal file
BIN
hyph-ca.oxt
Normal file
Binary file not shown.
40
hyphen-ca.spec
Normal file
40
hyphen-ca.spec
Normal 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
4
hyphen-ca.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: NA
|
||||||
|
src_repo: NA
|
||||||
|
tag_prefix: NA
|
||||||
|
seperator: NA
|
||||||
Loading…
x
Reference in New Issue
Block a user