]> git.pld-linux.org Git - packages/gaspell.git/blobdiff - gaspell.spec
- new %%doc
[packages/gaspell.git] / gaspell.spec
index 7711dc250775c06fe0478029014d1333fc8b4dc2..707f27b50f3d267e7752487d6a6a3f6a1bc6b0d4 100644 (file)
@@ -1,19 +1,22 @@
+
+%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:         Applications/Text
-Group(de):     Applikationen/Text
-Group(fr):     Utilitaires/Texte
-Group(pl):     Aplikacje/Tekst
 Vendor:                Kevin Atkinson <kevinatk@home.com>
-Source0:       http://aspell.sourceforge.net/%{name}-%{version}.tar.gz
+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
 
+%define                _prefix         /usr/X11R6
+
 %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
@@ -25,7 +28,7 @@ jest to narzedzie do sprawdzania pisownie kt
 ispell radzi sobie z propozycjami wymienników.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{ver}
 
 %build
 %{__make} CXXFLAGS="%{rpmcflags}" ASPELL_PREFIX=%{_prefix}
@@ -33,15 +36,16 @@ ispell radzi sobie z propozycjami wymiennik
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT%{_applnkdir}/Utilities
 
 install gaspell $RPM_BUILD_ROOT%{_bindir}
-
-gzip -9nf ChangeLog README TODO
+install gaspell.desktop $RPM_BUILD_ROOT%{_applnkdir}/Utilities
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog.gz README.gz TODO.gz
+%doc ChangeLog README TODO
 %attr(755,root,root) %{_bindir}/gaspell
+%{_applnkdir}/Utilities/gaspell.desktop
This page took 0.209243 seconds and 4 git commands to generate.