+
+%define ver .30
+
Summary: Gnome frontend to the Aspell library
+Summary(pl): Frontend Gnome do biblioteki aspell
Name: gaspell
-Version: .28.5
+Version: 0%{ver}
Release: 1
License: GPL
-Group: Utilities/Text
-Group(fr): Utilitaires/Texte
-Group(pl): Narzêdzia/Tekst
+Group: Applications/Text
Vendor: Kevin Atkinson <kevinatk@home.com>
-Source0: %{name}-%{version}.tar.gz
-URL: http://metalab.unc.edu/kevina/aspell
+Source0: http://aspell.sourceforge.net/%{name}-%{ver}.tar.gz
+URL: http://aspell.sourceforge.net/
+BuildRequires: aspell-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Requires: aspell
+
%description
Gnome frontend to the Aspell library. Or put another way a simple
spell checker that does a way better job than ispell does with coming
ispell radzi sobie z propozycjami wymienników.
%prep
-%setup -q
+%setup -q -n %{name}-%{ver}
%build
-make CXXFLAGS=$RPM_OPT_FLAGS ASPELL_PREFIX=%{_prefix}
+%{__make} CXXFLAGS="%{rpmcflags}" ASPELL_PREFIX=%{_prefix}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT%{_applnkdir}/Utilities
-install -s gaspell $RPM_BUILD_ROOT%{_bindir}
+install gaspell $RPM_BUILD_ROOT%{_bindir}
+install gaspell.desktop $RPM_BUILD_ROOT%{_applnkdir}/Utilities
%clean
rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc ChangeLog README TODO
%attr(755,root,root) %{_bindir}/gaspell
+%{_applnkdir}/Utilities/gaspell.desktop