Kbiff

Telmo Silva tsilva at zmail.pt
Tue Feb 10 21:39:21 UTC 2004


Ok, thanks, I got it working thantks to your explanation. But now I have 
another small question I hope you can solve too. How can I put kbiff to start 
whenever I start my session. Sorry for the stupid question.

Thanks,

Em Terça 10 Fevereiro 2004 21:16, o Tommy Reynolds escreveu:
> Uttered Telmo Silva <tsilva at zmail.pt>, 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 at kde.org>
> 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!

-- 
Telmo Silva <tsilva at zmail.pt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040210/34f727cb/attachment-0001.sig>


More information about the fedora-list mailing list