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