]> git.pld-linux.org Git - packages/bincimap.git/blob - bincimap.spec
ea760ab06a238485a647f3e840016fb2bda0efb3
[packages/bincimap.git] / bincimap.spec
1 Summary:        IMAP4rev1 server for Maildir
2 Summary(pl):    Serwer IMAP dla Maildirów
3 Name:           bincimap
4 Version:        1.1.8
5 Release:        0.1
6 License:        GPL v2
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
14 PreReq:         rc-inetd
15 Requires:       checkpassword-pam
16 Conflicts:      courier-imap
17 Conflicts:      cyrus-imapd
18 Conflicts:      imap
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define _bindir %{_sbindir}
22
23 %description
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.
28
29 %prep
30 %setup -q
31
32 %build
33 rm -f missing
34 %{__aclocal}
35 %{__autoconf}
36 %{__autoheader}
37 %{__automake}
38 %configure
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
44
45 %{__make} install DESTDIR=$RPM_BUILD_ROOT
46
47 install %SOURCE1 $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/bincimap
48 install %SOURCE2 $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/bincimap-ssl
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %post
54 if [ -f /var/lock/subsys/rc-inetd ]; then
55         /etc/rc.d/init.d/rc-inetd reload 1>&2
56 else
57         echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
58 fi
59
60 %postun
61 if [ -f /var/lock/subsys/rc-inetd ]; then
62         /etc/rc.d/init.d/rc-inetd reload 1>&2
63 fi
64
65 %files
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}/*
72 %{_mandir}/man[15]/*
This page took 0.067417 seconds and 3 git commands to generate.