summaryrefslogtreecommitdiffstats
path: root/kbiff.spec
blob: 7f1758733345fcd8c1810a94dbc92cdf7f1a8745 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# This is the only variables that you need to change
Prefix:    /opt/kde3

Name:      kbiff
Summary:   KBiff -- Mail notification utility
Version:   3.9
Release:   1
License:   GPL
Group:     X11/KDE/Internet
Source:    http://prdownloads.sourceforge.net/kbiff/kbiff-%{version}.tar.bz2
URL:       http://www.kbiff.org
Packager:  Kurt Granroth <granroth@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
./configure --prefix=%{prefix} \
            --mandir=/usr/share/man \
            --disable-rpath \
            --disable-debug \
            --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*/*
%{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
%{_mandir}/*/*
%doc AUTHORS ChangeLog COPYING INSTALL kbiff.lsm NEWS README