/[packages]/cauldron/claws-mail/current/SPECS/claws-mail.spec
ViewVC logotype

Contents of /cauldron/claws-mail/current/SPECS/claws-mail.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 612424 - (show annotations) (download)
Sun Apr 6 16:51:05 2014 UTC (9 years, 5 months ago) by wally
File size: 18058 byte(s)
- fix typo (SILENT)
1 %define iconname %{name}.png
2
3 #define git git60
4
5 # exclude plugin .so from provides
6 %define _exclude_files_from_autoprov %{_libdir}/%{name}/plugins/.*\\.so
7
8 Summary: The user-friendly, lightweight and fast GTK2 based email client
9 Name: claws-mail
10 Version: 3.9.3%{?git}
11 Release: %mkrel 2
12 Epoch: 1
13 License: GPLv3+
14 Group: Networking/Mail
15 URL: http://www.claws-mail.org
16
17 %if 0%{?git:1}
18 Source0: http://www.claws-mail.org/snapshots/%{name}-%{version}.tar.bz2
19 %else
20 Source0: http://downloads.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2
21 %endif
22
23 BuildRequires: pkgconfig(cairo)
24 BuildRequires: pkgconfig(dbus-1) >= 0.60
25 BuildRequires: pkgconfig(dbus-glib-1) >= 0.60
26 BuildRequires: pkgconfig(enchant) >= 1.0.0
27 BuildRequires: pkgconfig(glib-2.0) >= 2.6
28 BuildRequires: pkgconfig(gmodule-2.0) >= 2.6
29 BuildRequires: pkgconfig(gnutls) >= 2.2
30 BuildRequires: pkgconfig(gobject-2.0) >= 2.6
31 BuildRequires: pkgconfig(gthread-2.0) >= 2.6
32 BuildRequires: pkgconfig(gtk+-2.0) >= 2.16
33 BuildRequires: pkgconfig(libarchive)
34 BuildRequires: pkgconfig(libcanberra-gtk)
35 BuildRequires: pkgconfig(libgdata)
36 BuildRequires: pkgconfig(libgnome-2.0) >= 2.0
37 BuildRequires: pkgconfig(libstartup-notification-1.0) >= 0.5
38 BuildRequires: pkgconfig(NetworkManager) >= 0.6.2
39 BuildRequires: docbook-utils
40 BuildRequires: libsm-devel
41 BuildRequires: openldap-devel
42 BuildRequires: pilot-link-devel
43 BuildRequires: multiarch-utils
44 BuildRequires: libetpan-devel >= 0.42
45 BuildRequires: flex
46 BuildRequires: bison
47 BuildRequires: valgrind-devel
48 BuildRequires: spamassassin-spamd >= 3.0.0
49 BuildRequires: libgcrypt-devel
50 BuildRequires: gpgme-devel > 0.4.5
51 BuildRequires: imagemagick
52 BuildRequires: compface-devel
53
54 %if 0%{?git:1}
55 BuildRequires: gettext-devel
56 %endif
57
58 #From old plugins-extra pkg
59 BuildRequires: pkgconfig(poppler)
60 BuildRequires: pkgconfig(poppler-glib)
61 BuildRequires: libetpan-devel
62 BuildRequires: perl-devel
63 BuildRequires: curl-devel
64 BuildRequires: bison
65 BuildRequires: flex
66 BuildRequires: ghostscript
67 BuildRequires: pygtk2.0-devel
68
69 BuildRequires: webkitgtk-devel
70 BuildRequires: libnotify-devel
71 BuildRequires: gail-devel
72 BuildRequires: libytnef-devel
73
74 Requires: compface
75 Requires: rootcerts
76 Requires: common-licenses
77 Requires: enchant-dictionary = 2
78
79 # To handle hidden preferences
80 Suggests: clawsker
81
82 %description
83 Claws-Mail is an e-mail client (and news reader) based on GTK+, running
84 on X Window System, and aiming for:
85 * Quick response
86 * Graceful, and sophisticated interface
87 * Easy configuration, intuitive operation
88 * Abundant features
89
90 The appearance and interface are similar to some popular e-mail clients for
91 Windows, such as Outlook Express, Becky!, and Datula. The interface is also
92 designed to emulate the mailers on Emacsen, and almost all commands are
93 accessible with the keyboard.
94
95 The messages are managed by MH format, and you'll be able to use it together
96 with another mailer based on MH format (like Mew). You can also utilize
97 fetchmail or/and procmail, and external programs on receiving (like inc or
98 imget).
99
100 This is an improved version over the "bare" sylpheed package. It has
101 some additional features, and also extends existing features.
102
103 Addtitional features include:
104 o Scoring
105 o Spell checking
106 o Return receipts
107
108 Improved features include:
109 o SMTP Auth
110 o Filtering
111 o MIME attachments
112 o Integrated News reader
113 o Automatic mail checking
114 o Line-wrapping
115 o XML-based addressbook
116 o Newly arrived and unread message management
117 o Printing
118 o GnuPG support
119 o Address book supports JPilot, LDAP, LDIF, and vCard data files
120
121 For a complete listing of Features: http://www.claws-mail.org/features.php
122
123 %package devel
124 Summary: Development files for %{name}
125 Group: Development/Other
126 Requires: %{name} = %{epoch}:%{version}-%{release}
127
128 %description devel
129 Development files and headers for %{name}.
130
131 %package plugins
132 Summary: Plugins for %{name}
133 Group: Networking/Mail
134 Requires: %{name}-bogofilter-plugin = %{epoch}:%{version}-%{release}
135 Requires: %{name}-smime-plugin = %{epoch}:%{version}-%{release}
136 Requires: %{name}-pgpcore-plugin = %{epoch}:%{version}-%{release}
137 Requires: %{name}-pgpinline-plugin = %{epoch}:%{version}-%{release}
138 Requires: %{name}-pgpmime-plugin = %{epoch}:%{version}-%{release}
139 Requires: %{name}-spamassassin-plugin = %{epoch}:%{version}-%{release}
140 Requires: %{name}-acpi-plugin = %{epoch}:%{version}-%{release}
141 Requires: %{name}-att_remover-plugin = %{epoch}:%{version}-%{release}
142 Requires: %{name}-bsfilter-plugin = %{epoch}:%{version}-%{release}
143 Requires: %{name}-fancy-plugin = %{epoch}:%{version}-%{release}
144 Requires: %{name}-fetchinfo-plugin = %{epoch}:%{version}-%{release}
145 Requires: %{name}-mailmbox-plugin = %{epoch}:%{version}-%{release}
146 Requires: %{name}-notification-plugin = %{epoch}:%{version}-%{release}
147 Requires: %{name}-pdf_viewer-plugin = %{epoch}:%{version}-%{release}
148 Requires: %{name}-perl-plugin = %{epoch}:%{version}-%{release}
149 Requires: %{name}-python-plugin = %{epoch}:%{version}-%{release}
150 Requires: %{name}-rssyl-plugin = %{epoch}:%{version}-%{release}
151 Requires: %{name}-vcalendar-plugin = %{epoch}:%{version}-%{release}
152 Requires: %{name}-attachwarner-plugin = %{epoch}:%{version}-%{release}
153 Requires: %{name}-spam_report-plugin = %{epoch}:%{version}-%{release}
154 Requires: %{name}-tnef_parse-plugin = %{epoch}:%{version}-%{release}
155 Requires: %{name}-address_keeper-plugin = %{epoch}:%{version}-%{release}
156 Requires: %{name}-clamd-plugin = %{epoch}:%{version}-%{release}
157 %if 0%{?git:1}
158 Requires: %{name}-libravatar-plugin = %{epoch}:%{version}-%{release}
159 %endif
160 Obsoletes: %{name}-plugins < 1:3.8.1-3
161 Obsoletes: %{name}-extra-plugins < 1:3.9.1
162
163 %description plugins
164 This is a meta-package which requires all plugins included in the Claws Mail
165 source package.
166
167 %package archive-plugin
168 Summary: Archiver plugin for %{name}
169 Group: Networking/Mail
170 Requires: %{name} >= %{epoch}:%{version}
171
172 %description archive-plugin
173 Archives mail folders using libarchive library. Folders can be archived
174 with or without compression (ZIP, GZIP or BZIP2) and also in several
175 formats (TAR, SHAR, PAX or CPIO).
176
177 %package bogofilter-plugin
178 Summary: Bogofilter plugin for %{name}
179 Group: Networking/Mail
180 BuildRequires: bogofilter
181 Requires: %{name} >= %{epoch}:%{version}
182 Requires: bogofilter
183
184 %description bogofilter-plugin
185 Enables the scanning of incoming mail received from a
186 POP, IMAP, or LOCAL account using Bogofilter. It can
187 optionally delete mail identified as spam or save it
188 to a designated folder. Bogofilter is a pure Bayesian
189 filter, therefore it has better speed performance
190 than SpamAssassin but might catch less spam.
191
192 %package gdata-plugin
193 Summary: Gmail contacts plugin for %{name}
194 Group: Networking/Mail
195 Requires: %{name} >= %{epoch}:%{version}
196
197 %description gdata-plugin
198 Includes your Gmail account contacts in the list generated for Tab-address
199 completion on compose window, using the GData library.
200
201 %package smime-plugin
202 Summary: S/Mime plugin for %{name}
203 Group: Networking/Mail
204 Requires: %{name} >= %{epoch}:%{version}
205 Requires: %{name}-pgpcore-plugin >= %{epoch}:%{version}
206
207 %description smime-plugin
208 This plugin allows to use S/Mime signatures and encryptions
209 in Claws Mail
210
211 %package pgpcore-plugin
212 Summary: PGP core plugin for %{name}
213 Group: Networking/Mail
214 Requires: %{name} >= %{epoch}:%{version}
215
216 %description pgpcore-plugin
217 Handles core PGP functions and is a dependency of both
218 the PGP/Inline and PGP/MIME plugins.
219
220 %package pgpinline-plugin
221 Summary: PGP/Inline plugin for %{name}
222 Group: Networking/Mail
223 Requires: %{name} >= %{epoch}:%{version}
224 Requires: %{name}-pgpcore-plugin >= %{epoch}:%{version}
225
226 %description pgpinline-plugin
227 Handles PGP/Inline signed and/or encrypted mails.
228 You can decrypt mails, verify signatures or sign
229 and encrypt your own mails.
230
231 %package pgpmime-plugin
232 Summary: PGP/MIME plugin for %{name}
233 Group: Networking/Mail
234 Requires: %{name} >= %{epoch}:%{version}
235 Requires: %{name}-pgpcore-plugin >= %{epoch}:%{version}
236
237 %description pgpmime-plugin
238 Handles PGP/MIME signed and/or encrypted mails.
239 You can decrypt mails, verify signatures or sign
240 and encrypt your own mails.
241
242 %package spamassassin-plugin
243 Summary: Spamassassin-plugin for %{name}
244 Group: Networking/Mail
245 Requires: %{name} >= %{epoch}:%{version}
246 Requires: spamassassin-spamd
247
248 %description spamassassin-plugin
249 Scans incoming mail received from a POP, IMAP or LOCAL account using
250 SpamAssassin. It can optionally delete mail identified as spam or save
251 it to a designated folder.
252
253 %package acpi-plugin
254 Summary: This plugin enables mail notification via LEDs on some laptops
255 Group: Networking/Mail
256 Requires: %{name} >= %{epoch}:%{version}
257
258 %description acpi-plugin
259 This plugin for %{name} enables mail notification via LEDs
260 on some laptops.
261
262 %package att_remover-plugin
263 Summary: This plugin for %{name} enables the removal of attachments
264 Group: Networking/Mail
265 Requires: %{name} >= %{epoch}:%{version}
266
267 %description att_remover-plugin
268 This plugin for %{name} enables the removal of attachments.
269
270 %package bsfilter-plugin
271 Summary: This plugin enables spam fitering through bsfilter
272 Group: Networking/Mail
273 Requires: %{name} >= %{epoch}:%{version}
274
275 %description bsfilter-plugin
276 Check all messages that are received from an IMAP, LOCAL or POP account
277 for spam using Bsfilter.
278
279 %package fancy-plugin
280 Summary: This plugin renders HTML e-mails through WebKit
281 Group: Networking/Mail
282 BuildRequires: webkitgtk-devel
283 Requires: %{name} >= %{epoch}:%{version}
284 Obsoletes: %{name}-gtkhtml2_viewer-plugin < 1:3.9.1
285 Obsoletes: %{name}-dillo_viewer-plugin < 1:3.9.1
286
287 %description fancy-plugin
288 Renders HTML e-mail using the WebKit library
289
290 %package fetchinfo-plugin
291 Summary: This plugin inserts headers containing some download information
292 Group: Networking/Mail
293 Requires: %{name} >= %{epoch}:%{version}
294
295 %description fetchinfo-plugin
296 This plugin for %{name} inserts headers containing some download
297 information: UIDL, Sylpheeds account name, POP server, user ID
298 and retrieval time.
299
300 %package mailmbox-plugin
301 Summary: This plugin provides direct access to mbox folders
302 Group: Networking/Mail
303 Requires: %{name} >= %{epoch}:%{version}
304
305 %description mailmbox-plugin
306 This plugin for %{name} provides direct access to mbox folders.
307
308 %package newmail-plugin
309 Summary: This plugin can write a summary to a log file
310 Group: Networking/Mail
311 Requires: %{name} >= %{epoch}:%{version}
312
313 %description newmail-plugin
314 This plugin for %{name} can write a summary to a log file upon
315 receiving new mail. It defaults to ~/Mail/NewLog.
316
317 %package notification-plugin
318 Summary: This plugin notify from new mail
319 Group: Networking/Mail
320 BuildRequires: libnotify-devel
321 Requires: %{name} >= %{epoch}:%{version}
322 Obsoletes: %{name}-trayicon-plugin < 1:3.9.1
323
324 %description notification-plugin
325 This plugin for %{name} notify from new incoming mail.
326
327 %package perl-plugin
328 Summary: Perl interface to %{name}s' filtering mechanism
329 Group: Networking/Mail
330 Requires: %{name} >= %{epoch}:%{version}
331
332 %description perl-plugin
333 This plugin is intended to extend the filtering possibilities
334 of %{name}. It provides a Perl interface to %{name}s'
335 filtering mechanism, allowing the use of full Perl power in
336 email filters.
337
338 %package python-plugin
339 Summary: Python scriptin access to %{name}
340 Group: Networking/Mail
341 Requires: %{name} >= %{epoch}:%{version}
342
343 %description python-plugin
344 This plugin offers a Python scripting access to %{name}.
345
346 %package rssyl-plugin
347 Summary: This plugin allows you to read your favorite newsfeeds in %{name}
348 Group: Networking/Mail
349 Requires: %{name} >= %{epoch}:%{version}
350
351 %description rssyl-plugin
352 This plugin allows you to read your favorite newsfeeds in %{name}.
353 RSS 1.0, 2.0 and Atom feeds are currently supported.
354
355 %package vcalendar-plugin
356 Summary: This plugin for %{name} enables vCalendar message handling
357 Group: Networking/Mail
358 Requires: %{name} >= %{epoch}:%{version}
359
360 %description vcalendar-plugin
361 This %{name} plugin handles the vCalendar format (or rather, the
362 meeting subset of it). It displays such mails in a nice format, lets you
363 create and send meetings, and creates a virtual folder with the meetings you
364 have sent or received.
365
366 %package vcalendar-plugin-devel
367 Summary: This plugin for %{name} install the vcalendar plugin headers
368 Group: Networking/Mail
369 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
370
371 %description vcalendar-plugin-devel
372 Header files for %{name}-vcalendar-plugin.
373
374 %package attachwarner-plugin
375 Summary: This plugin for %{name} enables attachwarner
376 Group: Networking/Mail
377 Requires: %{name} >= %{epoch}:%{version}
378
379 %description attachwarner-plugin
380 This %{name} plugin provides attachwarner.
381
382 %package spam_report-plugin
383 Summary: This plugin for %{name} enables spamreport
384 Group: Networking/Mail
385 Requires: %{name} >= %{epoch}:%{version}
386
387 %description spam_report-plugin
388 This %{name} plugin provides spamreport.
389
390 %package tnef_parse-plugin
391 Summary: This plugin for %{name} enables parsing MS-TNEF attachments
392 Group: Networking/Mail
393 BuildRequires: libytnef-devel
394 Requires: %{name} >= %{epoch}:%{version}
395
396 %description tnef_parse-plugin
397 This %{name} plugin enables parsing MS-TNEF attachments.
398
399 %package address_keeper-plugin
400 Summary: %{name} plugin keeps all recipient addresses in an addressbook folder
401 Group: Networking/Mail
402 Requires: %{name} >= %{epoch}:%{version}
403
404 %description address_keeper-plugin
405 This %{name} plugin keeps all recipient addresses in an addressbook folder.
406
407 %package clamd-plugin
408 Summary: %{name} plugin to enable scanning all received messages
409 Group: Networking/Mail
410 Requires: %{name} >= %{epoch}:%{version}
411 Requires: clamav
412
413 %description clamd-plugin
414 This %{name} plugin scans all messages that are received from an IMAP, LOCAL
415 or POP account using clamd (Clam AV).
416
417 %package pdf_viewer-plugin
418 Summary: %{name} plugin to handle PDF attachments
419 Group: Networking/Mail
420 Obsoletes: %{name}-pdfviewer-plugin < 1:3.9.0-3
421 Requires: %{name} >= %{epoch}:%{version}
422
423 %description pdf_viewer-plugin
424 This %{name} plugin handles PDF and Postscript attachments.
425
426 %if 0%{?git:1}
427 %package libravatar-plugin
428 Summary: Libravatar plugin for %{name}
429 Group: Networking/Mail
430 Requires: %{name} >= %{epoch}:%{version}
431
432 %description libravatar-plugin
433 This plugin allows showing the profile picture associated to email addresses
434 provided by https://www.libravatar.org/.
435 %endif
436
437 %prep
438 %setup -q
439 %apply_patches
440
441 %build
442
443 %if 0%{?git:1}
444 autoreconf -vfi
445 %endif
446
447 %configure2_5x \
448 --disable-static \
449 --disable-rpath
450 %make
451
452 %check
453 make check
454
455 %install
456 %makeinstall_std
457
458 mkdir -p %{buildroot}%{_iconsdir}/hicolor/{16x16,32x32,48x48,64x64,128x128}/apps
459 convert %{name}.png -geometry 16x16 %{buildroot}%{_iconsdir}/hicolor/16x16/apps/%{iconname}
460 convert %{name}.png -geometry 32x32 %{buildroot}%{_iconsdir}/hicolor/32x32/apps/%{iconname}
461 install -m644 %{name}.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{iconname}
462 install -m644 %{name}-64x64.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{iconname}
463 install -m644 %{name}-128x128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{iconname}
464
465 find %{buildroot} -name '*.la' -delete
466
467 %find_lang %{name}
468 %find_lang acpi_notifier
469 %find_lang address_keeper
470 %find_lang attachwarner
471 %find_lang bsfilter_plugin
472 %find_lang clamd
473 %find_lang fancy
474 %find_lang fetchinfo-plugin
475 %find_lang notification_plugin
476 %find_lang pdf_viewer
477 %find_lang python_plugin
478 %find_lang rssyl
479 %find_lang spam_report
480 %find_lang tnef_parse
481 %find_lang vcalendar
482
483 %files -f %{name}.lang
484 %doc AUTHORS NEWS README* TODO* RELEASE_NOTES tools
485 %{_bindir}/%{name}
486 %{_bindir}/sylpheed-claws
487 %{_datadir}/applications/claws-mail.desktop
488 %dir %{_libdir}/%{name}
489 %dir %{_libdir}/%{name}/plugins
490 %{_iconsdir}/hicolor/*/apps/*.png
491 %{_mandir}/man1/%{name}.*
492
493 %files devel
494 %{_includedir}/%{name}/
495 %{_libdir}/pkgconfig/claws-mail.pc
496
497 %files plugins
498
499 %files archive-plugin
500 %{_libdir}/%{name}/plugins/archive.so
501
502 %files bogofilter-plugin
503 %{_libdir}/%{name}/plugins/bogofilter.so
504
505 %files gdata-plugin
506 %{_libdir}/%{name}/plugins/gdata.so
507
508 %files smime-plugin
509 %{_libdir}/%{name}/plugins/smime.so
510 %{_libdir}/%{name}/plugins/smime.deps
511
512 %files pgpcore-plugin
513 %{_libdir}/%{name}/plugins/pgpcore.so
514
515 %files pgpinline-plugin
516 %{_libdir}/%{name}/plugins/pgpinline.so
517 %{_libdir}/%{name}/plugins/pgpinline.deps
518
519 %files pgpmime-plugin
520 %{_libdir}/%{name}/plugins/pgpmime.so
521 %{_libdir}/%{name}/plugins/pgpmime.deps
522
523 %files spamassassin-plugin
524 %doc src/plugins/spamassassin/README
525 %{_libdir}/%{name}/plugins/spamassassin*.so
526
527 %files acpi-plugin -f acpi_notifier.lang
528 %{_libdir}/%{name}/plugins/acpi*
529
530 %files att_remover-plugin
531 %{_libdir}/%{name}/plugins/att_remover*
532
533 %files attachwarner-plugin -f attachwarner.lang
534 %{_libdir}/%{name}/plugins/attachwarner*
535
536 %files bsfilter-plugin -f bsfilter_plugin.lang
537 %{_libdir}/%{name}/plugins/bsfilter*
538
539 %files fancy-plugin -f fancy.lang
540 %{_libdir}/%{name}/plugins/fancy*
541
542 %files fetchinfo-plugin -f fetchinfo-plugin.lang
543 %{_libdir}/%{name}/plugins/fetchinfo*
544
545 %files mailmbox-plugin
546 %{_libdir}/%{name}/plugins/mailmbox*
547
548 %files newmail-plugin
549 %{_libdir}/%{name}/plugins/newmail*
550
551 %files notification-plugin -f notification_plugin.lang
552 %{_libdir}/%{name}/plugins/noti*
553
554 %files perl-plugin
555 %{_libdir}/%{name}/plugins/perl*
556
557 %files python-plugin -f python_plugin.lang
558 %{_libdir}/%{name}/plugins/python*
559
560 %files rssyl-plugin -f rssyl.lang
561 %{_libdir}/%{name}/plugins/rssyl*
562
563 %files vcalendar-plugin -f vcalendar.lang
564 %{_libdir}/%{name}/plugins/vcalendar*
565
566 %files vcalendar-plugin-devel
567 %{_includedir}/%{name}/plugins/vcalendar/vcal_interface.h
568
569 %files spam_report-plugin -f spam_report.lang
570 %{_libdir}/%{name}/plugins/spamreport*
571
572 %files tnef_parse-plugin -f tnef_parse.lang
573 %{_libdir}/%{name}/plugins/tnef_parse*
574
575 %files address_keeper-plugin -f address_keeper.lang
576 %{_libdir}/%{name}/plugins/address_keeper*
577
578 %files clamd-plugin -f clamd.lang
579 %{_libdir}/%{name}/plugins/clamd*
580
581 %files pdf_viewer-plugin -f pdf_viewer.lang
582 %{_libdir}/%{name}/plugins/pdf_viewer*
583
584 %if 0%{?git:1}
585 %files libravatar-plugin
586 %doc src/plugins/libravatar/README
587 %doc src/plugins/libravatar/TODO
588 %{_libdir}/%{name}/plugins/libravatar.so
589 %endif

  ViewVC Help
Powered by ViewVC 1.1.28