Updated to 3.15.1

This commit is contained in:
Алзим 2017-09-16 11:27:40 +03:00
parent dc823a0bd4
commit acac8e7f11
3 changed files with 128 additions and 127 deletions

View file

@ -1,2 +1,2 @@
sources:
claws-mail-3.14.0.tar.bz2: 7c02f9c03e7dca1d59bb0ed5be8656fbc1086161
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,4 +1,5 @@
%define _disable_ld_no_undefined 1
%define debug_package %{nil}
%define disable_ld_no_undefined 1
%define flag_gtk3 0
%define flag_demo 1
@ -8,13 +9,14 @@
Summary: The user-friendly, lightweight and fast GTK2 based email client
Name: claws-mail
Version: 3.14.0
Release: 2
Version: 3.15.1
Release: 1
Epoch: 1
License: GPLv3+
Group: Networking/Mail
Url: http://www.claws-mail.org
Source0: http://www.claws-mail.org/releases/%{name}-%{version}.tar.bz2
Source1: claws-mail.rpmlintrc
# from Debian
Patch0: claws-mail-3.13.2-trashed-read.patch
BuildRequires: bison
@ -26,6 +28,7 @@ BuildRequires: intltool
BuildRequires: compface-devel
BuildRequires: gpgme-devel > 0.4.5
BuildRequires: libetpan-devel >= 0.42
BuildRequires: libytnef-devel
BuildRequires: libxml2-devel
BuildRequires: openldap-devel
BuildRequires: perl-devel
@ -52,6 +55,7 @@ BuildRequires: pkgconfig(libcanberra-gtk3)
BuildRequires: pkgconfig(libcanberra-gtk)
%endif
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libical)
BuildRequires: pkgconfig(libgcrypt)
BuildRequires: pkgconfig(libgdata)
BuildRequires: pkgconfig(libgnome-2.0) >= 2.0
@ -598,33 +602,32 @@ This Claws Mail tools.
%files tools
%{_libdir}/%{name}/tools/*
#----------------------------------------------------------------------------
%package vcalendar-plugin
Summary: This Claws Mail plugin enables vCalendar message handling
Group: Networking/Mail
Requires: %{name} = %{EVRD}
%description vcalendar-plugin
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
send meetings, and creates a virtual folder with the meetings you have sent
or received.
%files vcalendar-plugin
#%{_datadir}/appdata/claws-mail-vcalendar.metainfo.xml
%{_libdir}/%{name}/plugins/vcalendar.so
#-----------------------------------------------------------------------------
# #----------------------------------------------------------------------------
#
# %package vcalendar-plugin
# Summary: This Claws Mail plugin enables vCalendar message handling
# Group: Networking/Mail
# Requires: %{name} = %{EVRD}
#
# %description vcalendar-plugin
# 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
# send meetings, and creates a virtual folder with the meetings you have sent
# or received.
#
# %files vcalendar-plugin
# #%{_datadir}/appdata/claws-mail-vcalendar.metainfo.xml
# %{_libdir}/%{name}/plugins/vcalendar.so
#
# #-----------------------------------------------------------------------------
%prep
%setup -q
%patch0 -p1
%build
export CFLAGS+=" -Wno-error"
%configure2_5x \
--enable-appdata \
--enable-archive-plugin \
--enable-compface \
--enable-crash-dialog \
@ -636,7 +639,6 @@ or received.
--enable-jpilot \
--enable-ldap \
--enable-gnutls \
--enable-networkmanager-support \
--enable-spamassassin-plugin \
%if %flag_demo
--enable-demo-plugin \
@ -674,10 +676,8 @@ rm -f %{buildroot}%{_datadir}/appdata/claws-mail-geolocation.metainfo.xml
# integrated kde menu
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
#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}/
cp -a tools %{buildroot}%{_libdir}/%{name}/