commit
4df9c636ac
36
hunspell-ur.spec
Normal file
36
hunspell-ur.spec
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
Name: hunspell-ur
|
||||||
|
Version: 0.64
|
||||||
|
Release: 16
|
||||||
|
Summary: Hunspell dictionaries for Urdu
|
||||||
|
License: LGPLv2+
|
||||||
|
URL: http://urdudictionary.codeplex.com
|
||||||
|
source0: https://download.informer.com/win-1192698625-744a85ee-689fa894/urdudictionary.xpi
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: redland
|
||||||
|
Requires: hunspell
|
||||||
|
Supplements: (hunspell and langpacks-ur)
|
||||||
|
%description
|
||||||
|
Hunspell dictionaries for Urdu.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -c -n hunspell-ur -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
rdfproc hunspell-ur parse install.rdf
|
||||||
|
rdfproc hunspell-ur print | grep install-manifest | grep -v targetApplication | sed -e 's/.*#//' | sed -e 's/], "/: /'| sed -e 's/"}//' > CREDITS
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -Dp dictionaries/ur.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/ur_PK.aff
|
||||||
|
install -Dp dictionaries/ur.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/ur_PK.dic
|
||||||
|
cd $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
||||||
|
ln -s ur_PK.aff ur_IN.aff
|
||||||
|
ln -s ur_PK.dic ur_IN.dic
|
||||||
|
cd -
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc CREDITS
|
||||||
|
%{_datadir}/myspell/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu May 14 2020 huanghaitao <huanghaitao8@huawei.com> - 0.64-16
|
||||||
|
- package init
|
||||||
4
hunspell-ur.yaml
Normal file
4
hunspell-ur.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: NA
|
||||||
|
src_repo: NA
|
||||||
|
tag_prefix: NA
|
||||||
|
seperator: NA
|
||||||
BIN
urdudictionary.xpi
Normal file
BIN
urdudictionary.xpi
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user