Re: Horrible compile troubles on SuSE 7.3



> I had the same problems on SuSE 7.3 with balsa 1.2.0 and 1.2.1. Please
> try pspell from SuSE 7.2 (available on ftp://ftp.suse.com) or
> recompile the pspell-package with my SPEC-file (attached) with
> pspell-.12.2.tar.gz or recompile and install pspell without
> RPM. Unfortunately I also don't know the reason, why the
> pspell-package on SuSE 7.3 fails (probably a libtool problem or
> a problem with the curious version number pspell-.12.2 :-).

Here is the RPM-SPEC file:
---------------------------------------------------------------------
%define	      prefix %{_prefix}

Name:         pspell
Copyright:    GPL
Group:	      Applications/Text
Provides:     pspell
Requires:     ispell ispell_dictionary
Packager:     Bjoern Voigt <bjoern@cs.tu-berlin.de>
Autoreqprov:  on
Version:      .12.2
Release:      1
Summary:      An interface for spellcheckers
Source:	      pspell-.12.2.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root

%description
Pspell is an interface between applications (mailer, wordprocessing and
others) and spellcheckers (currently ispell and aspell).

Authors:
--------
    Kevin Atkinson <kevina@users.sourceforge.net>

%prep
%setup

%build
CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
make

%install
rm -rf "$RPM_BUILD_ROOT"
mkdir -p $RPM_BUILD_ROOT%{prefix}

make install DESTDIR=$RPM_BUILD_ROOT
mkdir --parents $RPM_BUILD_ROOT%{prefix}/share/doc/packages/pspell
cp -r $RPM_BUILD_ROOT%{prefix}/doc/pspell \
   $RPM_BUILD_ROOT%{prefix}/share/doc/packages/pspell

%clean
test -z "$RPM_BUILD_ROOT" || rm -rf $RPM_BUILD_ROOT

%files
%{prefix}/lib/libpspell*.so.*
%{prefix}/share/doc/packages/pspell
%{prefix}/share/pspell
%package devel
Summary:      The developerfiles for pspell
Group:        Development
Autoreqprov:  on

%description devel
The developerfiles for pspell.


%files devel
%{prefix}/lib/libpspell*.so
%{prefix}/lib/libpspell*.*a
%{prefix}/include/pspell






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]