Initial Package fixes (rhbz#2075521 , rhbz#1830582)
Signed-off-by: Onuralp SEZER <thunderbirdtr@fedoraproject.org>
This commit is contained in:
parent
eacc417e86
commit
863610b355
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/hunspell-tr-v1.1.0.tar.gz
|
44
hunspell-tr.spec
Normal file
44
hunspell-tr.spec
Normal 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)
|
Loading…
Reference in New Issue
Block a user