diff --git a/hyph-ca.oxt b/hyph-ca.oxt new file mode 100644 index 0000000..2681ef6 Binary files /dev/null and b/hyph-ca.oxt differ diff --git a/hyphen-ca.spec b/hyphen-ca.spec new file mode 100644 index 0000000..72aa675 --- /dev/null +++ b/hyphen-ca.spec @@ -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 - 1:0.9.3-16 +- Package init diff --git a/hyphen-ca.yaml b/hyphen-ca.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/hyphen-ca.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA