📄 webmail.spec
字号:
# ISTAC package for WebMailSummary: WebMail web interface to mail Name: webmail Version: 0.7.5 Release: 1_RedHat Copyright: GPL Group: RBG URL: http://jwebmail.sourceforge.net Vendor: Dept. of Computer Sciences, Munich University Packager: Sebastian Schaffert <wastl@wastl.net> Requires: ApacheJServ >= 1.1, jdk Source0: webmail-0.7.5-source.tar.gz#Patch0: webmail-redhat.diff%description WebMail is a Java application that gives users full access to their email via an easy to use web interface. WebMail is written in 100% Java and can be run either standalone or as a Java Servlet. Features include: - full IMAP support (folders, message flags) - MIME support - support for multiple mailboxes - support for virtual domains - high performance%prep%setup -q -n webmail-0.7.5#%patch0 -p1 -b .p0%buildcd $RPM_BUILD_DIR/webmail-0.7.5/srcrm -fR /var/tmp/webmailmkdir /var/tmp/webmailDISTDIR=/var/tmp/webmail make dist-bin%installcd /usr/librm -fR webmail-0.7.5tar xzvf /var/tmp/webmail/*.tar.gz%post basedir=/usr/lib/webmail-0.7.5 $basedir/bin/install.sh --noprompt%postun jservpaths="/etc/httpd/jserv /etc/httpd/conf/jserv" for i in $jservpaths; do if [ -d $i ]; then jservdir=$i break fi done basedir=/usr/lib/webmail-0.7.5 jservconf=$jservdir/jserv.conf jservprop=$jservdir/jserv.properties echo "Removing WebMail entries from Apache JServ configuration ..." perl -p -i -e 's|^(ApJServMount.*webmail.*)|#$1|' $jservconf perl -p -i -e 's|^(webmail\.properties.*)|#$1|' $jservprop perl -p -i -e 's|^(zones=.*),webmail(.*)|$1$2|' $jservprop rm -f $jservdir/webmail.properties%files/usr/lib/webmail-0.7.5
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -