Initial Package fixes (rhbz#2075521 , rhbz#1830582)

Signed-off-by: Onuralp SEZER <thunderbirdtr@fedoraproject.org>
This commit is contained in:
Onuralp SEZER 2022-04-14 19:17:28 +03:00
parent eacc417e86
commit 863610b355
No known key found for this signature in database
GPG Key ID: 44887BE9A1D41395
3 changed files with 46 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/hunspell-tr-v1.1.0.tar.gz

44
hunspell-tr.spec Normal file
View File

@ -0,0 +1,44 @@
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
%global dict_dirname hunspell
%else
%global dict_dirname myspell
%endif
Name: hunspell-tr
Summary: Turkish hunspell dictionaries
Version: 1.1.0
License: MIT
Release: 1%{?dist}
URL: https://github.com/tdd-ai/hunspell-tr
Source: https://github.com/tdd-ai/hunspell-tr/archive/v%{version}/%{name}-v%{version}.tar.gz
BuildArch: noarch
Requires: hunspell-filesystem
Supplements: (hunspell and langpacks-tr)
%description
Turkish hunspell dictionaries.
%prep
%autosetup -p1
rm trspell10.csv
%build
# nothing to see here
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
%files
%doc README.md
%license LICENSE
%{_datadir}/%{dict_dirname}/*
%changelog
* Thu Apr 14 2022 Onuralp Sezer <thunderbirdtr@fedoraproject.org> - 1.1.0-1
- Initial Package fixes (rhbz#2075521 , rhbz#1830582)

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (hunspell-tr-v1.1.0.tar.gz) = d339392496512c9662791063dc88efa6f71669164a5926e7aeff49d099a078f1c268f4843d667228e80aecdc1cf08c7440ae639d36ba216428a3bf05b774dfe1