2024-01-05 23:45:26 +01:00
|
|
|
Name: hunspell-ur
|
2024-01-05 23:45:26 +01:00
|
|
|
Version: 0.64.1
|
2024-01-05 23:45:26 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Epoch: 1
|
|
|
|
Summary: Urdu hunspell dictionaries
|
|
|
|
Group: System/Internationalization
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 23:45:26 +01:00
|
|
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
|
|
|
URL: https://urdudictionary.codeplex.com/
|
2024-01-05 23:45:26 +01:00
|
|
|
#http://urdudictionary.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=30004#DownloadId=74761
|
|
|
|
#and click yes to License agree
|
|
|
|
Source: UrduDictionary.xpi
|
|
|
|
License: LGPL
|
|
|
|
BuildRequires: librdf
|
|
|
|
Requires: hunspell
|
|
|
|
#BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Urdu hunspell dictionaries.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c %{name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%{_bindir}/rdfproc hunspell-ur parse install.rdf
|
|
|
|
%{_bindir}/rdfproc hunspell-ur print | grep install-manifest | grep -v targetApplication | sed -e 's/.*#//' | sed -e 's/], "/: /'| sed -e 's/"}//' > CREDITS
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/myspell
|
|
|
|
cp -p dictionaries/ur.aff %{buildroot}%{_datadir}/myspell/ur_PK.aff
|
|
|
|
cp -p dictionaries/ur.dic %{buildroot}%{_datadir}/myspell/ur_PK.dic
|
|
|
|
|
|
|
|
pushd %{buildroot}%{_datadir}/myspell/
|
|
|
|
ln -s ur_PK.aff ur_IN.aff
|
|
|
|
ln -s ur_PK.dic ur_IN.dic
|
|
|
|
popd
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/myspell
|
|
|
|
%doc CREDITS
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:45:26 +01:00
|
|
|
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 0.64.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:45:26 +01:00
|
|
|
* Sun Apr 10 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.64-1mamba
|
|
|
|
- changed version number due to a typo from 0.94 to 0.64
|
|
|
|
|
|
|
|
* Tue Mar 15 2011 gil <puntogil@libero.it> 0.94-1mamba
|
|
|
|
- package created by autospec
|