]> git.pld-linux.org Git - packages/bincimap.git/blame - bincimap.spec
- unify blacklists for pam configs
[packages/bincimap.git] / bincimap.spec
CommitLineData
e159c6c6 1Summary: IMAP4rev1 server for Maildir
8381b7b6 2Summary(pl.UTF-8): Serwer IMAP dla Maildirów
e159c6c6 3Name: bincimap
e05b467f 4Version: 1.2.12final
bee8e1d4 5Release: 2
e159c6c6
TO
6License: GPL v2
7Group: Networking/Daemons
0d05a375 8Source0: http://www.bincimap.org/dl/tarballs/1.2/%{name}-%{version}.tar.bz2
e05b467f 9# Source0-md5: ed40f8b5e560c0fd22fbbf346df1ee94
e159c6c6
TO
10Source1: %{name}.inetd
11Source2: %{name}-ssl.inetd
f32a4389 12Source3: %{name}.pam
e159c6c6 13URL: http://www.bincimap.org/
cb576e04
JB
14BuildRequires: autoconf
15BuildRequires: automake
b228ca6c 16BuildRequires: libstdc++-devel
e2cb0511 17BuildRequires: openssl-devel >= 0.9.7d
2462363e 18BuildRequires: rpmbuild(macros) >= 1.268
e159c6c6 19Requires: checkpassword-pam
2462363e 20Requires: rc-inetd
e159c6c6 21Conflicts: courier-imap
b4503f93 22Conflicts: cyrus-imapd
23Conflicts: imap
e159c6c6
TO
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
cb576e04 26%define _bindir %{_sbindir}
e159c6c6
TO
27
28%description
29Binc IMAP is a modular IMAP4rev1 server for Maildir. It strives to be
30stable, fast, flexible, and RFC compliant. It is designed to be
31familiar for qmail-pop3d users, uses checkpassword to authenticate,
32and it is very easy to set up.
33
845ef78a
JR
34%description -l pl.UTF-8
35Binc IMAP to modularny serwer IMAP4rev1 dla Maildirów. Stara się być
36stabilnym, szybkim, elastycznym i zgodnym z RFC. Został zaprojektowany
37tak, aby być przyjaznym dla użytkowników qmail-pop3d, do
38uwierzytelniania używa checkpassword i jest bardzo prosty do
cb576e04
JB
39skonfigurowania.
40
e159c6c6
TO
41%prep
42%setup -q
43
44%build
e159c6c6
TO
45%{__aclocal}
46%{__autoconf}
47%{__autoheader}
48%{__automake}
49%configure
50%{__make}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
f32a4389 55install -d $RPM_BUILD_ROOT/etc/pam.d
e159c6c6 56
8a042210
JB
57%{__make} install \
58 DESTDIR=$RPM_BUILD_ROOT
e159c6c6 59
8a042210
JB
60install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/bincimap
61install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/bincimap-ssl
62install %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/bincimap
e159c6c6 63
bee8e1d4
JR
64touch $RPM_BUILD_ROOT/etc/security/blacklist.imap
65
e159c6c6
TO
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%post
2462363e 70%service -q rc-inetd reload
e159c6c6
TO
71
72%postun
2462363e
ER
73if [ "$1" = 0 ]; then
74 %service -q rc-inetd reload
e159c6c6
TO
75fi
76
77%files
78%defattr(644,root,root,755)
79%doc AUTHORS ChangeLog NEWS README TODO
e4e16702
ER
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
bee8e1d4 84%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.imap
e159c6c6
TO
85%attr(755,root,root) %{_sbindir}/*
86%{_mandir}/man[15]/*
This page took 0.075714 seconds and 4 git commands to generate.