]> git.pld-linux.org Git - packages/aspell.git/blobdiff - aspell.spec
- check files cleanup
[packages/aspell.git] / aspell.spec
index 6f7e690570a141f058ce240922a6a254a15c58a4..42d73da91e4f38f3fa3e785cf2ae668189527f3d 100644 (file)
@@ -2,16 +2,16 @@ Summary:      GNU Aspell is an Open Source spell checker
 Summary(pl):   GNU Aspell jest kontrolerem pisowni
 Summary(pt_BR):        Verificador ortográfico
 Name:          aspell
-Version:       0.60.3
-Release:       1
+Version:       0.60.4
+Release:       3
 Epoch:         3
 License:       LGPL
-Vendor:                Kevin Atkinson <kevina@gnu.org>
 Group:         Applications/Text
 Source0:       ftp://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz
-# Source0-md5: ca44ac2fcfdc7213e03d3b5610ce141a
+# Source0-md5: 4f1737e726d66476b9c7388831305510
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-home_etc.patch
+Patch2:                %{name}-gcc4.patch
 URL:           http://aspell.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -19,6 +19,7 @@ BuildRequires:        gettext-devel
 BuildRequires: libstdc++-devel
 BuildRequires: libtool >= 2:1.5
 BuildRequires: texinfo
+Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
 Provides:      pspell = %{epoch}:%{version}-%{release}
 Obsoletes:     libaspell15
 Obsoletes:     pspell
@@ -47,12 +48,24 @@ antigo "ispell". Sua principal vantagem (sobre o Ispell) 
 sugestão de correções. Aspell inclui suporte a vários idiomas e pode
 fazer a checagem de arquivos LaTeX e HTML.
 
+%package libs
+Summary:       aspell libraries
+Summary(pl):   Biblioteki aspella
+Group:         Libraries
+Conflicts:     aspell < 0.60.4-1.2
+
+%description libs
+aspell/pspell libraries
+
+%description libs -l pl
+Biblioteki aspell/pspell.
+
 %package devel
 Summary:       Header files for aspell development
 Summary(pl):   Pliki nag³ówkowe dla programistów u¿ywaj±cych aspella
 Summary(pt_BR):        Arquivos para desenvolvimento usando Aspell
 Group:         Development/Libraries
-Requires:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
 Requires:      libstdc++-devel
 Provides:      pspell-devel = %{epoch}:%{version}-%{release}
 Obsoletes:     libaspell15-devel
@@ -97,6 +110,7 @@ aspell.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__libtoolize}
@@ -117,13 +131,14 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
 %find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post  -p /sbin/ldconfig
-%postun        -p /sbin/ldconfig
+%post  libs -p /sbin/ldconfig
+%postun        libs -p /sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
@@ -133,11 +148,14 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/pre*
 %attr(755,root,root) %{_bindir}/word-list-compress
 %attr(755,root,root) %{_bindir}/run-with-aspell
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
 %{_datadir}/aspell
-%{_libdir}/aspell
 %{_mandir}/man1/*
 
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%{_libdir}/aspell
+
 %files devel
 %defattr(644,root,root,755)
 %doc manual/aspell-dev.html
This page took 0.032066 seconds and 4 git commands to generate.