]> git.pld-linux.org Git - packages/aspell.git/blobdiff - aspell.spec
- updated to 0.60.8.1
[packages/aspell.git] / aspell.spec
index 399611c924048a04ae79e4d177f71c223194e8e6..09d169840c1a50a5d32c7402b48f44c6ce69796a 100644 (file)
-Summary:       Aspell is an Open Source spell checker.
+Summary:       GNU Aspell is an Open Source spell checker
+Summary(pl.UTF-8):     GNU Aspell jest kontrolerem pisowni
+Summary(pt_BR.UTF-8):  Verificador ortográfico
 Name:          aspell
-Version:       .27.2
-Release:       3
-Serial:                1
-Copyright:     LGPL
-Group:         Utilities/Text
-Group(pl):     Narzêdzia/Tekst
-Vendor:                Kevin Atkinson <kevinatk@home.com>
-Source:                http://metalab.unc.edu/kevina/aspell/%{name}-%{version}.tar.gz
-URL:           http://metalab.unc.edu/kevina/aspell/
-BuildPrereq:   libstdc++-devel
-Provides:      ispell
-Obsoletes:     ispell
-BuildRoot:     /tmp/%{name}-%{version}-root
+Version:       0.60.8.1
+Release:       1
+Epoch:         3
+License:       LGPL v2 or v2.1
+Group:         Applications/Text
+Source0:       https://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz
+# Source0-md5: 187bd142f522ada555c7aa6b9cbf56e6
+Patch0:                %{name}-info.patch
+Patch1:                %{name}-ac.patch
+#Patch2:               %{name}-home_etc.patch
+URL:           http://aspell.net/
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake
+BuildRequires: gettext-tools >= 0.19.3
+BuildRequires: libstdc++-devel
+BuildRequires: libtool >= 2:1.5
+BuildRequires: ncurses-devel
+BuildRequires: texinfo
+Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
+Provides:      pspell = %{epoch}:%{version}-%{release}
+Obsoletes:     libaspell15
+Obsoletes:     pspell < 2:13
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Aspell is an Open Source spell checker designed to eventually replace
-Ispell. Its main feature is that it does a much better job of coming up with
-possible suggestions than Ispell does. In fact recent tests shows that it
-even does better than Microsoft Word 97's spell checker in some cases. In
-addition it has both compile time and run time support for other non English
-languages. Aspell also doubles as a powerful C++ library with C and Perl
-interfaces in the works.
+GNU Aspell is a Free and Open Source spell checker designed to
+eventually replace Ispell. It can either be used as a library or as an
+independent spell checker. Its main feature is that it does a much
+better job of coming up with possible suggestions than just about any
+other spell checker out there for the English language, including
+Ispell and Microsoft Word. It also has many other technical
+enhancements over Ispell such as using shared memory for dictionaries
+and intelligently handling personal dictionaries when more than one
+Aspell process is open at once.
+
+%description -l pl.UTF-8
+GNU Aspell jest kontrolerem pisowni zaprojektowanym tak, by móc
+zastąpić ispella. Dodatkowo zawiera wsparcie dla innych języków niż
+angielski. Interfejs aspella napisany został w C++, a interfejsy w
+Perlu i C są aktualnie rozwijane.
+
+%description -l pt_BR.UTF-8
+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 libs
+Summary:       aspell libraries
+Summary(pl.UTF-8):     Biblioteki aspella
+Group:         Libraries
+Conflicts:     aspell < 0.60.4-1.2
+
+%description libs
+aspell/pspell libraries
+
+%description libs -l pl.UTF-8
+Biblioteki aspell/pspell.
 
 %package devel
-Summary:       Libraries and header files for aspell development
+Summary:       Header files for aspell development
+Summary(pl.UTF-8):     Pliki nagłówkowe dla programistów używających aspella
+Summary(pt_BR.UTF-8):  Arquivos para desenvolvimento usando Aspell
 Group:         Development/Libraries
-Group(pl):     Programowanie/Biblioteki
-Serial:                %{serial}
-Requires:      %{name} = %{version}
+Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
+Requires:      libstdc++-devel
+Provides:      pspell-devel = %{epoch}:%{version}-%{release}
+Obsoletes:     libaspell15-devel
+Obsoletes:     pspell-devel < 2:13
 
 %description devel
-Aspell is an Open Source spell checker.
+Aspell is an Open Source spell checker. This package contains header
+files for aspell development.
 
-Libraries and header files for aspell development
+%description devel -l pl.UTF-8
+Aspell jest kontrolerem pisowni. Ten pakiet zawiera pliki nagłówkowe
+dla programistów używających bibliotek aspella.
+
+%description devel -l pt_BR.UTF-8
+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:       Static libraries for aspell development
+Summary(pl.UTF-8):     Biblioteki statyczne aspella
+Summary(pt_BR.UTF-8):  Bibliotecas estáticas para desenvolvimento usando Aspell
 Group:         Development/Libraries
-Group(pl):     Programowanie/Biblioteki
-Serial:                %{serial}
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
+Provides:      pspell-static = %{epoch}:%{version}-%{release}
+Obsoletes:     pspell-static < 2:13
 
 %description static
-Aspell is an Open Source spell checker.
+Aspell is an Open Source spell checker. This package contains static
+aspell libraries.
+
+%description static -l pl.UTF-8
+Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki
+statyczne aspella.
 
-Static Libraries for aspell development
+%description static -l pt_BR.UTF-8
+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
-
-cp -p %{_includedir}/g++/stl_rope.h .
-patch <misc/stl_rope-30.diff
+%patch0 -p1
+%patch1 -p1
+# home_etc patch is fubar. If HOME_ETC var is not defined, it tries to open
+# such files:
+# open("$HOME|.//.aspell.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
+# Disabled until someone fixes it.
+#%%patch2 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-CXXFLAGS="$RPM_OPT_FLAGS" \
-./configure %{_target_platform} \
-       --prefix=/usr \
-       --libdir=%{_datadir} \
-       --enable-shared \
-       --enable-static
-make 
+%{__gettextize}
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__automake}
+%configure \
+       --enable-static \
+       --enable-pkgdatadir=%{_datadir}/aspell \
+       --enable-pkglibdir=%{_libdir}/aspell
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       pkgdatadir=%{_datadir}/aspell \
-       libdir=%{_libdir}
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-#cp -pr $RPM_BUILD_ROOT/usr/doc/aspell .
+rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
 
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
-strip $RPM_BUILD_ROOT%{_bindir}/* || :
+%post  libs -p /sbin/ldconfig
+%postun        libs -p /sbin/ldconfig
 
-ln -sf aspell $RPM_BUILD_ROOT%{_bindir}/ispell
-rm -rf $RPM_BUILD_ROOT/usr/{bin/run-with-aspell,share/aspell/ispell}
+%post  -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-gzip -9nf manual/manual2.lyx manual/man-text/*.txt
+%postun        -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post  devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+%postun        devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc README TODO manual/{*,man-text/*.txt}.gz
-%attr(755,root,root) %{_bindir}/*
-%{_datadir}/aspell
-%{_libdir}/libaspell.so.*.*
+%doc README manual/aspell.html
+%{_infodir}/aspell.info*
+%attr(755,root,root) %{_bindir}/aspell
+%attr(755,root,root) %{_bindir}/aspell-import
+%attr(755,root,root) %{_bindir}/pre*
+%attr(755,root,root) %{_bindir}/run-with-aspell
+%attr(755,root,root) %{_bindir}/word-list-compress
+%dir %{_datadir}/aspell
+%attr(755,root,root) %{_datadir}/aspell/ispell
+%attr(755,root,root) %{_datadir}/aspell/spell
+%{_datadir}/aspell/*.cmap
+%{_datadir}/aspell/*.cset
+%{_datadir}/aspell/*.kbd
+%{_mandir}/man1/aspell.1*
+%{_mandir}/man1/aspell-import.1*
+%{_mandir}/man1/pre*.1*
+%{_mandir}/man1/run-with-aspell.1*
+%{_mandir}/man1/word-list-compress.1*
+
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libaspell.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libaspell.so.15
+%attr(755,root,root) %{_libdir}/libpspell.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libpspell.so.15
+%{_libdir}/aspell
 
-%files devel
+%files devel
 %defattr(644,root,root,755)
+%doc manual/aspell-dev.html
+%attr(755,root,root) %{_bindir}/pspell-config
 %attr(755,root,root) %{_libdir}/libaspell.so
-%{_includedir}/aspell
+%attr(755,root,root) %{_libdir}/libpspell.so
 %{_libdir}/libaspell.la
+%{_libdir}/libpspell.la
+%{_includedir}/pspell
+%{_includedir}/aspell.h
+%{_mandir}/man1/pspell-config.1*
+%{_infodir}/aspell-dev.info*
 
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libaspell.a
-
-%changelog
-* Mon May  3 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [.27.2-3]
-- added BuildPrereq rules,
-- moved aspell dictionaries to %{_datadir}/aspell,
-- added stripping shared libraries,
-- "manke install" with using $DESTDIR,
-- added using $RPM_OPT_FLAGS in CXXFLAGS on compile time,
-- added %{_bindir}/ispell symplink to aspell,
-- added gzipping %doc,
-- added Provides and Obsoletes ispell (asspel is full replacement ispell but
-  much faster and beter).
-
-* Fri Apr 30 1999 Artur Frysiak <wiget@pld.org.pl>
-- added static subpackage
-- full %%attr description
-- partial pl translation
-
-* Tue Mar  2 1999 Ryan Weaver <ryanw@infohwy.com>
-  [aspell-.27.2-2]
-- Changes from .27.1 to .27.2 (Mar 1, 1999)
-- Fixed a major bug that caused aspell to dump core when used
-  without any arguments
-- Fixed another major bug that caused aspell to do nothing when used
-  in interactive mode.
-- Added an option to exit in Aspell's interactive mode.
-- Removed some old documentation files from the distribution.
-- Minor changes on to the section on using Aspell with egcs.
-- Minor changes to remove -Wall warnings.
+%{_libdir}/libpspell.a
This page took 0.406745 seconds and 4 git commands to generate.