Blob Blame History Raw
%define lang bg
%define langrelease 2
Summary: Bulgarian dictionaries for Aspell
Name: aspell-%{lang}
Epoch: 50
Version: 0.50
Release: 12%{?dist}
License: GPL
Group: Applications/Text
URL: http://aspell.net/
Source:   http://prdownloads.sourceforge.net/bgoffice/aspell-%{lang}-%{version}-%{langrelease}.tar.bz2
Buildrequires: aspell >= 12:0.60
Requires: aspell >= 12:0.60
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%define debug_package %{nil}

%description
Provides the word list/dictionaries for the following: Bulgarian

%prep

%setup -q -n aspell-%{lang}-%{version}-%{langrelease}

%build
echo "ASPELL = aspell" > Makefile
echo "WORD_LIST_COMPRESS = word-list-compress" >> Makefile
cat Makefile.pre >> Makefile
make
iconv -f windows-1251 -t utf-8 <bulgarian.kbd >bulgarian.kbd

%install
rm -rf $RPM_BUILD_ROOT
make install DEST_DIR=$RPM_BUILD_ROOT \
     dictdir=${RPM_BUILD_ROOT}%{_libdir}/aspell-0.60 datadir=${RPM_BUILD_ROOT}%{_libdir}/aspell-0.60

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc COPYING Copyright
%{_libdir}/aspell-0.60/*

%changelog
* Thu Feb 22 2007 Ivana Varekova <varekova redhat com> - 50:0.50-12
- spec file cleanup

* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 50:0.50-11.2.2
- rebuild

* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 50:0.50-11.2.1
- bump again for double-long bug on ppc(64)

* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 50:0.50-11.2
- rebuilt for new gcc4.1 snapshot and glibc changes

* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt

* Fri Jul 15 2005 Ivana Varekova <varekova@redhat.com> 50:0.50-11
- fix aspell dependence

* Fri Jul 15 2005 Ivana Varekova <varekova@redhat.com> 50:0.50-10
- build with aspell-0.60.3
- convert bulgarian.kdb to utf-8

* Thu Feb 24 2005 Ivana Varekova <varekova@redhat.com> 50:0.50-8
- build new version (tarball 0.50-2), bug #142238

* Tue Oct 26 2004 Adrian Havill <havill@redhat.com> 50:0.50-4
- aspell already owns cp1251.dat (#137022)

* Tue Oct 19 2004 Adrian Havill <havill@redhat.com> 50:0.50-3
- fix version in changelog; incorrect
- fix corrupted word list; incorrect, wrong codeset (#128137)

* Wed Oct 14 2004 Adrian Havill <havill@redhat.com> 50:0.50-2
- Remove debuginfo

* Wed Aug 11 2004 Adrian Havill <havill@redhat.com> 50:0.50-1
- initial release