1cc96fbf62
Thu Jan 03 2008 Parag <pnemade@redhat.com> - 20050726-1 - Initial Fedora release
45 lines
1001 B
RPMSpec
45 lines
1001 B
RPMSpec
Name: hunspell-hi
|
|
Summary: Hindi hunspell dictionaries
|
|
Version: 20050726
|
|
Release: 2%{?dist}
|
|
Source: http://hunspell.sourceforge.net/hi-demo.tar.gz
|
|
Group: Applications/Text
|
|
URL: http://hunspell.sourceforge.net
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
License: GPLv2+
|
|
BuildArch: noarch
|
|
|
|
Requires: hunspell
|
|
|
|
%description
|
|
Hindi hunspell dictionaries.
|
|
iconv -f ISO-8859-1 -t UTF-8 hi/Copyright > hi/Copyright.utf8
|
|
mv hi/Copyright.utf8 hi/Copyright
|
|
|
|
%prep
|
|
%setup -q -c -n hi-demo
|
|
|
|
%build
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
mv hi/hi.dic hi/hi_IN.dic
|
|
mv hi/hi.aff hi/hi_IN.aff
|
|
cp -p hi/*.dic hi/*.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc hi/README hi/COPYING hi/Copyright
|
|
%{_datadir}/myspell/*
|
|
|
|
%changelog
|
|
* Sun Jan 06 2008 Parag <pnemade@redhat.com> - 20050726-2
|
|
- Added Copyright
|
|
|
|
* Thu Jan 03 2008 Parag <pnemade@redhat.com> - 20050726-1
|
|
- Initial Fedora release
|