Re: [gnome-db] Building RPMs failes



On Thu, 2002-10-24 at 13:46, Adam Williams wrote:
> The GDA and libgnomedb packages for 0.8.199 built correctly for me. 
>
> (BTW, the links from the website are wrong and make finding the 0.8.199
> tar balls rather tricky.  The latest doesn't point to 0.8.199)
> 
right, fixed now.

> I've posted the RPMs created on my project site if anyone is interested.
> http://www.kalamazoolinux.org/projects/awilliam/
> (FTI; The FTP server is connection limited, so if it may take a couple
> of tries to download them.)
> 
I can't find the link to the RPMs in that page. Please tell me where
they are, and I'll upload them to our FTP site, to save you bandwidth.

> However, the mergeant RPMs fail to build with - 
> + strip /tmp/mergeant-0.8.199-root/usr/bin/mergeant
> + /usr/lib/rpm/brp-compress
> + /usr/lib/rpm/brp-strip
> + /usr/lib/rpm/brp-strip-comment-note
> Processing files: mergeant-0.8.199-1
> error: File not found by glob:
> /tmp/mergeant-0.8.199-root/usr/share/gnome/help/mergeant/fr/*
> Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.19822
> + umask 022
> + cd /usr/src/redhat/BUILD
> + cd mergeant-0.8.199
> + DOCDIR=/tmp/mergeant-0.8.199-root/usr/doc/mergeant-0.8.199
> + export DOCDIR
> + rm -rf /tmp/mergeant-0.8.199-root/usr/doc/mergeant-0.8.199
> + /bin/mkdir -p /tmp/mergeant-0.8.199-root/usr/doc/mergeant-0.8.199
> + cp -pr AUTHORS COPYING ChangeLog NEWS README TODO
> /tmp/mergeant-0.8.199-root/usr/doc/mergeant-0.8.199
> + cp -pr examples/ /tmp/mergeant-0.8.199-root/usr/doc/mergeant-0.8.199
> + exit 0
> 
> 
> RPM build errors:
>     File not found by glob:
> /tmp/mergeant-0.8.199-root/usr/share/gnome/help/mergeant/fr/*
>
right, I disabled that dir recently, since the French documentation does
not exist (ie, there's no translation in the sgml files). Fixed now in
CVS, and attached find the new spec file. Please try with it.

cheers
# Note that this is NOT a relocatable package
# defaults for redhat
%define name	mergeant
%define ver	0.11.0
%define prefix     /usr
%define sysconfdir /etc

%define  RELEASE 1
%define  rel     %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}

Summary: Mergeant
Name: 		%name
Version:	%ver
Release: 	%rel
Copyright: 	GPL
Group: 		X11/GNOME/Applications
Source:		%{name}-%{ver}.tar.gz
BuildRoot: 	/tmp/%{name}-%{ver}-root
URL: 		http://gasql.sourceforge.net/
DocDir: 	%{prefix}/doc

%description
Mergeant is a database admin tool working with libgnomedb and libgda

%prep
%setup

%build

# libtool workaround for alphalinux
%ifarch alpha
  ARCH_FLAGS="--host=alpha-redhat-linux"
%endif

CFLAGS="$RPM_OPT_FLAGS" ./configure $ARCH_FLAGS --prefix=%{prefix} --sysconfdir=%{sysconfdir} 

if [ "$SMP" != "" ]; then
  (make "MAKE=make -k -j $SMP"; exit 0)
  make
else
  make
fi

%install
rm -rf $RPM_BUILD_ROOT


make prefix=$RPM_BUILD_ROOT%{prefix} sysconfdir=$RPM_BUILD_ROOT%{sysconfdir} \
MERGEANT_Helpdir=$RPM_BUILD_ROOT%{prefix}/share/gnome/help/mergeant \
Applicationsdir=$RPM_BUILD_ROOT%{prefix}/share/applications \
Pixmapdir=$RPM_BUILD_ROOT%{prefix}/share/pixmaps \
install

strip $RPM_BUILD_ROOT%{prefix}/bin/* || :

%clean
rm -rf $RPM_BUILD_ROOT

							  
%files
%defattr(-, root, root)

%doc AUTHORS COPYING ChangeLog NEWS README TODO
%doc examples/ 
%{prefix}/bin/mergeant
%{prefix}/share/pixmaps/*
%{prefix}/share/locale/*
%{prefix}/share/applications/mergeant.desktop
%{prefix}/share/gnome/help/mergeant/C/*
%{prefix}/share/mergeant/plugins/*




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