Updated to 3.15.1

This commit is contained in:
Алзим 2017-09-16 10:51:17 +03:00
parent 45e9f677fd
commit ba0365b451
3 changed files with 126 additions and 125 deletions

View file

@ -1,2 +1,2 @@
sources: sources:
claws-mail-3.14.1.tar.bz2: 27299205f777f060b39d284a34557c73bbf2b606 claws-mail-3.15.1.tar.bz2: 743a8f13dd0df4a0441616a3ea7aa445ed19070c

1
claws-mail.rpmlintrc Normal file
View file

@ -0,0 +1 @@
addFilter("W: no-documentation")

View file

@ -1,6 +1,7 @@
%define _disable_ld_no_undefined 1 %define debug_package %{nil}
%define flag_gtk3 0 %define disable_ld_no_undefined 1
%define flag_demo 1 %define flag_gtk3 0
%define flag_demo 1
# There are perl scripts in docs/tools and we don't want to install perl # There are perl scripts in docs/tools and we don't want to install perl
# modules required by these scripts # modules required by these scripts
@ -8,13 +9,14 @@
Summary: The user-friendly, lightweight and fast GTK2 based email client Summary: The user-friendly, lightweight and fast GTK2 based email client
Name: claws-mail Name: claws-mail
Version: 3.14.1 Version: 3.15.1
Release: 3 Release: 1
Epoch: 1 Epoch: 1
License: GPLv3+ License: GPLv3+
Group: Networking/Mail Group: Networking/Mail
Url: http://www.claws-mail.org Url: http://www.claws-mail.org
Source0: http://www.claws-mail.org/releases/%{name}-%{version}.tar.bz2 Source0: http://www.claws-mail.org/releases/%{name}-%{version}.tar.bz2
Source1: claws-mail.rpmlintrc
# from Debian # from Debian
Patch0: claws-mail-3.13.2-trashed-read.patch Patch0: claws-mail-3.13.2-trashed-read.patch
BuildRequires: bison BuildRequires: bison
@ -26,6 +28,7 @@ BuildRequires: intltool
BuildRequires: compface-devel BuildRequires: compface-devel
BuildRequires: gpgme-devel > 0.4.5 BuildRequires: gpgme-devel > 0.4.5
BuildRequires: libetpan-devel >= 0.42 BuildRequires: libetpan-devel >= 0.42
BuildRequires: libytnef-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: openldap-devel BuildRequires: openldap-devel
BuildRequires: perl-devel BuildRequires: perl-devel
@ -52,6 +55,7 @@ BuildRequires: pkgconfig(libcanberra-gtk3)
BuildRequires: pkgconfig(libcanberra-gtk) BuildRequires: pkgconfig(libcanberra-gtk)
%endif %endif
BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libical)
BuildRequires: pkgconfig(libgcrypt) BuildRequires: pkgconfig(libgcrypt)
BuildRequires: pkgconfig(libgdata) BuildRequires: pkgconfig(libgdata)
BuildRequires: pkgconfig(libgnome-2.0) >= 2.0 BuildRequires: pkgconfig(libgnome-2.0) >= 2.0
@ -128,7 +132,7 @@ For a complete listing of Features: http://www.claws-mail.org/features.php
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package devel %package devel
Summary: Development files for Claws Mail Summary: Development files for Claws Mail
Group: Development/Other Group: Development/Other
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
@ -136,132 +140,132 @@ Requires: %{name} = %{EVRD}
Obsoletes: %{name}-notification-plugin-devel < %{EVRD} Obsoletes: %{name}-notification-plugin-devel < %{EVRD}
Obsoletes: %{name}-vcalendar-plugin-devel < %{EVRD} Obsoletes: %{name}-vcalendar-plugin-devel < %{EVRD}
%description devel %description devel
Development files and headers for %{name}. Development files and headers for %{name}.
%files devel %files devel
%{_includedir}/%{name} %{_includedir}/%{name}
%{_libdir}/pkgconfig/claws-mail.pc %{_libdir}/pkgconfig/claws-mail.pc
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package acpi-plugin %package acpi-plugin
Summary: This Claws Mail plugin enables mail notification via LEDs on some laptops Summary: This Claws Mail plugin enables mail notification via LEDs on some laptops
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description acpi-plugin %description acpi-plugin
This plugin for Claws Mail enables mail notification via LEDs on some laptops. This plugin for Claws Mail enables mail notification via LEDs on some laptops.
%files acpi-plugin %files acpi-plugin
#%{_datadir}/appdata/claws-mail-acpi_notifier.metainfo.xml #%{_datadir}/appdata/claws-mail-acpi_notifier.metainfo.xml
%{_libdir}/%{name}/plugins/acpi_notifier.so %{_libdir}/%{name}/plugins/acpi_notifier.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package address_keeper-plugin %package address_keeper-plugin
Summary: This Claws Mail plugin never forgets e-mail adresses Summary: This Claws Mail plugin never forgets e-mail adresses
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description address_keeper-plugin %description address_keeper-plugin
This plugin for Claws Mail allows saving outgoing addresses to a designated This plugin for Claws Mail allows saving outgoing addresses to a designated
folder in the address book.Addresses are saved only if not found in the folder in the address book.Addresses are saved only if not found in the
address book to avoid unwanted duplicates. address book to avoid unwanted duplicates.
%files address_keeper-plugin %files address_keeper-plugin
#%{_datadir}/appdata/claws-mail-address_keeper.metainfo.xml #%{_datadir}/appdata/claws-mail-address_keeper.metainfo.xml
%{_libdir}/%{name}/plugins/address_keeper.so %{_libdir}/%{name}/plugins/address_keeper.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package archive-plugin %package archive-plugin
Summary: Mail Archiver Summary: Mail Archiver
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description archive-plugin %description archive-plugin
This plugin adds archiving features to Claws Mail. This plugin adds archiving features to Claws Mail.
%files archive-plugin %files archive-plugin
#%{_datadir}/appdata/claws-mail-archive.metainfo.xml #%{_datadir}/appdata/claws-mail-archive.metainfo.xml
%{_libdir}/%{name}/plugins/archive.so %{_libdir}/%{name}/plugins/archive.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package att_remover-plugin %package att_remover-plugin
Summary: This Claws Mail plugin enables the removal of attachments Summary: This Claws Mail plugin enables the removal of attachments
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description att_remover-plugin %description att_remover-plugin
This plugin for Claws Mail enables the removal of attachments. This plugin for Claws Mail enables the removal of attachments.
%files att_remover-plugin %files att_remover-plugin
#%{_datadir}/appdata/claws-mail-att_remover.metainfo.xml #%{_datadir}/appdata/claws-mail-att_remover.metainfo.xml
%{_libdir}/%{name}/plugins/att_remover.so %{_libdir}/%{name}/plugins/att_remover.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package attachwarner-plugin %package attachwarner-plugin
Summary: This Claws Mail plugin enables attachment warnings Summary: This Claws Mail plugin enables attachment warnings
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description attachwarner-plugin %description attachwarner-plugin
This Claws Mail plugin enables attachment warnings. This Claws Mail plugin enables attachment warnings.
%files attachwarner-plugin %files attachwarner-plugin
#%{_datadir}/appdata/claws-mail-attachwarner.metainfo.xml #%{_datadir}/appdata/claws-mail-attachwarner.metainfo.xml
%{_libdir}/%{name}/plugins/attachwarner.so %{_libdir}/%{name}/plugins/attachwarner.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package bogofilter-plugin %package bogofilter-plugin
Summary: Bogofilter plugin for Claws Mail Summary: Bogofilter plugin for Claws Mail
Group: Networking/Mail Group: Networking/Mail
BuildRequires: bogofilter BuildRequires: bogofilter
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
Requires: bogofilter Requires: bogofilter
%description bogofilter-plugin %description bogofilter-plugin
Enables the scanning of incoming mail received from a POP, IMAP, or LOCAL Enables the scanning of incoming mail received from a POP, IMAP, or LOCAL
account using Bogofilter. It can optionally delete mail identified as spam account using Bogofilter. It can optionally delete mail identified as spam
or save it to a designated folder. Bogofilter is a pure Bayesian filter, or save it to a designated folder. Bogofilter is a pure Bayesian filter,
therefore it has better speed performance than SpamAssassin but might catch therefore it has better speed performance than SpamAssassin but might catch
less spam. less spam.
%files bogofilter-plugin %files bogofilter-plugin
#%{_datadir}/appdata/claws-mail-bogofilter.metainfo.xml #%{_datadir}/appdata/claws-mail-bogofilter.metainfo.xml
%{_libdir}/%{name}/plugins/bogofilter.so %{_libdir}/%{name}/plugins/bogofilter.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package bsfilter-plugin %package bsfilter-plugin
Summary: This Claws Mail plugin enables spam fitering through bsfilter Summary: This Claws Mail plugin enables spam fitering through bsfilter
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description bsfilter-plugin %description bsfilter-plugin
Check all messages that are received from an IMAP, LOCAL or POP account Check all messages that are received from an IMAP, LOCAL or POP account
for spam using Bsfilter. for spam using Bsfilter.
%files bsfilter-plugin %files bsfilter-plugin
#%{_datadir}/appdata/claws-mail-bsfilter.metainfo.xml #%{_datadir}/appdata/claws-mail-bsfilter.metainfo.xml
%{_libdir}/%{name}/plugins/bsfilter.so %{_libdir}/%{name}/plugins/bsfilter.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package clamd-plugin %package clamd-plugin
Summary: This Claws Mail plugin enables spam fitering through Clam AntiVirus Summary: This Claws Mail plugin enables spam fitering through Clam AntiVirus
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description clamd-plugin %description clamd-plugin
Check all messages that are received from an IMAP, LOCAL or POP account Check all messages that are received from an IMAP, LOCAL or POP account
for spam using Clam AntiVirus. for spam using Clam AntiVirus.
%files clamd-plugin %files clamd-plugin
#%{_datadir}/appdata/claws-mail-clamd.metainfo.xml #%{_datadir}/appdata/claws-mail-clamd.metainfo.xml
%{_libdir}/%{name}/plugins/clamd.so %{_libdir}/%{name}/plugins/clamd.so
@ -269,115 +273,115 @@ for spam using Clam AntiVirus.
%if %flag_demo %if %flag_demo
%package demo %package demo
Summary: This Claws Mail demo plugin for programming Summary: This Claws Mail demo plugin for programming
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description demo %description demo
Demo plugin for Claws Mail Demo plugin for Claws Mail
%files demo %files demo
%{_libdir}/%{name}/plugins/demo.so %{_libdir}/%{name}/plugins/demo.so
%endif %endif
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package fancy-plugin %package fancy-plugin
Summary: This Claws Mail plugin renders HTML e-mails through WebKit Summary: This Claws Mail plugin renders HTML e-mails through WebKit
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description fancy-plugin %description fancy-plugin
Renders HTML e-mail using the WebKit library. Renders HTML e-mail using the WebKit library.
%files fancy-plugin %files fancy-plugin
#%{_datadir}/appdata/claws-mail-fancy.metainfo.xml #%{_datadir}/appdata/claws-mail-fancy.metainfo.xml
%{_libdir}/%{name}/plugins/fancy.so %{_libdir}/%{name}/plugins/fancy.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package fetchinfo-plugin %package fetchinfo-plugin
Summary: This Claws Mail plugin inserts headers containing some download information Summary: This Claws Mail plugin inserts headers containing some download information
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description fetchinfo-plugin %description fetchinfo-plugin
This plugin for Claws Mail inserts headers containing some download This plugin for Claws Mail inserts headers containing some download
information: UIDL, Sylpheeds account name, POP server, user ID information: UIDL, Sylpheeds account name, POP server, user ID
and retrieval time. and retrieval time.
%files fetchinfo-plugin %files fetchinfo-plugin
#%{_datadir}/appdata/claws-mail-fetchinfo.metainfo.xml #%{_datadir}/appdata/claws-mail-fetchinfo.metainfo.xml
%{_libdir}/%{name}/plugins/fetchinfo.so %{_libdir}/%{name}/plugins/fetchinfo.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package gdata-plugin %package gdata-plugin
Summary: This Claws Mail plugin enables access to GData (Google services) Summary: This Claws Mail plugin enables access to GData (Google services)
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description gdata-plugin %description gdata-plugin
Plugin to access to GData (Google services). The only currently implemented Plugin to access to GData (Google services). The only currently implemented
feature is inclusion of Google contacts into the address completion. feature is inclusion of Google contacts into the address completion.
%files gdata-plugin %files gdata-plugin
#%{_datadir}/appdata/claws-mail-gdata.metainfo.xml #%{_datadir}/appdata/claws-mail-gdata.metainfo.xml
%{_libdir}/%{name}/plugins/gdata.so %{_libdir}/%{name}/plugins/gdata.so
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
%package kdeservicemenu %package kdeservicemenu
Summary: This Claws Mail kde service menu integrated Summary: This Claws Mail kde service menu integrated
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description kdeservicemenu %description kdeservicemenu
This Claws Mail kde service menu integrated This Claws Mail kde service menu integrated
%files kdeservicemenu %files kdeservicemenu
%{_bindir}/claws-mail-kdeservicemenu.pl %{_bindir}/claws-mail-kdeservicemenu.pl
%{_datadir}/kde4/services/ServiceMenus/claws-mail-attach-files.desktop %{_datadir}/kde4/services/ServiceMenus/claws-mail-attach-files.desktop
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package libravatar-plugin %package libravatar-plugin
Summary: This Claws Mail plugin enables libravatar support Summary: This Claws Mail plugin enables libravatar support
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description libravatar-plugin %description libravatar-plugin
Plugin to show the profile pictures associated to email addresses provided by Plugin to show the profile pictures associated to email addresses provided by
libravatar service ( http://www.libravatar.org ). libravatar service ( http://www.libravatar.org ).
%files libravatar-plugin %files libravatar-plugin
#%{_datadir}/appdata/claws-mail-libravatar.metainfo.xml #%{_datadir}/appdata/claws-mail-libravatar.metainfo.xml
%{_libdir}/%{name}/plugins/libravatar.so %{_libdir}/%{name}/plugins/libravatar.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package mailmbox-plugin %package mailmbox-plugin
Summary: This Claws Mail plugin provides direct access to mbox folders Summary: This Claws Mail plugin provides direct access to mbox folders
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description mailmbox-plugin %description mailmbox-plugin
This Claws Mail plugin provides direct access to mbox folders. This Claws Mail plugin provides direct access to mbox folders.
%files mailmbox-plugin %files mailmbox-plugin
#%{_datadir}/appdata/claws-mail-mailmbox.metainfo.xml #%{_datadir}/appdata/claws-mail-mailmbox.metainfo.xml
%{_libdir}/%{name}/plugins/mailmbox.so %{_libdir}/%{name}/plugins/mailmbox.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package managesieve-plugin %package managesieve-plugin
Summary: ManageSieve plugin for %{name} Summary: ManageSieve plugin for %{name}
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} >= %{EVRD} Requires: %{name} >= %{EVRD}
%description managesieve-plugin %description managesieve-plugin
The Claws Mail ManageSieve plugin provides an interface for managing Sieve The Claws Mail ManageSieve plugin provides an interface for managing Sieve
filters. Sieve filters are used for filtering mail on mail servers, usually filters. Sieve filters are used for filtering mail on mail servers, usually
with an IMAP account. with an IMAP account.
@ -385,92 +389,92 @@ with an IMAP account.
This plugin handles managing Sieve filters, editing them, and checking their This plugin handles managing Sieve filters, editing them, and checking their
syntax. syntax.
%files managesieve-plugin %files managesieve-plugin
%{_libdir}/%{name}/plugins/managesieve.so %{_libdir}/%{name}/plugins/managesieve.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package newmail-plugin %package newmail-plugin
Summary: This Claws Mail plugin can write a summary to a log file Summary: This Claws Mail plugin can write a summary to a log file
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description newmail-plugin %description newmail-plugin
This Claws Mail plugin can write a summary to a log file upon This Claws Mail plugin can write a summary to a log file upon
receiving new mail. It defaults to ~/Mail/NewLog. receiving new mail. It defaults to ~/Mail/NewLog.
%files newmail-plugin %files newmail-plugin
#%{_datadir}/appdata/claws-mail-newmail.metainfo.xml #%{_datadir}/appdata/claws-mail-newmail.metainfo.xml
%{_libdir}/%{name}/plugins/newmail.so %{_libdir}/%{name}/plugins/newmail.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package notification-plugin %package notification-plugin
Summary: This Claws Mail plugin notifies about new mail Summary: This Claws Mail plugin notifies about new mail
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description notification-plugin %description notification-plugin
This Claws Mail plugin notifies about new mail. This Claws Mail plugin notifies about new mail.
%files notification-plugin %files notification-plugin
#%{_datadir}/appdata/claws-mail-notification.metainfo.xml #%{_datadir}/appdata/claws-mail-notification.metainfo.xml
%{_libdir}/%{name}/plugins/notification.so %{_libdir}/%{name}/plugins/notification.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package pdfviewer-plugin %package pdfviewer-plugin
Summary: This Claws Mail plugin handles PDF and PostScript attachments Summary: This Claws Mail plugin handles PDF and PostScript attachments
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description pdfviewer-plugin %description pdfviewer-plugin
This Claws Mail plugin This plugin handles PDF and PostScript attachments. This Claws Mail plugin This plugin handles PDF and PostScript attachments.
%files pdfviewer-plugin %files pdfviewer-plugin
#%{_datadir}/appdata/claws-mail-pdf_viewer.metainfo.xml #%{_datadir}/appdata/claws-mail-pdf_viewer.metainfo.xml
%{_libdir}/%{name}/plugins/pdf_viewer.so %{_libdir}/%{name}/plugins/pdf_viewer.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package perl-plugin %package perl-plugin
Summary: Perl interface to Claws Mail's filtering mechanism Summary: Perl interface to Claws Mail's filtering mechanism
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description perl-plugin %description perl-plugin
This plugin is intended to extend the filtering possibilities of Claws Mail. This plugin is intended to extend the filtering possibilities of Claws Mail.
It provides a Perl interface to Claws Mail's filtering mechanism, allowing It provides a Perl interface to Claws Mail's filtering mechanism, allowing
the use of full Perl power in email filters. the use of full Perl power in email filters.
%files perl-plugin %files perl-plugin
#%{_datadir}/appdata/claws-mail-perl.metainfo.xml #%{_datadir}/appdata/claws-mail-perl.metainfo.xml
%{_libdir}/%{name}/plugins/perl.so %{_libdir}/%{name}/plugins/perl.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package pgpcore-plugin %package pgpcore-plugin
Summary: PGP core plugin for Claws Mail Summary: PGP core plugin for Claws Mail
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description pgpcore-plugin %description pgpcore-plugin
Handles core PGP functions and is a dependency of both the PGP/Inline and Handles core PGP functions and is a dependency of both the PGP/Inline and
PGP/MIME plugins. PGP/MIME plugins.
%files pgpcore-plugin %files pgpcore-plugin
#%{_datadir}/appdata/claws-mail-pgpcore.metainfo.xml #%{_datadir}/appdata/claws-mail-pgpcore.metainfo.xml
%{_libdir}/%{name}/plugins/pgpcore.so %{_libdir}/%{name}/plugins/pgpcore.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package pgpinline-plugin %package pgpinline-plugin
Summary: PGP/Inline plugin for Claws Mail Summary: PGP/Inline plugin for Claws Mail
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
Requires: %{name}-pgpcore-plugin = %{EVRD} Requires: %{name}-pgpcore-plugin = %{EVRD}
%description pgpinline-plugin %description pgpinline-plugin
Handles PGP/Inline signed and/or encrypted mails. You can decrypt mails, Handles PGP/Inline signed and/or encrypted mails. You can decrypt mails,
verify signatures or sign and encrypt your own mails. verify signatures or sign and encrypt your own mails.
@ -481,150 +485,149 @@ verify signatures or sign and encrypt your own mails.
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package pgpmime-plugin %package pgpmime-plugin
Summary: PGP/MIME plugin for Claws Mail Summary: PGP/MIME plugin for Claws Mail
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
Requires: %{name}-pgpcore-plugin = %{EVRD} Requires: %{name}-pgpcore-plugin = %{EVRD}
%description pgpmime-plugin %description pgpmime-plugin
Handles PGP/MIME signed and/or encrypted mails. You can decrypt mails, verify Handles PGP/MIME signed and/or encrypted mails. You can decrypt mails, verify
signatures or sign and encrypt your own mails. signatures or sign and encrypt your own mails.
%files pgpmime-plugin %files pgpmime-plugin
#%{_datadir}/appdata/claws-mail-pgpmime.metainfo.xml #%{_datadir}/appdata/claws-mail-pgpmime.metainfo.xml
%{_libdir}/%{name}/plugins/pgpmime.so %{_libdir}/%{name}/plugins/pgpmime.so
%{_libdir}/%{name}/plugins/pgpmime.deps %{_libdir}/%{name}/plugins/pgpmime.deps
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package python-plugin %package python-plugin
Summary: Python scriptin access to Claws Mail Summary: Python scriptin access to Claws Mail
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description python-plugin %description python-plugin
This plugin offers a Python scripting access to Claws Mail. This plugin offers a Python scripting access to Claws Mail.
%files python-plugin %files python-plugin
#%{_datadir}/appdata/claws-mail-python.metainfo.xml #%{_datadir}/appdata/claws-mail-python.metainfo.xml
%{_libdir}/%{name}/plugins/python.so %{_libdir}/%{name}/plugins/python.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package rssyl-plugin %package rssyl-plugin
Summary: This Claws Mail plugin allows you to read your favorite newsfeeds Summary: This Claws Mail plugin allows you to read your favorite newsfeeds
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description rssyl-plugin %description rssyl-plugin
This plugin allows you to read your favorite newsfeeds in Claws Mail. This plugin allows you to read your favorite newsfeeds in Claws Mail.
RSS 1.0, 2.0 and Atom feeds are currently supported. RSS 1.0, 2.0 and Atom feeds are currently supported.
%files rssyl-plugin %files rssyl-plugin
#%{_datadir}/appdata/claws-mail-rssyl.metainfo.xml #%{_datadir}/appdata/claws-mail-rssyl.metainfo.xml
%{_libdir}/%{name}/plugins/rssyl.so %{_libdir}/%{name}/plugins/rssyl.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package smime-plugin %package smime-plugin
Summary: S/Mime plugin for Claws Mail Summary: S/Mime plugin for Claws Mail
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description smime-plugin %description smime-plugin
This plugin allows to use S/Mime signatures and encryptions in Claws Mail. This plugin allows to use S/Mime signatures and encryptions in Claws Mail.
%files smime-plugin %files smime-plugin
#%{_datadir}/appdata/claws-mail-smime.metainfo.xml #%{_datadir}/appdata/claws-mail-smime.metainfo.xml
%{_libdir}/%{name}/plugins/smime.so %{_libdir}/%{name}/plugins/smime.so
%{_libdir}/%{name}/plugins/smime.deps %{_libdir}/%{name}/plugins/smime.deps
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package spamassassin-plugin %package spamassassin-plugin
Summary: Spamassassin-plugin for Claws Mail Summary: Spamassassin-plugin for Claws Mail
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
Requires: spamassassin-spamd Requires: spamassassin-spamd
%description spamassassin-plugin %description spamassassin-plugin
Enables the scanning of incoming mail received from a POP, IMAP, or LOCAL Enables the scanning of incoming mail received from a POP, IMAP, or LOCAL
account using SpamAssassin. See README for configuration and set-up info. account using SpamAssassin. See README for configuration and set-up info.
%files spamassassin-plugin %files spamassassin-plugin
%doc src/plugins/spamassassin/README %doc src/plugins/spamassassin/README
#%{_datadir}/appdata/claws-mail-spamassassin.metainfo.xml #%{_datadir}/appdata/claws-mail-spamassassin.metainfo.xml
%{_libdir}/%{name}/plugins/spamassassin.so %{_libdir}/%{name}/plugins/spamassassin.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package spam_report-plugin %package spam_report-plugin
Summary: This Claws Mail plugin provides spamreport Summary: This Claws Mail plugin provides spamreport
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description spam_report-plugin %description spam_report-plugin
This Claws Mail plugin provides spamreport. This Claws Mail plugin provides spamreport.
%files spam_report-plugin %files spam_report-plugin
#%{_datadir}/appdata/claws-mail-spam_report.metainfo.xml #%{_datadir}/appdata/claws-mail-spam_report.metainfo.xml
%{_libdir}/%{name}/plugins/spamreport.so %{_libdir}/%{name}/plugins/spamreport.so
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%package tnef_parse-plugin %package tnef_parse-plugin
Summary: This Claws Mail plugin enables parsing MS-TNEF attachments Summary: This Claws Mail plugin enables parsing MS-TNEF attachments
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description tnef_parse-plugin %description tnef_parse-plugin
This Claws Mail plugin enables parsing MS-TNEF attachments. This Claws Mail plugin enables parsing MS-TNEF attachments.
%files tnef_parse-plugin %files tnef_parse-plugin
#%{_datadir}/appdata/claws-mail-tnef_parse.metainfo.xml #%{_datadir}/appdata/claws-mail-tnef_parse.metainfo.xml
%{_libdir}/%{name}/plugins/tnef_parse.so %{_libdir}/%{name}/plugins/tnef_parse.so
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
%package tools %package tools
Summary: This Claws Mail tools Summary: This Claws Mail tools
Group: Networking/Mail Group: Networking/Mail
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
%description tools %description tools
This Claws Mail tools. This Claws Mail tools.
%files tools %files tools
%{_libdir}/%{name}/tools/* %{_libdir}/%{name}/tools/*
#---------------------------------------------------------------------------- # #----------------------------------------------------------------------------
#
%package vcalendar-plugin # %package vcalendar-plugin
Summary: This Claws Mail plugin enables vCalendar message handling # Summary: This Claws Mail plugin enables vCalendar message handling
Group: Networking/Mail # Group: Networking/Mail
Requires: %{name} = %{EVRD} # Requires: %{name} = %{EVRD}
#
%description vcalendar-plugin # %description vcalendar-plugin
This Claws Mail plugin handles the vCalendar format (or rather, the meeting # This Claws Mail plugin handles the vCalendar format (or rather, the meeting
subset of it). It displays such mails in a nice format, lets you create and # subset of it). It displays such mails in a nice format, lets you create and
send meetings, and creates a virtual folder with the meetings you have sent # send meetings, and creates a virtual folder with the meetings you have sent
or received. # or received.
#
%files vcalendar-plugin # %files vcalendar-plugin
#%{_datadir}/appdata/claws-mail-vcalendar.metainfo.xml # #%{_datadir}/appdata/claws-mail-vcalendar.metainfo.xml
%{_libdir}/%{name}/plugins/vcalendar.so # %{_libdir}/%{name}/plugins/vcalendar.so
#
#----------------------------------------------------------------------------- # #-----------------------------------------------------------------------------
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
%build %build
export CFLAGS+=" -Wno-error"
%configure2_5x \ %configure2_5x \
--enable-appdata \
--enable-archive-plugin \ --enable-archive-plugin \
--enable-compface \ --enable-compface \
--enable-crash-dialog \ --enable-crash-dialog \
@ -636,7 +639,6 @@ or received.
--enable-jpilot \ --enable-jpilot \
--enable-ldap \ --enable-ldap \
--enable-gnutls \ --enable-gnutls \
--enable-networkmanager-support \
--enable-spamassassin-plugin \ --enable-spamassassin-plugin \
%if %flag_demo %if %flag_demo
--enable-demo-plugin \ --enable-demo-plugin \
@ -674,10 +676,8 @@ rm -f %{buildroot}%{_datadir}/appdata/claws-mail-geolocation.metainfo.xml
# integrated kde menu # integrated kde menu
mkdir -p %{buildroot}%{_datadir}/kde4/services/ServiceMenus/ mkdir -p %{buildroot}%{_datadir}/kde4/services/ServiceMenus/
sed "s/SCRIPT_PATH/claws-mail-kdeservicemenu.pl/" tools/kdeservicemenu/claws-mail-attach-files.desktop.kde4template > %{buildroot}/%{_datadir}/kde4/services/ServiceMenus/claws-mail-attach-files.desktop sed "s/SCRIPT_PATH/claws-mail-kdeservicemenu.pl/" tools/kdeservicemenu/claws-mail-attach-files.desktop.kde4template > %{buildroot}/%{_datadir}/kde4/services/ServiceMenus/claws-mail-attach-files.desktop
#install -m644 tools/kdeservicemenu/claws-mail-attach-files.desktop.kde4template \
# %{buildroot}%{_datadir}/kde4/services/ServiceMenu/claws-mail-attach-files.desktop
install -m755 tools/kdeservicemenu/claws-mail-kdeservicemenu.pl %{buildroot}%{_bindir}/ install -m755 tools/kdeservicemenu/claws-mail-kdeservicemenu.pl %{buildroot}%{_bindir}/
cp -a tools %{buildroot}%{_libdir}/%{name}/ cp -a tools %{buildroot}%{_libdir}/%{name}/