diff --git a/aspell.spec b/aspell.spec index 3dfbdb2..d78f604 100644 --- a/aspell.spec +++ b/aspell.spec @@ -2,7 +2,7 @@ Name: aspell Version: 0.60.6.1 -Release: 1mamba +Release: 2mamba Summary: A Free and Open Source interactive spelling checker program Group: System/Internationalization Vendor: openmamba @@ -11,7 +11,14 @@ Packager: Silvan Calarco URL: http://aspell.net Source: ftp://ftp.gnu.org/gnu/aspell/aspell-%{version}.tar.gz License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libncurses-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END BuildRequires: gettext-devel +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires(post):%{__install_info} BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -26,12 +33,24 @@ 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. -%package devel +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +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. + +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel Summary: Devel package for aspell Group: Development/Libraries -Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} -%description devel +%description -n lib%{name}-devel 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. @@ -57,18 +76,18 @@ This is the development package. %post %install_info %{name}.info -/sbin/ldconfig - -%postun -p /sbin/ldconfig %preun %uninstall_info %{name}.info exit 0 -%post devel +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%post -n lib%{name}-devel %install_info %{name}-dev.info -%preun devel +%preun -n lib%{name}-devel %uninstall_info %{name}-dev.info exit 0 @@ -82,7 +101,18 @@ exit 0 %{_bindir}/prezip-bin %{_bindir}/run-with-aspell %{_bindir}/word-list-compress -%{_libdir}/*.so.* +%{_infodir}/aspell.* +%{_mandir}/man1/aspell-import.* +%{_mandir}/man1/aspell.* +%{_mandir}/man1/prezip-bin.* +%{_mandir}/man1/run-with-aspell.* +%{_mandir}/man1/word-list-compress.* +%doc COPYING README TODO + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libaspell.so.* +%{_libdir}/libpspell.so.* %{_libdir}/%{name}-%{majversion}/ispell %{_libdir}/%{name}-%{majversion}/spell %{_libdir}/%{name}-%{majversion}/*.amf @@ -92,25 +122,24 @@ exit 0 %{_libdir}/%{name}-%{majversion}/*.info %{_libdir}/%{name}-%{majversion}/*.la %{_libdir}/%{name}-%{majversion}/*.so -%{_infodir}/aspell.* -%{_mandir}/man1/aspell-import.* -%{_mandir}/man1/aspell.* -%{_mandir}/man1/prezip-bin.* -%{_mandir}/man1/run-with-aspell.* -%{_mandir}/man1/word-list-compress.* -%doc COPYING README TODO -%files devel +%files -n lib%{name}-devel %defattr(-,root,root) %{_bindir}/pspell-config -%{_libdir}/*.la -%{_libdir}/*.so +%{_libdir}/libaspell.la +%{_libdir}/libpspell.la +%{_libdir}/libaspell.so +%{_libdir}/libpspell.so %{_includedir}/aspell.h +%dir %{_includedir}/pspell %{_includedir}/pspell/pspell.h %{_infodir}/aspell-dev.* %{_mandir}/man1/pspell-config.* %changelog +* Sat Oct 25 2014 Silvan Calarco 0.60.6.1-2mamba +- add library package + * Sun Jul 10 2011 Automatic Build System 0.60.6.1-1mamba - automatic update by autodist