Please find attached. I had to make a patch in order to recognize
XmHTML-1.1.5 installed in /usr/X11R6/lib directory.

I could not figure out how to install config files in /etc/ instead of
prefix/etc. If someone knows please help.

Eugene.
*** ../../usr/src/redhat/BUILD/gnucash-1.1.20/configure.in      Sun Oct 11 19:56:49 
1998
--- gnucash-1.1.20/configure.in Mon Oct 19 01:01:47 1998
***************
*** 104,110 ****
          XMHTML_TARGET=default 
          XMHTML_INC=/lib/XmHTML-1.1.0/src 
          LIBS="-L $srcdir/lib/XmHTML-1.1.0 $LIBS" , 
!         -lXm -L $x_libraries -lXext -lX11) 
  
  AC_SUBST(XMHTML_TARGET)
  AC_SUBST(XMHTML_INC)
--- 104,110 ----
          XMHTML_TARGET=default 
          XMHTML_INC=/lib/XmHTML-1.1.0/src 
          LIBS="-L $srcdir/lib/XmHTML-1.1.0 $LIBS" , 
!         -lXm -L $x_libraries -lXext -lX11 -lXt "$X_LIBS") 
  
  AC_SUBST(XMHTML_TARGET)
  AC_SUBST(XMHTML_INC)
Name: gnucash
Summary: GnuCash is an application to keep track of your finances.
Version: 1.1.20
Release: 1
Copyright: Free Software Foundation
Group: Applications/Finance
Source: ftp://ftp.gnucash.org/pub/gnucash/gnucash-1.1.20.tar.gz
Patch0: configure.in.patch
Packager: Eugene Kanter ([EMAIL PROTECTED])

BuildRoot: /tmp/gnucash-build


%description
Gnucash is an application to keep track of your finances.  It is similar in
concept to Quicken(TM).  Although GnuCash still lacks the advanced
features of Quicken, it does have the basic functionality.


%prep
%setup
%patch -p1

%build
mkdir -p share
autoconf
X_LIBS=-lXp ./configure --prefix=/usr
make motif


%install
make prefix=$RPM_BUILD_ROOT/usr install


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(444,root,root,755)
%attr(555,-,-) /usr/bin/gnucash.motif
/usr/bin/gnucash
/usr/doc/gnucash
/usr/etc
/usr/share/gnucash

%doc README CHANGES TODO

Reply via email to