diff --git a/.cvsignore b/.cvsignore index e69de29..278277a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +bn-demo.tar.gz diff --git a/hunspell-bn.spec b/hunspell-bn.spec new file mode 100644 index 0000000..228aa34 --- /dev/null +++ b/hunspell-bn.spec @@ -0,0 +1,44 @@ +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 - 20050726-2 +- Added Copyright and corrected changelog version. + +* Thu Jan 03 2008 Parag - 20050726-1 +- Initial Fedora release diff --git a/sources b/sources index e69de29..f124bbd 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1b0780225cae4128843cf8bb48ae78c8 bn-demo.tar.gz