您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
kbiff/kbiff.spec

53 行
1.5 KiB

# 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