Sisyphus repositório
Última atualização: 5 julho 2022 | SRPMs: 17503 | Visitas: 24507038
en ru br
ALT Linux repositórios
5.0: 3.6.1.cvs5-alt1.2
4.1: 3.6.1.cvs5-alt0.M41.2
4.0: 3.6.1.cvs5-alt0.M40.1

Outros repositórios

Group :: Rede/E-Mail
RPM: claws-mail

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _name sylpheed
%define _newname claws-mail
%define branch claws
%define cvs cvs5
%def_disable debug
Name: %_newname
Version: 3.6.1.%cvs
Release: alt0.M41.2

Summary: The bleeding edge branch of Sylpheed, a GTK+ based, lightweight, and fast e-mail client.
License: GPL
Group: Networking/Mail


Source: %name-%version.tar.bz2
Patch1: %name-alt-filters-conv.patch
#Patch2: %name-alt-ru-trans-mistakes.patch

# ALT Specific

#Patch110: %name-alt-prefs_common.c.patch
Patch117: %name-alt-gettext-fix.patch
Patch118: claws-mail-2.10.0.cvs81-plugin.c-module-load-dirty-fix.patch

Obsoletes: %_name-%branch < %version
Provides: %_name-%branch
BuildPreReq: autoconf-common cvs gettext-tools

# Automatically added by buildreq on Mon Oct 13 2008

BuildRequires: NetworkManager-devel flex gcc-c++ libSM-devel libcompface-devel libdbus-glib-devel libenchant-devel libetpan-devel libgnutls-new-devel libgpgme-devel libgtk+2-devel libldap-devel libpilot-link-devel libstartup-notification-devel

Claws Mail is an email client (and news reader), based on GTK+, featuring

   Quick response
   Graceful, and sophisticated interface
   Easy configuration, intuitive operation
   Abundant features

The appearance and interface are designed to be familiar to new users coming
from other popular email clients, as well as experienced users. Almost all commands
are accessible with the keyboard.

The messages are managed in the standard MH format, which features fast access
and data security. You'll be able to import your emails from almost any other email client,
and export them just as easily.

Lots of extra functionality, like an RSS aggregator, calendar, or laptop LED handling,
are provided by extra plugins.

Claws Mail is distributed under the GPL.

%package        devel
Summary:        Development environment for %name.
Group:          Development/C
Requires: %name = %version-%release
Requires: openssl-devel
Obsoletes: %_name-%branch-devel < %version
Provides: %_name-%branch-devel

%description devel
This package contains the header files and libraries for building program which
use %name.

%package plugin-dillo
Summary: dillo browser plugin for %name.
Group: Networking/Mail
Requires: %name = %version
Requires: dillo
Obsoletes: %_name-%branch-plugin-dillo < %version
Provides: %_name-%branch-plugin-dillo

%description plugin-dillo
dillo browser plugin for %name.

%package plugin-spamassassin
Summary: spamassassin plugin for %name.
Group: Networking/Mail
Requires: %name = %version
Requires: spamassassin
Obsoletes: %_name-%branch-plugin-spamassassin < %version
Provides: %_name-%branch-plugin-spamassassin

%description plugin-spamassassin
spamasassin plugin for %name.

%package plugin-bogofilter
Summary: bogofilter plugin for %name.
Group: Networking/Mail
Requires: %name = %version
Requires: bogofilter bogofilter-utils
Obsoletes: %_name-%branch-plugin-bogofilter < %version
Provides: %_name-%branch-plugin-bogofilter

%description plugin-bogofilter
bogofilter plugin for %name.

%package plugin-trayicon
Summary: trayicon plugin for %name.
Group: Networking/Mail
Requires: %name = %version
Obsoletes: %_name-%branch-plugin-trayicon < %version
Provides: %_name-%branch-plugin-trayicon

%description plugin-trayicon
trayicon plugin for %name.

%package plugin-pgpcore
Summary: pgpcore plugin for %name.
Group: Networking/Mail
Requires: %name = %version
Obsoletes: %_name-%branch-plugin-pgpcore < %version
Provides: %_name-%branch-plugin-pgpcore

%description plugin-pgpcore
pgpcore plugin for %name.

%package plugin-pgpmime
Summary: pgpmime plugin for %name.
Group: Networking/Mail
Requires: %name = %version
Requires: %name-plugin-pgpcore = %version
Obsoletes: %_name-%branch-plugin-pgpmime < %version
Provides: %_name-%branch-plugin-pgpmime

%description plugin-pgpmime
pgpmime plugin for %name.

%package plugin-pgpinline
Summary: pgpinline plugin for %name.
Group: Networking/Mail
Requires: %name = %version
Requires: %name-plugin-pgpcore = %version
Obsoletes: %_name-%branch-plugin-pgpinline < %version
Provides: %_name-%branch-plugin-pgpinline

%description plugin-pgpinline
pgpinline plugin for %name.

%package tools
Summary: additional tools for %name.
Group: Networking/Mail
Requires: %name = %version
Requires:       python
BuildRequires:  python
BuildRequires: python-modules-encodings
BuildPreReq: perl-MIME-tools
BuildPreReq: perl-Text-Iconv
BuildPreReq: perl-XML-SimpleObject
BuildPreReq: perl-URI
BuildPreReq: perl-libwww
BuildPreReq: perl-Text-CSV_XS
Obsoletes: %_name-%branch-tools < %version
Provides: %_name-%branch-tools

%description tools
additional tools for %name.

%setup -q -n  %_name-%branch

%__subst "s,\#\!/usr/bin/python2.2,\#\!/usr/bin/python," tools/
%__subst "s,\#\!/usr/bin/perl,\#\!/usr/bin/perl -w," tools/
%__subst "s,sylpheed,sylpheed-claws," tools/
%__subst "s,%%f,%%N," ./src/prefs_quote.c

%patch1 -p1

%patch118 -p1


%configure --disable-rpath \
--with-lib-prefix=%_usr \
--with-aspell-includes=%_includedir \
--with-aspell-libs=%_libdir \
--with-faqdir=%_datadir/%name \
--with-manualdir=%_datadir/%name \
--with-config-dir=.%name \
--disable-manual \
%if_enabled debug
%make -C tools

%make DESTDIR=%buildroot install
%make -C tools install

%__mkdir_p %buildroot%_datadir/%name/
%__cp -va  tools %buildroot%_datadir/%name/
%__rm -vf  %buildroot%_datadir/%name/tools/README*
%__rm -vf  %buildroot%_datadir/%name/tools/Makefile*
%__mkdir_p %buildroot%_datadir/applications
%__install -p -m644 %_newname.desktop %buildroot%_datadir/applications

%__mkdir_p %buildroot/%_iconsdir
%__install -p -m644 %_newname.png %buildroot/%_iconsdir/%_newname.png
%__mkdir_p %buildroot%_datadir/pixmaps
%__ln_s %_iconsdir/%_newname.png %buildroot%_datadir/pixmaps

%__mkdir_p %buildroot%_sysconfdir/rpm/macros.d
cat << EOF >  %buildroot%_sysconfdir/rpm/macros.d/%name
%%_claws_version %version

%find_lang %name

%files -f %name.lang

%files devel

%files plugin-dillo

%files plugin-spamassassin

%files plugin-bogofilter

%files plugin-trayicon

%files plugin-pgpcore

%files plugin-pgpmime

%files plugin-pgpinline

%files tools
%doc tools/README*




Todas as alterações você pod ver aqui

projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009