diff --git a/hunspell-lt.spec b/hunspell-lt.spec new file mode 100644 index 0000000..4c8437c --- /dev/null +++ b/hunspell-lt.spec @@ -0,0 +1,33 @@ +Name: hunspell-lt +Version: 1.2.1 +Release: 20 +Summary: Lithuanian dictionaries of hunspell +License: BSD +URL: https://github.com/ispell-lt/ispell-lt +Source: http://dlc-1.uk.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 +* Fri Apr 24 2020 chengzihan - 1.2.1-20 +- Package init diff --git a/hunspell-lt.yaml b/hunspell-lt.yaml new file mode 100644 index 0000000..98f7468 --- /dev/null +++ b/hunspell-lt.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/ispell-lt/ispell-lt +version_control: github +src_repo: ispell-lt/ispell-lt +tag_prefix: "^v" +seperator: "." diff --git a/lt_LT-1.2.1.zip b/lt_LT-1.2.1.zip new file mode 100644 index 0000000..c2afcc0 Binary files /dev/null and b/lt_LT-1.2.1.zip differ