]>
Commit | Line | Data |
---|---|---|
7712ccf5 JB |
1 | # TODO: |
2 | # - look at files in main package (more split?) | |
18f1013f | 3 | # - guile and python packages? (note: lmtpd, mda, putmail, mu-mh/inc link with libmu_scm/libmu_py libraries) |
7712ccf5 | 4 | # - scripts for daemons |
5e306796 | 5 | # - dbm switches? (GDBM BDB NDBM TC KC) |
542efa53 JB |
6 | # |
7 | # Conditional build: | |
e2fe2587 | 8 | %bcond_without gssapi # GSSAPI authentication (krb5 or heimdal) |
434fb1bf JB |
9 | %bcond_with gss # use GSS instead of MIT/Heimdal |
10 | %bcond_without ldap # LDAP support | |
e22b4fbf | 11 | %bcond_with radius # RADIUS support [requires gnu-radius, which is not ready for guile 2.x] |
542efa53 | 12 | %bcond_without sasl # without SASL (using GNU SASL) |
434fb1bf | 13 | # language support |
5e306796 | 14 | %bcond_without cxx # C++ wrapper |
434fb1bf JB |
15 | %bcond_without guile # Guile support |
16 | %bcond_without python # Python support | |
17 | # SQL: | |
18 | %bcond_without mysql # MySQL module | |
19 | %bcond_without pgsql # PostgreSQL module | |
20 | %bcond_without odbc # ODBC module (any variant) | |
21 | %bcond_with iodbc # ODBC module using libiodbc | |
22 | # broken code: | |
434fb1bf | 23 | %bcond_with nntp # NNTP support [broken in 3.x] |
542efa53 | 24 | # |
434fb1bf JB |
25 | %if %{without odbc} |
26 | %undefine with_iodbc | |
27 | %endif | |
7712ccf5 | 28 | Summary: GNU mail utilities |
1927e97c | 29 | Summary(pl.UTF-8): Narzędzia pocztowe z projektu GNU |
7712ccf5 | 30 | Name: mailutils |
c3041ce3 | 31 | Version: 3.9 |
fbb8864e | 32 | Release: 2 |
c0c61d30 | 33 | License: GPL v3+ |
7712ccf5 | 34 | Group: Applications/Mail |
4c7630f2 | 35 | Source0: https://ftp.gnu.org/gnu/mailutils/%{name}-%{version}.tar.xz |
c3041ce3 | 36 | # Source0-md5: a357709d5f34b9acc6e16b7c10e77eaa |
5bc98cd8 | 37 | Patch0: %{name}-info.patch |
7628ad5e | 38 | Patch1: %{name}-tinfo.patch |
38fa742e | 39 | Patch2: link.patch |
17f975c2 | 40 | Patch3: %{name}-includes.patch |
e22b4fbf | 41 | Patch4: %{name}-examples.patch |
18f1013f | 42 | Patch5: %{name}-extern.patch |
c3041ce3 | 43 | Patch6: %{name}-cpp.patch |
70199115 | 44 | Patch7: ggc10.patch |
7712ccf5 | 45 | URL: http://www.gnu.org/software/mailutils/mailutils.html |
7628ad5e JB |
46 | BuildRequires: autoconf >= 2.63 |
47 | BuildRequires: automake >= 1:1.11 | |
434fb1bf JB |
48 | BuildRequires: bison |
49 | BuildRequires: flex | |
dc4ed13c | 50 | BuildRequires: fribidi-devel |
5e306796 | 51 | BuildRequires: gettext-tools >= 0.19 |
434fb1bf | 52 | %{?with_radius:BuildRequires: gnu-radius-devel >= 1.6} |
9d83b912 | 53 | BuildRequires: gnutls-devel >= 1.2.5 |
c0c61d30 | 54 | %{?with_sasl:BuildRequires: gsasl-devel >= 0.2.3} |
17f975c2 | 55 | %{?with_guile:BuildRequires: guile-devel >= 5:2.2.0} |
5e306796 | 56 | %{?with_odbc:%{?with_iodbc:BuildRequires: libiodbc-devel}} |
7712ccf5 | 57 | BuildRequires: libltdl-devel |
434fb1bf JB |
58 | %if %{with cxx} |
59 | BuildRequires: libstdc++-devel | |
60 | %endif | |
7628ad5e | 61 | BuildRequires: libwrap-devel |
434fb1bf | 62 | BuildRequires: libtool >= 2:1.5 |
e22b4fbf | 63 | BuildRequires: libunistring-devel |
434fb1bf | 64 | %{?with_mysql:BuildRequires: mysql-devel} |
dc4ed13c | 65 | BuildRequires: ncurses-devel |
434fb1bf | 66 | %{?with_ldap:BuildRequires: openldap-devel} |
7712ccf5 | 67 | BuildRequires: pam-devel |
434fb1bf JB |
68 | %{?with_pgsql:BuildRequires: postgresql-devel} |
69 | %{?with_python:BuildRequires: python-devel >= 1:2.5} | |
7712ccf5 | 70 | BuildRequires: readline-devel |
7628ad5e JB |
71 | BuildRequires: rpmbuild(macros) >= 1.219 |
72 | BuildRequires: tar >= 1:1.22 | |
5bc98cd8 | 73 | BuildRequires: texinfo |
434fb1bf | 74 | %{?with_odbc:%{!?with_iodbc:BuildRequires: unixODBC-devel}} |
7628ad5e | 75 | BuildRequires: xz |
e2fe2587 JB |
76 | %if %{with gssapi} |
77 | %if %{with gss} | |
78 | BuildRequires: gss-devel >= 0.0.9 | |
79 | %else | |
271ff05c | 80 | BuildRequires: heimdal-devel |
e2fe2587 JB |
81 | %endif |
82 | %endif | |
5bc98cd8 | 83 | Requires: %{name}-libs = %{version}-%{release} |
7712ccf5 | 84 | Obsoletes: mailutils-doc |
5bc98cd8 | 85 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
7712ccf5 | 86 | |
5e306796 JB |
87 | # mailutils variant of traditional PREFIX/bin/mh dir (FHS disallows */bin subdir other than plain "mh") |
88 | %define mh_bindir %{_libexecdir}/mu-mh | |
7712ccf5 JB |
89 | |
90 | %description | |
91 | GNU mail utilities. | |
92 | ||
241d340d | 93 | %description -l pl.UTF-8 |
c0c61d30 | 94 | Narzędzia pocztowe z projektu GNU. |
7712ccf5 JB |
95 | |
96 | %package libs | |
97 | Summary: GNU mail utilities libraries | |
1927e97c | 98 | Summary(pl.UTF-8): Biblioteka narzędzi pocztowych GNU |
7712ccf5 JB |
99 | License: LGPL |
100 | Group: Libraries | |
101 | Obsoletes: libmailbox | |
102 | ||
103 | %description libs | |
104 | The runtime library libmailbox. This library contains various mailbox | |
105 | access routines and support for a number of mailbox types, such as | |
106 | mbox, mh, POP3, and IMAP4. It also support mime message handling, and | |
107 | sending mail via SMTP and /usr/sbin/sendmail. | |
108 | ||
241d340d JR |
109 | %description libs -l pl.UTF-8 |
110 | Biblioteka libmailbox zawiera różne funkcje dostępu do skrzynek | |
111 | pocztowych obsługujące wiele typów skrzynek, takich jak mbox, mh, POP3 | |
112 | i IMAP4. Wspiera także obsługę wiadomości MIME i wysyłanie poczty | |
7712ccf5 JB |
113 | przez SMP oraz /usr/sbin/sendmail. |
114 | ||
115 | %package devel | |
116 | Summary: Header files for GNU mail utilities libraries | |
1927e97c | 117 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek narzędzi pocztowych GNU |
7712ccf5 JB |
118 | License: LGPL |
119 | Group: Development/Libraries | |
5bc98cd8 | 120 | Requires: %{name}-libs = %{version}-%{release} |
7712ccf5 JB |
121 | Obsoletes: libmailbox-dev |
122 | ||
123 | %description devel | |
124 | Header files for GNU mail utilities libraries. | |
125 | ||
241d340d JR |
126 | %description devel -l pl.UTF-8 |
127 | Pliki nagłówkowe bibliotek narzędzi pocztowych GNU. | |
7712ccf5 JB |
128 | |
129 | %package static | |
130 | Summary: GNU mail utilities static libraries | |
1927e97c | 131 | Summary(pl.UTF-8): Statyczne biblioteki narzędzi pocztowych GNU |
7712ccf5 JB |
132 | License: LGPL |
133 | Group: Development/Libraries | |
5bc98cd8 | 134 | Requires: %{name}-devel = %{version}-%{release} |
7712ccf5 JB |
135 | |
136 | %description static | |
137 | GNU mail utilities static libraries. | |
138 | ||
241d340d JR |
139 | %description static -l pl.UTF-8 |
140 | Statyczne biblioteki narzędzi pocztowych GNU. | |
7712ccf5 JB |
141 | |
142 | %package -n gnu-mail | |
143 | Summary: GNU mail utilities mail(x) replacement | |
1927e97c | 144 | Summary(pl.UTF-8): Zamiennik mail(x) z narzędzi pocztowych GNU |
7712ccf5 | 145 | Group: Applications/Mail |
5bc98cd8 | 146 | Requires: %{name} = %{version}-%{release} |
7712ccf5 JB |
147 | |
148 | %description -n gnu-mail | |
149 | A replacement for /bin/mail(x) conforming to the UNIX98 specification | |
150 | for mailx. | |
151 | ||
241d340d JR |
152 | %description -n gnu-mail -l pl.UTF-8 |
153 | Zamiennik /bin/mail(x) zgodny ze specyfikacją UNIX98 dla mailx. | |
7712ccf5 JB |
154 | |
155 | %package -n gnu-pop3d | |
156 | Summary: GNU mail utilites POP3 daemon | |
1927e97c | 157 | Summary(pl.UTF-8): Demon POP3 z narzędzi pocztowych GNU |
7712ccf5 | 158 | Group: Networking/Daemons |
5bc98cd8 | 159 | Requires: %{name}-libs = %{version}-%{release} |
7712ccf5 JB |
160 | # inetd or standalone |
161 | ||
162 | %description -n gnu-pop3d | |
163 | The GNU POP3 daemon. Uses libmailbox to support different styles of | |
164 | mailboxes. | |
165 | ||
241d340d JR |
166 | %description -n gnu-pop3d -l pl.UTF-8 |
167 | Demon GNU POP3. Wykorzystuje libmailbox do obsługi różnych rodzajów | |
7712ccf5 JB |
168 | skrzynek pocztowych. |
169 | ||
170 | %package -n gnu-imap4d | |
171 | Summary: GNU mail utilities IMAP4 daemon | |
1927e97c | 172 | Summary(pl.UTF-8): Demon IMAP4 z narzędzi pocztowych GNU |
7712ccf5 | 173 | Group: Networking/Daemons |
5bc98cd8 | 174 | Requires: %{name}-libs = %{version}-%{release} |
7712ccf5 JB |
175 | # inetd or standalone |
176 | ||
177 | %description -n gnu-imap4d | |
178 | The GNU IMAP4 daemon. Uses libmailbox to support different styles of | |
179 | mailboxes. | |
180 | ||
241d340d JR |
181 | %description -n gnu-imap4d -l pl.UTF-8 |
182 | Demon GNU IMAP4. Wykorzystuje libmailbox do obsługi różnych rodzajów | |
7712ccf5 JB |
183 | skrzynek pocztowych. |
184 | ||
185 | %prep | |
186 | %setup -q | |
c0c61d30 | 187 | %patch0 -p1 |
7628ad5e | 188 | %patch1 -p0 |
38fa742e | 189 | %patch2 -p1 |
434fb1bf | 190 | %patch3 -p1 |
e22b4fbf | 191 | %patch4 -p1 |
18f1013f | 192 | %patch5 -p1 |
c3041ce3 | 193 | %patch6 -p1 |
70199115 | 194 | %patch7 -p1 |
7712ccf5 | 195 | |
7628ad5e | 196 | %{__rm} po/stamp-po |
055dbe60 | 197 | |
7712ccf5 | 198 | %build |
c0c61d30 | 199 | %{__libtoolize} |
434fb1bf | 200 | %{__aclocal} -I m4 -I am -I gint -I doc/imprimatur |
c0c61d30 JB |
201 | %{__autoconf} |
202 | %{__autoheader} | |
203 | %{__automake} | |
7712ccf5 | 204 | %configure \ |
e2fe2587 | 205 | %{!?with_gss:ac_cv_header_gss_h=no} \ |
434fb1bf | 206 | %{!?with_cxx:--disable-cxx} \ |
5e306796 | 207 | %{!?debug:--disable-debug} \ |
434fb1bf JB |
208 | --enable-experimental \ |
209 | %{!?with_nntp:--disable-nntp} \ | |
210 | %{!?with_python:--disable-python} \ | |
211 | %{?with_radius:--enable-radius} \ | |
7628ad5e | 212 | --disable-silent-rules \ |
434fb1bf | 213 | --with-dbm=BDB \ |
542efa53 | 214 | --with-gnutls \ |
7628ad5e JB |
215 | %{?with_sasl:--with-gsasl} \ |
216 | %{?with_gssapi:--with-gssapi} \ | |
434fb1bf JB |
217 | %{!?with_guile:--without-guile} \ |
218 | %{!?with_ldap:--without-ldap} \ | |
219 | --with-mail-spool=/var/mail \ | |
7628ad5e | 220 | --with-mh-bindir=%{_libexecdir}/mu-mh \ |
434fb1bf JB |
221 | %{?with_mysql:--with-mysql} \ |
222 | %{?with_odbc:--with-odbc=%{?with_iodbc:iodbc}%{!?with_iodbc:odbc}} \ | |
223 | %{?with_pgsql:--with-postgres} | |
7712ccf5 | 224 | |
38fa742e | 225 | %{__make} -j1 |
7712ccf5 JB |
226 | |
227 | %install | |
228 | rm -rf $RPM_BUILD_ROOT | |
229 | ||
38fa742e | 230 | %{__make} -j1 install \ |
7712ccf5 JB |
231 | DESTDIR=$RPM_BUILD_ROOT |
232 | ||
7628ad5e JB |
233 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/mailutils/*.{la,a} |
234 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/mailutils/c_api.{la,a} | |
235 | ||
236 | %py_postclean | |
e2fe2587 | 237 | |
7712ccf5 JB |
238 | %find_lang %{name} |
239 | ||
240 | %clean | |
241 | rm -rf $RPM_BUILD_ROOT | |
242 | ||
7628ad5e | 243 | %post -p /sbin/postshell |
c93ce6b9 | 244 | -/usr/sbin/fix-info-dir -c %{_infodir} |
5bc98cd8 | 245 | |
7628ad5e | 246 | %postun -p /sbin/postshell |
c93ce6b9 | 247 | -/usr/sbin/fix-info-dir -c %{_infodir} |
5bc98cd8 | 248 | |
7712ccf5 JB |
249 | %post libs -p /sbin/ldconfig |
250 | %postun libs -p /sbin/ldconfig | |
251 | ||
7628ad5e | 252 | %post devel -p /sbin/postshell |
c93ce6b9 | 253 | -/usr/sbin/fix-info-dir -c %{_infodir} |
7712ccf5 | 254 | |
7628ad5e | 255 | %postun devel -p /sbin/postshell |
c93ce6b9 | 256 | -/usr/sbin/fix-info-dir -c %{_infodir} |
7712ccf5 JB |
257 | |
258 | %files -f %{name}.lang | |
259 | %defattr(644,root,root,755) | |
260 | %doc AUTHORS ChangeLog NEWS README THANKS TODO | |
261 | %attr(755,root,root) %{_bindir}/dotlock | |
262 | %attr(755,root,root) %{_bindir}/frm | |
263 | %attr(755,root,root) %{_bindir}/from | |
17f975c2 | 264 | %if %{with guile} |
7712ccf5 | 265 | %attr(755,root,root) %{_bindir}/guimb |
17f975c2 | 266 | %endif |
434fb1bf | 267 | %attr(755,root,root) %{_bindir}/mailutils |
7712ccf5 | 268 | %attr(755,root,root) %{_bindir}/messages |
dc4ed13c | 269 | %attr(755,root,root) %{_bindir}/mimeview |
5bc98cd8 | 270 | %attr(755,root,root) %{_bindir}/movemail |
18f1013f | 271 | %attr(755,root,root) %{_bindir}/putmail |
7712ccf5 JB |
272 | %attr(755,root,root) %{_bindir}/readmsg |
273 | %attr(755,root,root) %{_bindir}/sieve | |
7712ccf5 | 274 | %attr(755,root,root) %{_sbindir}/comsatd |
18f1013f JB |
275 | %attr(755,root,root) %{_sbindir}/lmtpd |
276 | %attr(755,root,root) %{_sbindir}/mda | |
5e306796 JB |
277 | %dir %{mh_bindir} |
278 | %attr(755,root,root) %{mh_bindir}/ali | |
279 | %attr(755,root,root) %{mh_bindir}/anno | |
280 | %attr(755,root,root) %{mh_bindir}/burst | |
281 | %attr(755,root,root) %{mh_bindir}/comp | |
282 | %attr(755,root,root) %{mh_bindir}/fmtcheck | |
283 | %attr(755,root,root) %{mh_bindir}/folder | |
284 | %attr(755,root,root) %{mh_bindir}/folders | |
285 | %attr(755,root,root) %{mh_bindir}/forw | |
286 | %attr(755,root,root) %{mh_bindir}/inc | |
287 | %attr(755,root,root) %{mh_bindir}/install-mh | |
288 | %attr(755,root,root) %{mh_bindir}/mark | |
289 | %attr(755,root,root) %{mh_bindir}/mhl | |
290 | %attr(755,root,root) %{mh_bindir}/mhn | |
291 | %attr(755,root,root) %{mh_bindir}/mhparam | |
292 | %attr(755,root,root) %{mh_bindir}/mhpath | |
293 | %attr(755,root,root) %{mh_bindir}/mhseq | |
294 | %attr(755,root,root) %{mh_bindir}/msgchk | |
295 | %attr(755,root,root) %{mh_bindir}/next | |
296 | %attr(755,root,root) %{mh_bindir}/pick | |
297 | %attr(755,root,root) %{mh_bindir}/prev | |
298 | %attr(755,root,root) %{mh_bindir}/prompter | |
299 | %attr(755,root,root) %{mh_bindir}/refile | |
300 | %attr(755,root,root) %{mh_bindir}/repl | |
301 | %attr(755,root,root) %{mh_bindir}/rmf | |
302 | %attr(755,root,root) %{mh_bindir}/rmm | |
303 | %attr(755,root,root) %{mh_bindir}/scan | |
304 | %attr(755,root,root) %{mh_bindir}/send | |
305 | %attr(755,root,root) %{mh_bindir}/show | |
306 | %attr(755,root,root) %{mh_bindir}/sortm | |
307 | %attr(755,root,root) %{mh_bindir}/whatnow | |
308 | %attr(755,root,root) %{mh_bindir}/whom | |
309 | %if "%{_libexecdir}" != "%{_libdir}" | |
310 | %dir %{_libexecdir}/mailutils | |
311 | %endif | |
312 | %attr(755,root,root) %{_libexecdir}/mailutils/mailutils-* | |
7712ccf5 | 313 | %dir %{_libdir}/mailutils |
dc4ed13c | 314 | %attr(755,root,root) %{_libdir}/mailutils/*.so |
7712ccf5 | 315 | %{_datadir}/mailutils |
434fb1bf | 316 | %if %{with guile} |
e22b4fbf | 317 | %{_datadir}/guile/site/2.*/mailutils |
434fb1bf JB |
318 | %endif |
319 | %if %{with python} | |
7628ad5e JB |
320 | %dir %{py_sitedir}/mailutils |
321 | %attr(755,root,root) %{py_sitedir}/mailutils/c_api.so | |
322 | %dir %{py_sitescriptdir}/mailutils | |
323 | %{py_sitescriptdir}/mailutils/*.py[co] | |
434fb1bf | 324 | %endif |
5bc98cd8 | 325 | %{_infodir}/mailutils.info* |
7712ccf5 JB |
326 | |
327 | %files libs | |
328 | %defattr(644,root,root,755) | |
e2fe2587 | 329 | %attr(755,root,root) %{_libdir}/libmailutils.so.*.*.* |
e22b4fbf | 330 | %attr(755,root,root) %ghost %{_libdir}/libmailutils.so.6 |
7628ad5e | 331 | %attr(755,root,root) %{_libdir}/libmu_auth.so.*.*.* |
e22b4fbf | 332 | %attr(755,root,root) %ghost %{_libdir}/libmu_auth.so.6 |
434fb1bf | 333 | %if %{with cxx} |
7628ad5e | 334 | %attr(755,root,root) %{_libdir}/libmu_cpp.so.*.*.* |
e22b4fbf | 335 | %attr(755,root,root) %ghost %{_libdir}/libmu_cpp.so.6 |
434fb1bf | 336 | %endif |
4c7630f2 JB |
337 | %attr(755,root,root) %{_libdir}/libmu_dbm.so.*.*.* |
338 | %attr(755,root,root) %ghost %{_libdir}/libmu_dbm.so.6 | |
339 | %attr(755,root,root) %{_libdir}/libmu_dotmail.so.*.*.* | |
340 | %attr(755,root,root) %ghost %{_libdir}/libmu_dotmail.so.6 | |
7628ad5e | 341 | %attr(755,root,root) %{_libdir}/libmu_imap.so.*.*.* |
e22b4fbf | 342 | %attr(755,root,root) %ghost %{_libdir}/libmu_imap.so.6 |
7628ad5e | 343 | %attr(755,root,root) %{_libdir}/libmu_maildir.so.*.*.* |
e22b4fbf | 344 | %attr(755,root,root) %ghost %{_libdir}/libmu_maildir.so.6 |
7628ad5e | 345 | %attr(755,root,root) %{_libdir}/libmu_mailer.so.*.*.* |
e22b4fbf | 346 | %attr(755,root,root) %ghost %{_libdir}/libmu_mailer.so.6 |
7628ad5e | 347 | %attr(755,root,root) %{_libdir}/libmu_mbox.so.*.*.* |
e22b4fbf | 348 | %attr(755,root,root) %ghost %{_libdir}/libmu_mbox.so.6 |
7628ad5e | 349 | %attr(755,root,root) %{_libdir}/libmu_mh.so.*.*.* |
e22b4fbf | 350 | %attr(755,root,root) %ghost %{_libdir}/libmu_mh.so.6 |
434fb1bf | 351 | %if %{with nntp} |
7628ad5e | 352 | %attr(755,root,root) %{_libdir}/libmu_nntp.so.*.*.* |
e22b4fbf | 353 | %attr(755,root,root) %ghost %{_libdir}/libmu_nntp.so.6 |
434fb1bf | 354 | %endif |
7628ad5e | 355 | %attr(755,root,root) %{_libdir}/libmu_pop.so.*.*.* |
e22b4fbf | 356 | %attr(755,root,root) %ghost %{_libdir}/libmu_pop.so.6 |
434fb1bf | 357 | %if %{with python} |
7628ad5e | 358 | %attr(755,root,root) %{_libdir}/libmu_py.so.*.*.* |
e22b4fbf | 359 | %attr(755,root,root) %ghost %{_libdir}/libmu_py.so.6 |
434fb1bf JB |
360 | %endif |
361 | %if %{with guile} | |
7628ad5e | 362 | %attr(755,root,root) %{_libdir}/libmu_scm.so.*.*.* |
e22b4fbf | 363 | %attr(755,root,root) %ghost %{_libdir}/libmu_scm.so.6 |
434fb1bf | 364 | %endif |
7628ad5e | 365 | %attr(755,root,root) %{_libdir}/libmu_sieve.so.*.*.* |
e22b4fbf | 366 | %attr(755,root,root) %ghost %{_libdir}/libmu_sieve.so.6 |
434fb1bf | 367 | %attr(755,root,root) %{_libdir}/libmuaux.so.*.*.* |
e22b4fbf | 368 | %attr(755,root,root) %ghost %{_libdir}/libmuaux.so.6 |
17f975c2 | 369 | %if %{with guile} |
434fb1bf | 370 | %attr(755,root,root) %{_libdir}/libguile-mailutils-v-%{version}.so |
17f975c2 | 371 | %endif |
7712ccf5 JB |
372 | |
373 | %files devel | |
374 | %defattr(644,root,root,755) | |
375 | %attr(755,root,root) %{_bindir}/mailutils-config | |
e2fe2587 | 376 | %attr(755,root,root) %{_libdir}/libmailutils.so |
7628ad5e | 377 | %attr(755,root,root) %{_libdir}/libmu_auth.so |
434fb1bf | 378 | %attr(755,root,root) %{_libdir}/libmu_dbm.so |
4c7630f2 | 379 | %attr(755,root,root) %{_libdir}/libmu_dotmail.so |
7628ad5e JB |
380 | %attr(755,root,root) %{_libdir}/libmu_imap.so |
381 | %attr(755,root,root) %{_libdir}/libmu_maildir.so | |
382 | %attr(755,root,root) %{_libdir}/libmu_mailer.so | |
383 | %attr(755,root,root) %{_libdir}/libmu_mbox.so | |
384 | %attr(755,root,root) %{_libdir}/libmu_mh.so | |
7628ad5e | 385 | %attr(755,root,root) %{_libdir}/libmu_pop.so |
434fb1bf | 386 | %if %{with python} |
7628ad5e | 387 | %attr(755,root,root) %{_libdir}/libmu_py.so |
434fb1bf JB |
388 | %endif |
389 | %if %{with guile} | |
7628ad5e | 390 | %attr(755,root,root) %{_libdir}/libmu_scm.so |
434fb1bf | 391 | %endif |
7628ad5e | 392 | %attr(755,root,root) %{_libdir}/libmu_sieve.so |
434fb1bf | 393 | %attr(755,root,root) %{_libdir}/libmuaux.so |
e2fe2587 | 394 | %{_libdir}/libmailutils.la |
7628ad5e | 395 | %{_libdir}/libmu_auth.la |
434fb1bf | 396 | %{_libdir}/libmu_dbm.la |
4c7630f2 | 397 | %{_libdir}/libmu_dotmail.la |
7628ad5e JB |
398 | %{_libdir}/libmu_imap.la |
399 | %{_libdir}/libmu_maildir.la | |
400 | %{_libdir}/libmu_mailer.la | |
401 | %{_libdir}/libmu_mbox.la | |
402 | %{_libdir}/libmu_mh.la | |
7628ad5e | 403 | %{_libdir}/libmu_pop.la |
434fb1bf | 404 | %if %{with python} |
7628ad5e | 405 | %{_libdir}/libmu_py.la |
434fb1bf JB |
406 | %endif |
407 | %if %{with guile} | |
7628ad5e | 408 | %{_libdir}/libmu_scm.la |
434fb1bf | 409 | %endif |
7628ad5e | 410 | %{_libdir}/libmu_sieve.la |
434fb1bf JB |
411 | %{_libdir}/libmuaux.la |
412 | %if %{with cxx} | |
413 | %attr(755,root,root) %{_libdir}/libmu_cpp.so | |
414 | %{_libdir}/libmu_cpp.la | |
415 | %endif | |
416 | %if %{with nntp} | |
417 | %attr(755,root,root) %{_libdir}/libmu_nntp.so | |
418 | %{_libdir}/libmu_nntp.la | |
419 | %endif | |
7712ccf5 | 420 | %{_includedir}/mailutils |
7628ad5e | 421 | %{_aclocaldir}/mailutils.m4 |
7712ccf5 JB |
422 | |
423 | %files static | |
424 | %defattr(644,root,root,755) | |
e2fe2587 | 425 | %{_libdir}/libmailutils.a |
7628ad5e | 426 | %{_libdir}/libmu_auth.a |
434fb1bf | 427 | %if %{with cxx} |
7628ad5e | 428 | %{_libdir}/libmu_cpp.a |
434fb1bf JB |
429 | %endif |
430 | %{_libdir}/libmu_dbm.a | |
4c7630f2 | 431 | %{_libdir}/libmu_dotmail.a |
7628ad5e JB |
432 | %{_libdir}/libmu_imap.a |
433 | %{_libdir}/libmu_maildir.a | |
434 | %{_libdir}/libmu_mailer.a | |
435 | %{_libdir}/libmu_mbox.a | |
436 | %{_libdir}/libmu_mh.a | |
434fb1bf | 437 | %if %{with nntp} |
7628ad5e | 438 | %{_libdir}/libmu_nntp.a |
434fb1bf | 439 | %endif |
7628ad5e | 440 | %{_libdir}/libmu_pop.a |
434fb1bf | 441 | %if %{with python} |
7628ad5e | 442 | %{_libdir}/libmu_py.a |
434fb1bf JB |
443 | %endif |
444 | %if %{with guile} | |
7628ad5e | 445 | %{_libdir}/libmu_scm.a |
434fb1bf | 446 | %endif |
7628ad5e | 447 | %{_libdir}/libmu_sieve.a |
434fb1bf | 448 | %{_libdir}/libmuaux.a |
7712ccf5 JB |
449 | |
450 | %files -n gnu-mail | |
451 | %defattr(644,root,root,755) | |
452 | %attr(755,root,root) %{_bindir}/mail | |
5bc98cd8 | 453 | %{_mandir}/man1/mail.1* |
7712ccf5 JB |
454 | |
455 | %files -n gnu-pop3d | |
456 | %defattr(644,root,root,755) | |
434fb1bf | 457 | %attr(755,root,root) %{_bindir}/popauth |
7712ccf5 JB |
458 | %attr(755,root,root) %{_sbindir}/pop3d |
459 | %{_mandir}/man1/pop3d.1* | |
460 | %{_mandir}/man1/popauth.1* | |
461 | ||
462 | %files -n gnu-imap4d | |
945e5f82 | 463 | %defattr(644,root,root,755) |
7712ccf5 JB |
464 | %attr(755,root,root) %{_sbindir}/imap4d |
465 | %{_mandir}/man1/imap4d.1* |