hyphen-it/hyphen-it.spec

41 lines
966 B
RPMSpec
Raw Normal View History

2007-11-26 20:21:30 +00:00
Name: hyphen-it
Summary: Italian hyphenation rules
%global upstreamid 20071127
2007-11-26 20:21:30 +00:00
Version: 0.%{upstreamid}
Release: %autorelease
2018-07-07 03:29:08 +00:00
Source: http://download.services.openoffice.org/contrib/dictionaries/hyph_it_IT.zip
2007-11-26 20:21:30 +00:00
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
2023-02-23 11:01:04 +00:00
License: LGPL-2.1-or-later
2007-11-26 20:21:30 +00:00
BuildArch: noarch
Requires: hyphen
Supplements: (hyphen and langpacks-it)
2008-11-02 14:45:21 +00:00
Provides: hyphen-la = 0.%{upstreamid}-3%{?dist}
2007-11-26 20:21:30 +00:00
%description
Italian hyphenation rules.
%prep
2018-07-07 03:29:08 +00:00
%autosetup -c -n hyphen-it
2007-11-26 20:21:30 +00:00
chmod -x *
%build
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_it_IT.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
2007-11-29 08:44:09 +00:00
pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
#http://extensions.services.openoffice.org/project/dict-la uses the it_IT for Latin
#so we'll do the same
it_IT_aliases="it_CH la_VA"
2007-11-29 08:44:09 +00:00
for lang in $it_IT_aliases; do
ln -s hyph_it_IT.dic "hyph_"$lang".dic"
done
2007-11-26 20:21:30 +00:00
%files
%doc README_hyph_it_IT.txt
%{_datadir}/hyphen/*
%changelog
%autochangelog