Sophie

Sophie

distrib > Mandriva > 10.0-com > x86_64 > by-pkgid > b36aaa0c44e99bd386b195c909e7ee6d > files > 4

xbuffy-3.4-7mdk.src.rpm

%define name xbuffy
%define version 3.4
%define release 7mdk

Summary:	X-based multiple mailbox biff
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	MIT
Group:		Graphical desktop/Other
Source:		%{name}-%{version}.tar.bz2
Url:		ftp://ftp.virginia.edu:/pub/xbuffy/
Patch0:		xbuffy-3.4-multiple-box.patch.bz2
Patch1:		xbuffy-nntp-gcc331.patch.bz2
Buildrequires:	XFree86-devel
BuildRoot:	%{_tmppath}/%{name}-buildroot

%description
Xbuffy is a program that watches multiple mailboxes and newsgroups
and displays a count of new mail or news, and optionally displays a pop-up
window containing the From: and Subject: lines when new mail or news
arrives.  Xbuffy can also run a program (such as a xterm with your mail reader)
when you click on the mailbox.  

%prep

%setup

#%patch0 -p1 -b .warly
%patch0
%patch1

%build
 
CONF_OPTS="--enable-nntp --enable-content-length"

if [ -d /usr/local/src/imap ] ; then
   %configure --with-cclient=/usr/local/src/imap $CONF_OPTS
else
   %configure $CONF_OPTS
fi

%make

%install

install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/bin/
install -s -m 755  xbuffy $RPM_BUILD_ROOT/usr/X11R6/bin/xbuffy
install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/man/man1/
install -m 644 xbuffy.1 $RPM_BUILD_ROOT/usr/X11R6/man/man1/xbuffy.1x
install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/lib/X11/app-defaults/
install -m 644  XBuffy.ad $RPM_BUILD_ROOT/usr/X11R6/lib/X11/app-defaults/XBuffy
%files
%defattr(-,root,root)
%attr(-,root,root) /usr/X11R6/bin/xbuffy
%attr(-,root,root) /usr/X11R6/man/man1/xbuffy.1x*
%attr(-,root,root) /usr/X11R6/lib/X11/app-defaults/XBuffy
%doc ChangeLog README README.imap README.cclient boxfile.fmt boxfile.sample

%clean
rm -rf $RPM_BUILD_ROOT

%changelog
* Sun Dec 07 2003 Franck Villaume <fvill@freesurf.fr> 3.4-7mdk
- clean header
- fix gcc 3.3.1 compil

* Mon Apr 28 2003 Warly <warly@mandrakesoft.com> 3.4-6mdk
- fix buildrequires

* Fri Aug 24 2001 Etienne Faure <etienne@mandrakesoft.com> 3.4-5mdk
- rebuild

* Wed Apr 25 2001 Warly <warly@mandrakesoft.com> 3.4-4mdk
- Add subbox title in mail displaying

* Mon Apr 23 2001 Warly <warly@mandrakesoft.com> 3.4-3mdk
- does not stop working with empty boxfiles.

* Sat Dec 23 2000 Warly <warly@mandrakesoft.com> 3.4-2mdk
- add a patch to put multiple file in the same box

* Tue Aug 29 2000 Frederic Lepied <flepied@mandrakesoft.com> 3.4-1mdk
- first Mandrake release.