]> git.pld-linux.org Git - packages/bincimap.git/blob - bincimap.spec
- up to 1.2.12final
[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.12final
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:  ed40f8b5e560c0fd22fbbf346df1ee94
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:  libstdc++-devel
17 BuildRequires:  openssl-devel >= 0.9.7d
18 PreReq:         rc-inetd
19 Requires:       checkpassword-pam
20 Conflicts:      courier-imap
21 Conflicts:      cyrus-imapd
22 Conflicts:      imap
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %define         _bindir         %{_sbindir}
26
27 %description
28 Binc IMAP is a modular IMAP4rev1 server for Maildir. It strives to be
29 stable, fast, flexible, and RFC compliant. It is designed to be
30 familiar for qmail-pop3d users, uses checkpassword to authenticate,
31 and it is very easy to set up.
32
33 %description -l pl
34 Binc IMAP to modularny serwer IMAP4rev1 dla Maildirów. Stara siê byæ
35 stabilnym, szybkim, elastycznym i zgodnym z RFC. Zosta³ zaprojektowany
36 tak, aby byæ przyjaznym dla u¿ytkowników qmail-pop3d, do
37 uwierzytelniania u¿ywa checkpassword i jest bardzo prosty do
38 skonfigurowania.
39
40 %prep
41 %setup -q
42
43 %build
44 %{__aclocal}
45 %{__autoconf}
46 %{__autoheader}
47 %{__automake}
48 %configure
49 %{__make}
50
51 %install
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
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/bincimap
60 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/bincimap-ssl
61 install %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/bincimap
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post
67 if [ -f /var/lock/subsys/rc-inetd ]; then
68         /etc/rc.d/init.d/rc-inetd reload 1>&2
69 else
70         echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
71 fi
72
73 %postun
74 if [ -f /var/lock/subsys/rc-inetd ]; then
75         /etc/rc.d/init.d/rc-inetd reload 1>&2
76 fi
77
78 %files
79 %defattr(644,root,root,755)
80 %doc AUTHORS ChangeLog NEWS README TODO
81 %config(noreplace) %verify(not size mtime md5) /etc/%{name}.conf
82 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/bincimap
83 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/bincimap-ssl
84 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/bincimap
85 %attr(755,root,root) %{_sbindir}/*
86 %{_mandir}/man[15]/*
This page took 0.170769 seconds and 4 git commands to generate.