]> git.pld-linux.org Git - packages/aspell.git/blobdiff - aspell.spec
- security -buffer-fix.patch obtained from gentoo
[packages/aspell.git] / aspell.spec
index bb1cdd560a1549f85d4bdcd5314663e9e98b0251..e8ade2a4846a308d8c40b52878dbe585cebadcf7 100644 (file)
@@ -1,24 +1,28 @@
 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.50.2
-Release:       1
+Version:       0.50.5
+Release:       2
 Epoch:         2
 License:       LGPL
 Group:         Applications/Text
 Vendor:                Kevin Atkinson <kevina@gnu.org>
-Source0:       ftp://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz
-Patch0:                %{name}-libtool.patch
+Source0:       http://aspell.net/%{name}-%{version}.tar.gz
+# Source0-md5: 14403d2ea5ded5d3fc9bb259bf65aab5
+# Security patch from gentoo: http://www.gentoo.org/cgi-bin/viewcvs.cgi/app-text/aspell/files/aspell-buffer-fix.patch
+# ref.: http://securitytracker.com/alerts/2004/Jun/1010435.html
+Patch0:                %{name}-buffer-fix.patch
 URL:           http://aspell.net/
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: gettext-devel
 BuildRequires: libstdc++-devel
-BuildRequires: libtool
-BuildConflicts:        aspell-devel < 0.50
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Obsoletes:     libaspell10
-Obsoletes:     pspell
+BuildRequires: libtool >= 2:1.5
 Provides:      pspell = %{epoch}:%{version}-%{release}
+Obsoletes:     libaspell15
+Obsoletes:     pspell
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 GNU Aspell is a Free and Open Source spell checker designed to
@@ -37,14 +41,21 @@ zast
 angielski. Interfejs aspella napisany zosta³ w C++, a interfejsy w
 Perlu i C s± aktualnie rozwijane.
 
+%description -l pt_BR
+GNU Aspell é um verificador ortográfico criado para substituir o
+antigo "ispell". Sua principal vantagem (sobre o Ispell) é uma melhor
+sugestão de correções. Aspell inclui suporte a vários idiomas e pode
+fazer a checagem de arquivos LaTeX e HTML.
+
 %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} = %{version}
-Obsoletes:     libaspell10-devel
-Obsoletes:     pspell-devel
+Requires:      %{name} = %{epoch}:%{version}-%{release}
 Provides:      pspell-devel = %{epoch}:%{version}-%{release}
+Obsoletes:     libaspell15-devel
+Obsoletes:     pspell-devel
 
 %description devel
 Aspell is an Open Source spell checker. This package contains header
@@ -54,13 +65,19 @@ files for aspell development.
 Aspell jest kontrolerem pisowni. Ten pakiet zawiera pliki nag³ówkowe
 dla programistów u¿ywaj±cych bibliotek aspella.
 
+%description devel -l pt_BR
+Aspell é um corretor ortográfico. O pacote -devel inclui bibliotecas
+dinâmicas e arquivos de inclusão necessários para o desenvolvimento
+utilizando o aspell.
+
 %package static
 Summary:       Static libraries for aspell development
 Summary(pl):   Biblioteki statyczne aspella
+Summary(pt_BR):        Bibliotecas estáticas para desenvolvimento usando Aspell
 Group:         Development/Libraries
-Requires:      %{name}-devel = %{version}
-Obsoletes:     pspell-static
+Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
 Provides:      pspell-static = %{epoch}:%{version}-%{release}
+Obsoletes:     pspell-static
 
 %description static
 Aspell is an Open Source spell checker. This package contains static
@@ -70,15 +87,20 @@ aspell libraries.
 Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki
 statyczne aspella.
 
+%description static -l pt_BR
+Aspell é um corretor ortográfico. O pacote -devel-static inclui as
+bibliotecas estáticas necessárias para o desenvolvimento utilizando o
+aspell.
+
 %prep
 %setup -q
 %patch0 -p1
 
 %build
-#%{__libtoolize}
-#%{__aclocal}
-#%{__autoconf}
-#%{__automake}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure \
        --enable-shared \
        --enable-static
@@ -87,7 +109,6 @@ statyczne aspella.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT%{_libdir}/aspell
 
 %{__make} install \
@@ -104,20 +125,18 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README manual/man-html/*.{html,png,css}
-%attr(755,root,root) %{_bindir}/a*
-%attr(755,root,root) %{_bindir}/w*
-%attr(755,root,root) %{_libdir}/lib*.so.*
-%attr(755,root,root) %{_libdir}/lib*-common-*.so
+%attr(755,root,root) %{_bindir}/aspell*
+%attr(755,root,root) %{_bindir}/word-list-compress
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
 %{_datadir}/aspell
 %dir %{_libdir}/aspell
 
 %files devel
 %defattr(644,root,root,755)
 %doc manual/dev-html/*.{html,png,css}
-%attr(755,root,root) %{_bindir}/p*
+%attr(755,root,root) %{_bindir}/pspell-config
 %attr(755,root,root) %{_libdir}/lib*.so
-%exclude %{_libdir}/lib*-common-*.so
-%attr(755,root,root) %{_libdir}/lib*.la
+%{_libdir}/lib*.la
 %{_includedir}/pspell
 %{_includedir}/*.h
 
This page took 0.032786 seconds and 4 git commands to generate.