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: autoconf
14 BuildRequires: automake
15 BuildRequires: openssl-devel >= 0.9.7d
17 Requires: checkpassword-pam
18 Conflicts: courier-imap
19 Conflicts: cyrus-imapd
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _bindir %{_sbindir}
26 Binc IMAP is a modular IMAP4rev1 server for Maildir. It strives to be
27 stable, fast, flexible, and RFC compliant. It is designed to be
28 familiar for qmail-pop3d users, uses checkpassword to authenticate,
29 and it is very easy to set up.
32 Binc IMAP to modularny serwer IMAP4rev1 dla Maildirów. Stara siê byæ
33 stabilnym, szybkim, elastycznym i zgodnym z RFC. Zosta³ zaprojektowany
34 tak, aby byæ przyjaznym dla u¿ytkowników qmail-pop3d, do
35 uwierzytelniania u¿ywa checkpassword i jest bardzo prosty do
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
54 %{__make} install DESTDIR=$RPM_BUILD_ROOT
56 install %SOURCE1 $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/bincimap
57 install %SOURCE2 $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/bincimap-ssl
60 rm -rf $RPM_BUILD_ROOT
63 if [ -f /var/lock/subsys/rc-inetd ]; then
64 /etc/rc.d/init.d/rc-inetd reload 1>&2
66 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
70 if [ -f /var/lock/subsys/rc-inetd ]; then
71 /etc/rc.d/init.d/rc-inetd reload 1>&2
75 %defattr(644,root,root,755)
76 %doc AUTHORS ChangeLog NEWS README TODO
77 %config(noreplace) %verify(not size mtime md5) /etc/%{name}.conf
78 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/bincimap
79 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/bincimap-ssl
80 %attr(755,root,root) %{_sbindir}/*