]> git.pld-linux.org Git - packages/bincimap.git/blob - bincimap.spec
- up to 1.2.9final
[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.2.9final
5 Release:        1
6 License:        GPL v2
7 Group:          Networking/Daemons
8 Source0:        http://www.bincimap.org/dl/tarballs/1.2/%{name}-%{version}.tar.bz2
9 # Source0-md5:  0fa92216715a540f5f405118cc92d994
10 Source1:        %{name}.inetd
11 Source2:        %{name}-ssl.inetd
12 Source3:        %{name}.pam
13 URL:            http://www.bincimap.org/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  openssl-devel >= 0.9.7d
17 PreReq:         rc-inetd
18 Requires:       checkpassword-pam
19 Conflicts:      courier-imap
20 Conflicts:      cyrus-imapd
21 Conflicts:      imap
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _bindir         %{_sbindir}
25
26 %description
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.
31
32 %description -l pl
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
37 skonfigurowania.
38
39 %prep
40 %setup -q
41
42 %build
43 %{__aclocal}
44 %{__autoconf}
45 %{__autoheader}
46 %{__automake}
47 %configure
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
53 install -d $RPM_BUILD_ROOT/etc/pam.d
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
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
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post
66 if [ -f /var/lock/subsys/rc-inetd ]; then
67         /etc/rc.d/init.d/rc-inetd reload 1>&2
68 else
69         echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
70 fi
71
72 %postun
73 if [ -f /var/lock/subsys/rc-inetd ]; then
74         /etc/rc.d/init.d/rc-inetd reload 1>&2
75 fi
76
77 %files
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}/*
85 %{_mandir}/man[15]/*
This page took 0.230943 seconds and 4 git commands to generate.