hunspell-bn/hunspell-bn.spec

45 lines
1.0 KiB
RPMSpec
Raw Normal View History

Name: hunspell-bn
Summary: Bengali hunspell dictionaries
Version: 20050726
Release: 2%{?dist}
Source: http://hunspell.sourceforge.net/bn-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
Bengali hunspell dictionaries.
%prep
%setup -q -c -n bn-demo
iconv -f ISO-8859-1 -t UTF-8 bn/Copyright > bn/Copyright.utf8
mv bn/Copyright.utf8 bn/Copyright
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
mv bn/bn.dic bn/bn_IN.dic
mv bn/bn.aff bn/bn_IN.aff
cp -p bn/*.dic bn/*.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc bn/README bn/COPYING bn/Copyright
%{_datadir}/myspell/*
%changelog
* Sun Jan 06 2008 Parag <pnemade@redhat.com> - 20050726-2
- Added Copyright and corrected changelog version.
* Thu Jan 03 2008 Parag <pnemade@redhat.com> - 20050726-1
- Initial Fedora release