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