1 Summary: IMAP4rev1 server for Maildir
2 Summary(pl): Serwer IMAP dla Maildirów
7 Group: Networking/Daemons
8 Source0: http://www.bincimap.org/dl/tarballs/%{name}-%{version}.tar.bz2
9 # Source0-md5: 5182a966c19101594e93014d9e4e9b96
10 Source1: %{name}.inetd
11 Source2: %{name}-ssl.inetd
12 URL: http://www.bincimap.org/
13 BuildRequires: openssl-devel >= 0.9.6j
15 Requires: checkpassword-pam
16 Conflicts: courier-imap
17 Conflicts: cyrus-imapd
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _bindir %{_sbindir}
24 Binc IMAP is a modular IMAP4rev1 server for Maildir. It strives to be
25 stable, fast, flexible, and RFC compliant. It is designed to be
26 familiar for qmail-pop3d users, uses checkpassword to authenticate,
27 and it is very easy to set up.
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
45 %{__make} install DESTDIR=$RPM_BUILD_ROOT
47 install %SOURCE1 $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/bincimap
48 install %SOURCE2 $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/bincimap-ssl
51 rm -rf $RPM_BUILD_ROOT
54 if [ -f /var/lock/subsys/rc-inetd ]; then
55 /etc/rc.d/init.d/rc-inetd reload 1>&2
57 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
61 if [ -f /var/lock/subsys/rc-inetd ]; then
62 /etc/rc.d/init.d/rc-inetd reload 1>&2
66 %defattr(644,root,root,755)
67 %doc AUTHORS ChangeLog NEWS README TODO
68 %config(noreplace) %verify(not size mtime md5) /etc/%{name}.conf
69 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/bincimap
70 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/bincimap-ssl
71 %attr(755,root,root) %{_sbindir}/*