summaryrefslogtreecommitdiffstats
path: root/kbiff.spec
diff options
context:
space:
mode:
Diffstat (limited to 'kbiff.spec')
-rw-r--r--kbiff.spec52
1 files changed, 52 insertions, 0 deletions
diff --git a/kbiff.spec b/kbiff.spec
new file mode 100644
index 0000000..7f17587
--- /dev/null
+++ b/kbiff.spec
@@ -0,0 +1,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