37 lines
927 B
RPMSpec
37 lines
927 B
RPMSpec
Name: hunspell-lt
|
|
Version: 1.2.1
|
|
Release: 21
|
|
Summary: Lithuanian dictionaries of hunspell
|
|
License: BSD
|
|
URL: https://github.com/ispell-lt/ispell-lt
|
|
Source: https://dlc.openindiana.org/oi/jds/downloads/sources/lt_LT-%{version}.zip
|
|
BuildArch: noarch
|
|
Requires: hunspell
|
|
|
|
%description
|
|
Lithuanian dictionaries of hunspell.
|
|
|
|
%prep
|
|
%autosetup -n lt_LT-%{version} -pq
|
|
|
|
%build
|
|
chmod -x *
|
|
tr -d '\r' < INSTRUKCIJOS.txt > INSTRUKCIJOS.txt.new
|
|
touch -r INSTRUKCIJOS.txt INSTRUKCIJOS.txt.new
|
|
mv -f INSTRUKCIJOS.txt.new INSTRUKCIJOS.txt
|
|
|
|
%install
|
|
install -d $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
install -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
|
%files
|
|
%doc README.EN INSTRUKCIJOS.txt
|
|
%{_datadir}/myspell/*
|
|
|
|
%changelog
|
|
* Mon Nov 21 2022 caodongxia <caodongxia@h-partners.com> - 1.2.1-21
|
|
- Modify invalid source0
|
|
|
|
* Fri Apr 24 2020 chengzihan <chengzihan2@huawei.com> - 1.2.1-20
|
|
- Package init
|