2 # - look at files in main package (more split?)
3 # - scripts for daemons
4 # - check optional gssapi (or maybe use gss?)
5 # - some dbm (gdbm? db as (n)dbm? db after update from db2 to db4.1 API?)
6 # - security http://security.gentoo.org/glsa/glsa-200505-20.xml
9 %bcond_with gssapi # use GSSAPI authentication (krb5 or heimdal; not ready for gss)
10 %bcond_without sasl # without SASL (using GNU SASL)
12 Summary: GNU mail utilities
13 Summary(pl): Narzêdzia pocztowe z projektu GNU
18 Group: Applications/Mail
19 Source0: ftp://ftp.gnu.org/gnu/mailutils/%{name}-%{version}.tar.bz2
20 # Source0-md5: 13e38442893a24f16798e4b5f634ba7d
21 Patch0: %{name}-info.patch
22 URL: http://www.gnu.org/software/mailutils/mailutils.html
23 BuildRequires: gnutls-devel
24 BuildRequires: guile-devel >= 1.4
25 %{?with_gss:BuildRequires: heimdal-devel}
26 %{?with_sasl:BuildRequires: gsasl-devel >= 0.0.2}
27 BuildRequires: libltdl-devel
28 BuildRequires: pam-devel
29 BuildRequires: readline-devel
30 BuildRequires: texinfo
31 Requires: %{name}-libs = %{version}-%{release}
32 Obsoletes: mailutils-doc
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 %define _libexecdir %{_sbindir}
41 Narzêdzia pocztowe z projektu GNU
44 Summary: GNU mail utilities libraries
45 Summary(pl): Biblioteka narzêdzi pocztowych GNU
51 The runtime library libmailbox. This library contains various mailbox
52 access routines and support for a number of mailbox types, such as
53 mbox, mh, POP3, and IMAP4. It also support mime message handling, and
54 sending mail via SMTP and /usr/sbin/sendmail.
56 %description libs -l pl
57 Biblioteka libmailbox zawiera ró¿ne funkcje dostêpu do skrzynek
58 pocztowych obs³uguj±ce wiele typów skrzynek, takich jak mbox, mh, POP3
59 i IMAP4. Wspiera tak¿e obs³ugê wiadomo¶ci MIME i wysy³anie poczty
60 przez SMP oraz /usr/sbin/sendmail.
63 Summary: Header files for GNU mail utilities libraries
64 Summary(pl): Pliki nag³ówkowe bibliotek narzêdzi pocztowych GNU
66 Group: Development/Libraries
67 Requires: %{name}-libs = %{version}-%{release}
68 Obsoletes: libmailbox-dev
71 Header files for GNU mail utilities libraries.
73 %description devel -l pl
74 Pliki nag³ówkowe bibliotek narzêdzi pocztowych GNU.
77 Summary: GNU mail utilities static libraries
78 Summary(pl): Statyczne biblioteki narzêdzi pocztowych GNU
80 Group: Development/Libraries
81 Requires: %{name}-devel = %{version}-%{release}
84 GNU mail utilities static libraries.
86 %description static -l pl
87 Statyczne biblioteki narzêdzi pocztowych GNU.
90 Summary: GNU mail utilities mail(x) replacement
91 Summary(pl): Zamiennik mail(x) z narzêdzi pocztowych GNU
92 Group: Applications/Mail
93 Requires: %{name} = %{version}-%{release}
95 %description -n gnu-mail
96 A replacement for /bin/mail(x) conforming to the UNIX98 specification
99 %description -n gnu-mail -l pl
100 Zamiennik /bin/mail(x) zgodny ze specyfikacj± UNIX98 dla mailx.
102 %package -n gnu-pop3d
103 Summary: GNU mail utilites POP3 daemon
104 Summary(pl): Demon POP3 z narzêdzi pocztowych GNU
105 Group: Networking/Daemons
106 Requires: %{name}-libs = %{version}-%{release}
107 # inetd or standalone
109 %description -n gnu-pop3d
110 The GNU POP3 daemon. Uses libmailbox to support different styles of
113 %description -n gnu-pop3d -l pl
114 Demon GNU POP3. Wykorzystuje libmailbox do obs³ugi ró¿nych rodzajów
117 %package -n gnu-imap4d
118 Summary: GNU mail utilities IMAP4 daemon
119 Summary(pl): Demon IMAP4 z narzêdzi pocztowych GNU
120 Group: Networking/Daemons
121 Requires: %{name}-libs = %{version}-%{release}
122 # inetd or standalone
124 %description -n gnu-imap4d
125 The GNU IMAP4 daemon. Uses libmailbox to support different styles of
128 %description -n gnu-imap4d -l pl
129 Demon GNU IMAP4. Wykorzystuje libmailbox do obs³ugi ró¿nych rodzajów
139 %{?with_sasl:--with-gsasl} \
140 %{?with_gssapi:--with-gssapi}
145 rm -rf $RPM_BUILD_ROOT
148 DESTDIR=$RPM_BUILD_ROOT
153 rm -rf $RPM_BUILD_ROOT
156 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
159 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
161 %post libs -p /sbin/ldconfig
162 %postun libs -p /sbin/ldconfig
165 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
168 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
170 %files -f %{name}.lang
171 %defattr(644,root,root,755)
172 %doc AUTHORS ChangeLog NEWS README THANKS TODO
173 %attr(755,root,root) %{_bindir}/dotlock
174 %attr(755,root,root) %{_bindir}/frm
175 %attr(755,root,root) %{_bindir}/from
176 %attr(755,root,root) %{_bindir}/guimb
177 %attr(755,root,root) %{_bindir}/messages
178 %attr(755,root,root) %{_bindir}/movemail
179 %attr(755,root,root) %{_bindir}/readmsg
180 %attr(755,root,root) %{_bindir}/sieve
181 %attr(755,root,root) %{_bindir}/sieve.scm
182 %attr(755,root,root) %{_sbindir}/comsatd
183 %attr(755,root,root) %{_libexecdir}/mail.local
184 %attr(755,root,root) %{_libexecdir}/mail.remote
185 %dir %{_libdir}/mailutils
186 %{_datadir}/mailutils
187 %{_infodir}/mailutils.info*
190 %defattr(644,root,root,755)
191 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
194 %defattr(644,root,root,755)
195 %attr(755,root,root) %{_bindir}/mailutils-config
196 %attr(755,root,root) %{_libdir}/lib*.so
198 %{_includedir}/mailutils
199 %{_infodir}/muint.info*
202 %defattr(644,root,root,755)
206 %defattr(644,root,root,755)
207 %attr(755,root,root) %{_bindir}/mail
208 %{_mandir}/man1/mail.1*
211 %defattr(644,root,root,755)
212 %attr(755,root,root) %{_sbindir}/pop3d
213 %{_mandir}/man1/pop3d.1*
214 %{_mandir}/man1/popauth.1*
217 %defattr(644,root,root,755)
218 %attr(755,root,root) %{_sbindir}/imap4d
219 %{_mandir}/man1/imap4d.1*