]> git.pld-linux.org Git - packages/aspell.git/blobdiff - aspell.spec
- updated to .33.7.1
[packages/aspell.git] / aspell.spec
index 48258a60d6ba446cb71ef1c50e6f0c3993c24c59..6c2af6509e070161d74a0f8a37a22763834346f9 100644 (file)
-Summary:       Aspell is an Open Source spell checker.
+Summary:       Aspell is an Open Source spell checker
+Summary(pl):   Aspell jest kontrolerem pisowni
 Name:          aspell
-Version:       .27.2
-Release:       3
-Serial:                1
-Copyright:     LGPL
-Group:         Utilities/Text
-Group(pl):     Narzêdzia/Tekst
-URL:           http://metalab.unc.edu/kevina/aspell
+Version:       .33.7.1
+Release:       1
+Epoch:         1
+License:       LGPL
+Group:         Applications/Text
+Group(de):     Applikationen/Text
+Group(fr):     Utilitaires/Texte
+Group(pl):     Aplikacje/Tekst
 Vendor:                Kevin Atkinson <kevinatk@home.com>
-Source:                %{name}-%{version}.tar.gz
-BuildRoot:     /tmp/%{name}-%{version}-root
+Source0:       http://metalab.unc.edu/kevina/aspell/%{name}-%{version}.tar.gz
+URL:           http://metalab.unc.edu/kevina/aspell/
+BuildRequires: libstdc++-devel
+BuildRequires: pspell-devel
+Provides:      ispell
+Obsoletes:     ispell
+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.
-
-%package       devel
+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.
+
+%description -l pl
+Aspell jest kontrolerem pisowni zaprojektowanym tak, by móc zast±piæ
+ispell'a. 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(pl):   Biblioteki i pliki nag³ówkowe dla developerów aspella
 Group:         Development/Libraries
+Group(de):     Entwicklung/Libraries
+Group(fr):     Development/Librairies
 Group(pl):     Programowanie/Biblioteki
-Serial:                %{serial}
 Requires:      %{name} = %{version}
 
-%description   devel
- Aspell is an Open Source spell checker.
+%description devel
+Aspell is an Open Source spell checker.
 
- Libraries and header files for aspell development
+Libraries and header files for aspell development.
 
-%package       static
+%description -l pl devel
+Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki i pliki
+nag³ówkowe dla developerów aspella.
+
+%package static
 Summary:       Static Libraries for aspell development
+Summary(pl):   Biblioteki statyczne dla developerów aspella
 Group:         Development/Libraries
+Group(de):     Entwicklung/Libraries
+Group(fr):     Development/Librairies
 Group(pl):     Programowanie/Biblioteki
-Serial:                %{serial}
 Requires:      %{name}-devel = %{version}
 
-%description   static
- Aspell is an Open Source spell checker.
+%description static
+Aspell is an Open Source spell checker.
+
+Static Libraries for aspell development.
 
- Static Libraries for aspell development
+%description -l pl static
+Aspell jest kontrolerem pisowni. Pakiet ten zawiera biblioteki
+statyczne dla developerów aspella.
 
 %prep
 %setup -q
 
-cp -p /usr/include/g++/stl_rope.h .
-patch <misc/stl_rope-30.diff
-
 %build
-%configure --enable-static
-make
+CFLAGS="%{rpmcflags}" CXXFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" \
+%configure %{_target_platform} \
+       --libdir=%{_datadir} \
+       --enable-shared \
+       --enable-static
+%{__make} 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -p $RPM_BUILD_ROOT
 
-make DESTDIR=$RPM_BUILD_ROOT install-strip
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       pkgdatadir=%{_datadir}/aspell \
+       libdir=%{_libdir}
+
+#cp -pr $RPM_BUILD_ROOT%{_prefix}/doc/aspell .
 
-cp -pr $RPM_BUILD_ROOT/usr/doc/aspell .
+ln -sf aspell $RPM_BUILD_ROOT%{_bindir}/ispell
+rm -rf $RPM_BUILD_ROOT%{_prefix}/{bin/run-with-aspell,share/aspell/ispell}
 
-%post -p /sbin/ldconfig
+gzip -9nf manual/manual2.lyx manual/man-text/*.txt
 
+%post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %clean
@@ -71,37 +103,17 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README TODO aspell/*
-%attr(755,root,root) /usr/bin/aspell
-%attr(755,root,root) /usr/bin/run-with-aspell
-/usr/lib/aspell
-/usr/lib/libaspell.so.*.*
+%doc README TODO manual/{*,man-text/*.txt}.gz
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/aspell
+%{_libdir}/libaspell.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) /usr/lib/libaspell.so
-/usr/include/aspell
-/usr/lib/libaspell.la
+%attr(755,root,root) %{_libdir}/libaspell.so
+%{_includedir}/aspell
+%{_libdir}/libaspell.la
 
 %files static
 %defattr(644,root,root,755)
-/usr/lib/libaspell.a
-
-%changelog
-* Fri Apr 30 1999 Artur Frysiak <wiget@pld.org.pl>
-  [.27.2-3]
-- 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}/libaspell.a
This page took 0.080489 seconds and 4 git commands to generate.