Summary: Portable Spell Checker Interface Library. Name: pspell Version: 0.12.2 Source: http://download.sourceforge.net/pspell/%{name}-.12.2.tar.gz Patch0: %{name}-%{version}-ltconf.patch Release: 2 License: LGPL Group: Applications/Text URL: http://pspell.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-root Prefix: %{_prefix} %description The Pspell library provides a generic interface to spell checker libraries installed on the system. %package devel Summary: Static libraries and header files for pspell Group: Development/Libraries Requires: %{name} = %{version} %description devel The Pspell library provides a generic interface to Spell checker libraries installed on the system. This package contains header files for Pspell. %ifarch ia64 %define stdlib lib/ia64l32 %define stdlib64 lib/ia64l64 %define liblink ../../.. %define PKG64 %{name}-%{version}-ia64l64 %define DEFCC cc %else %define stdlib lib %define liblink ../.. %define DEFCC gcc %endif %prep %ifarch ia64 %setup -q -c -n %{PKG64} %endif %setup -q -n pspell-.12.2 %patch0 -p1 -b .ltpatch %build if [[ -z "$CC" ]] then if test "X`type %{DEFCC} 2>/dev/null`" != 'X'; then export CC=%{DEFCC} else export CC=gcc fi fi export RPM_OPT_FLAGS="%{optflags} -L$RPM_BUILD_DIR/pspell-.12.2/modules/.libs -L$RPM_BUILD_DIR/pspell-.12.2/interface/.libs" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS="$RPM_OPT_FLAGS" ./configure \ --prefix=%{prefix} \ --sysconfdir=/etc --infodir=%{_infodir} \ --mandir=%{_mandir} --enable-static --enable-ltdl make %ifarch ia64 cd ../%{PKG64}/%{name}-%{version} export CC64="$CC -q64" export CC="$CC64" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS="$RPM_OPT_FLAGS" ./configure \ --prefix=%{prefix} \ --sysconfdir=/etc --infodir=%{_infodir} \ --mandir=%{_mandir} --enable-static --enable-ltdl make %endif %install rm -fr $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT %makeinstall mv $RPM_BUILD_ROOT%{prefix}/doc/pspell . rm pspell/manual.aux ( cd $RPM_BUILD_ROOT for dir in bin include share do mkdir -p usr/$dir cd usr/$dir ln -sf ../..%{prefix}/$dir/* . cd - done mkdir -p usr/%{stdlib} cd usr/%{stdlib} ln -sf %{liblink}%{prefix}/lib/* . cd - ) %ifos linux %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %endif %clean rm -fr $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README pspell/* %{prefix}/lib/*.a %{prefix}/bin/* %{prefix}/share/pspell /usr/bin/* /usr/lib/*.a /usr/share/* %files devel %defattr(-,root,root) %{prefix}/include/pspell /usr/include/pspell %{prefix}/lib/*.la /usr/lib/*.la %changelog * Tue Sep 04 2001 David Clissold - Rev 2; the /usr/lib/*.la files were symlinked nowhere. Also, - they should be in the devel package, not the main package. * Mon Jun 04 2001 David Clissold - Initial build for AIX Toolbox. * Sun May 20 2001 Trond Eivind Glomsrød - Rebuild - the last version was linked with both libltdl.so.0 and libltdl.so.3 * Fri May 11 2001 Bernhard Rosenkraenzer 0.12.1-2 - rebuild with new libltdl * Mon Apr 23 2001 Trond Eivind Glomsrød - 0.12.1 - hack to make it build - the bundled development branch version of libtool sucks. * Sun Sep 3 2000 Florian La Roche - do not include /usr/bin/* in devel package * Sat Aug 19 2000 Trond Eivind Glomsrød - 0.11.2 from the author, which fixes a couple of minor bugs. Remove old patch. - remove manual.aux file from doc files * Sun Aug 06 2000 Trond Eivind Glomsrød - renamed to 0.11.1 - epoch 2 - added patch from author to update his email address * Fri Aug 04 2000 Trond Eivind Glomsrød - update to .11.1 * Wed Jul 19 2000 Trond Eivind Glomsrød - rebuild * Wed Jul 12 2000 Prospector - automatic rebuild * Tue Jul 4 2000 Jakub Jelinek - Rebuild with new C++ * Fri Jun 30 2000 Trond Eivind Glomsrød - don't include .la files - use %%makeinstall * Mon Jun 26 2000 Trond Eivind Glomsrød - use CFLAGS and CXXFLAGS * Wed Jun 21 2000 Trond Eivind Glomsrød - add --enable-ltdl as requested by the author - copy some libtool files manually for IA64 support * Sun Jun 18 2000 Trond Eivind Glomsrød - include program in /usr/bin - update to .11.0.2 - my patch is now in the main tree and has been removed * Fri Jun 16 2000 Trond Eivind Glomsrød - escape macros in changelog. * Fri Jun 16 2000 Trond Eivind Glomsrød - include files in /usr/bin and /usr/share/pspell - updated the descriptions * Sun Jun 11 2000 Trond Eivind Glomsrød - Version .11.0.1 - use %%makeinstall and %%{_tmppath} - updated patch * Fri Jun 09 2000 Trond Eivind Glomsrød - moved to main distribution: ispell dies - patched to make it compile - it seemed dependant on namespace pollution * Mon May 01 2000 Tim Powers - initial build for Powertools - package needed by aspell now - removed redundant defines at top of spec - no epoch needed since this is the first release for Powertools, hopefully it is _never_ needed from this point forward - use _prefix to amke it so that rebuilds can be built for different prefixes as defined by RPM - updated source location - don't have /usr/include/ltdl.h in the files list, conflicts with libtool, not only that but "make install" never installs it - cleaned up files list a bit. * Mon Apr 3 2000 Ryan Weaver [pspell-.10-1] - Initial RPM Build.