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