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