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/1.2/%{name}-%{version}.tar.bz2
9 # Source0-md5: c90fc8de62028fb6af6169a5737e9ea4
10 Source1: %{name}.inetd
11 Source2: %{name}-ssl.inetd
13 URL: http://www.bincimap.org/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: openssl-devel >= 0.9.7d
18 Requires: checkpassword-pam
19 Conflicts: courier-imap
20 Conflicts: cyrus-imapd
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define _bindir %{_sbindir}
27 Binc IMAP is a modular IMAP4rev1 server for Maildir. It strives to be
28 stable, fast, flexible, and RFC compliant. It is designed to be
29 familiar for qmail-pop3d users, uses checkpassword to authenticate,
30 and it is very easy to set up.
33 Binc IMAP to modularny serwer IMAP4rev1 dla Maildirów. Stara siê byæ
34 stabilnym, szybkim, elastycznym i zgodnym z RFC. Zosta³ zaprojektowany
35 tak, aby byæ przyjaznym dla u¿ytkowników qmail-pop3d, do
36 uwierzytelniania u¿ywa checkpassword i jest bardzo prosty do
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
54 install -d $RPM_BUILD_ROOT/etc/pam.d
56 %{__make} install DESTDIR=$RPM_BUILD_ROOT
58 install %SOURCE1 $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/bincimap
59 install %SOURCE2 $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/bincimap-ssl
60 install %SOURCE3 $RPM_BUILD_ROOT/etc/pam.d/bincimap
63 rm -rf $RPM_BUILD_ROOT
66 if [ -f /var/lock/subsys/rc-inetd ]; then
67 /etc/rc.d/init.d/rc-inetd reload 1>&2
69 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
73 if [ -f /var/lock/subsys/rc-inetd ]; then
74 /etc/rc.d/init.d/rc-inetd reload 1>&2
78 %defattr(644,root,root,755)
79 %doc AUTHORS ChangeLog NEWS README TODO
80 %config(noreplace) %verify(not size mtime md5) /etc/%{name}.conf
81 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/bincimap
82 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/bincimap-ssl
83 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/bincimap
84 %attr(755,root,root) %{_sbindir}/*