]> git.pld-linux.org Git - packages/aspell.git/blobdiff - aspell.spec
- obsolete
[packages/aspell.git] / aspell.spec
index 2e7d8698b2f32aca6358c8dc8a85cb70f92cfd9f..b2fb1cbdbed5b22e80efe7dc8f0df8e9608896e9 100644 (file)
-Summary:       Aspell is an Open Source spell checker.
+Summary:       GNU Aspell is an Open Source spell checker
+Summary(pl):   GNU Aspell jest kontrolerem pisowni
 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/
-Provides:      ispell
-Obsoletes:     ispell
-BuildRoot:     /tmp/%{name}-%{version}-root
+Version:       0.50.1
+Release:       1
+Epoch:         2
+License:       LGPL
+Group:         Applications/Text
+Vendor:                Kevin Atkinson <kevina@gnu.org>
+Source0:       ftp://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz
+URL:           http://aspell.net/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libstdc++-devel
+BuildRequires: libtool
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Obsoletes:     libaspell10
+Obsoletes:     pspell
+Provides:      pspell = %{epoch}:%{version}-%{release}
 
 %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
+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.
 
 %package devel
-Summary:       Libraries and header files for aspell development
+Summary:       Header files for aspell development
+Summary(pl):   Pliki nag³ówkowe dla programistów u¿ywaj±cych aspella
 Group:         Development/Libraries
-Group(pl):     Programowanie/Biblioteki
-Serial:                %{serial}
 Requires:      %{name} = %{version}
+Obsoletes:     libaspell10-devel
+Obsoletes:     pspell-devel
+Provides:      pspell-devel = %{epoch}:%{version}-%{release}
 
 %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
+Aspell jest kontrolerem pisowni. Ten pakiet zawiera pliki nag³ówkowe
+dla programistów u¿ywaj±cych bibliotek aspella.
 
 %package static
-Summary:       Static Libraries for aspell development
+Summary:       Static libraries for aspell development
+Summary(pl):   Biblioteki statyczne aspella
 Group:         Development/Libraries
-Group(pl):     Programowanie/Biblioteki
-Serial:                %{serial}
 Requires:      %{name}-devel = %{version}
+Obsoletes:     pspell-static
+Provides:      pspell-static = %{epoch}:%{version}-%{release}
 
 %description static
-Aspell is an Open Source spell checker.
+Aspell is an Open Source spell checker. This package contains static
+aspell libraries.
 
-Static Libraries for aspell development
+%description static -l pl
+Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki
+statyczne aspella.
 
 %prep
 %setup -q
 
-cp -p /usr/include/g++/stl_rope.h .
-patch <misc/stl_rope-30.diff
-
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-CXXFLAGS="$RPM_OPT_FLAGS" \
-./configure \
-       --prefix=/usr \
-       --libdir=/usr/share \
+# don't regenerate that stuff - cvs version of libtool is required for that
+# (1.4.2 is too old)
+#%%{__libtoolize}
+#%%{__aclocal}
+#%%{__autoconf}
+#%%{__automake}
+%configure \
        --enable-shared \
        --enable-static
-make 
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make install-strip \
-       DESTDIR=$RPM_BUILD_ROOT \
-       pkgdatadir=/usr/share/aspell \
-       libdir=/usr/lib
-
-#cp -pr $RPM_BUILD_ROOT/usr/doc/aspell .
+install -d $RPM_BUILD_ROOT%{_libdir}/aspell
 
-strip --strip-unneeded $RPM_BUILD_ROOT/usr/lib/lib*.so.*.*
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-ln -sf aspell $RPM_BUILD_ROOT/usr/bin/ispell
-rm -rf $RPM_BUILD_ROOT/usr/{bin/run-with-aspell,share/aspell/ispell}
+rm -f $RPM_BUILD_ROOT{%{_bindir}/run-with-aspell,%{_datadir}/aspell/{i,}spell}
 
-gzip -9nf manual/manual2.lyx manual/man-text/*.txt
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(644,root,root,755)
-%doc README TODO manual/{*,man-text/*.txt}.gz
-%attr(755,root,root) /usr/bin/*
-/usr/share/aspell
-/usr/lib/libaspell.so.*.*
-
-%files devel
+%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
+%{_datadir}/aspell
+%dir %{_libdir}/aspell
+
+%files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) /usr/lib/libaspell.so
-/usr/include/aspell
-/usr/lib/libaspell.la
+%doc manual/dev-html/*.{html,png,css}
+%attr(755,root,root) %{_bindir}/p*
+%attr(755,root,root) %{_libdir}/lib*.so
+%exclude %{_libdir}/lib*-common-*.so
+%attr(755,root,root) %{_libdir}/lib*.la
+%{_includedir}/pspell
+%{_includedir}/*.h
 
 %files static
 %defattr(644,root,root,755)
-/usr/lib/libaspell.a
-
-%changelog
-* Mon May  3 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [.27.2-3]
-- moved aspell dictionaries to /usr/share/aspell,
-- added stripping shared libraries,
-- "manke install" with using $DESTDIR,
-- added using $RPM_OPT_FLAGS in CXXFLAGS on compile time,
-- added /usr/bin/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}/lib*.a
This page took 0.128162 seconds and 4 git commands to generate.