Re: Kbiff

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

 



Uttered Telmo Silva <tsilva@xxxxxxxx>, spake thus:

> Anyone knows why this error occurs? Is this a bug?

Yes ;-)

There is a bug in the autoconf tools provided with this RPM. (At
least as far as Fedora is concerned.)  It doesn't know how to find
the QT libraries; Fedora allows multiple versions of this library,
and this RPM just can't find it.

Here's a work-around:

1. Get the URL to the source RPM, and:

	# rpm -Uvh /path/to/kbiff/.src.rpm

   This copies some files into /usr/src/redhat/SOURCES and one file
   into /usr/src/redhat/SPECS.

2. Replace the kbiff.spec from the distribution with the spec file
   I've provided below, and type:

   	# cd /usr/src/redhat/SPECS
	# rpmbuild -ba kbiff.spec

   I just added the "--with-qt-dir=/usr/lib/qt-3.1" argument to the
   configure step.

3. Install your new RPM the usual way:

	# cd /usr/src/redhat/RPMS/i386
	# rpm -Uvh kbiff*

------------------------------------------------------------------------
# These are the only two variables that you need to change
Prefix: /opt/kde3
%define qtdir /usr/lib/qt3

Name:      kbiff
Summary:   KBiff -- Mail notification utility
Version:   3.7
Release:   1
License:   GPL
Group:     X11/KDE/Internet
Source:    http://devel-home.kde.org/~granroth/kbiff/kbiff-%{version}.tar.bz2
URL:       http://kbiff.granroth.org
Packager:  Kurt Granroth <granroth@xxxxxxx>
BuildRoot: /tmp/kbiff-%{version}

%description
An "xbiff"-like mail notification utility. Has multiple
pixmaps, session management, and GUI configuration. Can
"dock" into KDE panel.  Can display animated gifs, play
system sounds,  or run arbitrary shell command when new
mail arrives.  Supports mbox, maildir, mh, POP3, IMAP4,
and NNTP mailboxes.  Has capability to monitor multiple
mailboxes with one instance.  Supports SSL.

%prep
%setup

%build
export KDEDIR=%{prefix}
export QTDIR=%{qtdir}
./configure --prefix=%{prefix} \
            --mandir=%{prefix}/share/man \
            --disable-debug \
	    --with-qt-dir=/usr/lib/qt-3.1 \
            --enable-final
make

%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install-strip

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{prefix}/bin/kbiff
%{prefix}/lib/kbiff.so
%{prefix}/lib/kbiff.la
%{prefix}/share/applnk/Internet/kbiff.desktop
%{prefix}/share/apps/kbiff/
%{prefix}/share/doc/HTML/*/kbiff/
%{prefix}/share/icons/*/*/apps/kbiff.png
%{prefix}/share/locale/*/LC_MESSAGES/kbiff.mo
%doc %{prefix}/share/man/man1/kbiff.1
%doc AUTHORS ChangeLog COPYING INSTALL kbiff.lsm NEWS README
------------------------------------------------------------------------

Cheers!




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux