]> git.pld-linux.org Git - packages/gaspell.git/blobdiff - gaspell.spec
- removed two lines with define
[packages/gaspell.git] / gaspell.spec
index 8d5c59f312f5b3d2d15f85167578635edf684124..99e29e1aa8c49017641de5235a532f07d18793cc 100644 (file)
@@ -1,35 +1,50 @@
-Summary:       Gnome frontend to the Aspell library.
+
+%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
 Vendor:                Kevin Atkinson <kevinatk@home.com>
-Source:                %{name}-%{version}.tar.gz
-URL:           http://metalab.unc.edu/kevina/aspell
-BuildRoot:     /tmp/%{name}-%{version}-root
+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 up with
-suggestions.
+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
+up with suggestions.
+
+%description -l pl
+Gaspell to interfejs (frontend) do biblioteki Aspell. Innymi s³owy
+jest to narzedzie do sprawdzania pisownie które o wiele lepiej ni¿
+ispell radzi sobie z propozycjami wymienników.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{ver}
 
 %build
-make CXXFLAGS=$RPM_OPT_FLAGS ASPELL_PREFIX=/usr
+%{__make} CXXFLAGS="%{rpmcflags}" ASPELL_PREFIX=%{_prefix}
 
 %install
-if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
-install -d $RPM_BUILD_ROOT/usr/bin
-install -s -m 755 gaspell $RPM_BUILD_ROOT/usr/bin
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT%{_applnkdir}/Utilities
+
+install gaspell $RPM_BUILD_ROOT%{_bindir}
+install gaspell.desktop $RPM_BUILD_ROOT%{_applnkdir}/Utilities
 
 %clean
-if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
+rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog README TODO
-/usr/bin/gaspell
+%attr(755,root,root) %{_bindir}/gaspell
+%{_applnkdir}/Utilities/gaspell.desktop
This page took 0.152973 seconds and 4 git commands to generate.