Репозиторий Sisyphus
Последнее обновление: 14 июля 2020 | Пакетов: 17702 | Посещений: 18881180
en ru br
Репозитории ALT
S:3.17.5-alt1
5.1: 3.7.4-alt0.M50P.1
4.1: 3.6.1.cvs5-alt0.M41.2
4.0: 3.6.1.cvs5-alt0.M40.1
www.altlinux.org/Changes

Другие репозитории
Upstream:3.3.1

Группа :: Сети/Почта
Пакет: claws-mail

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and 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

Url: http://%name.sourceforge.net

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

%description
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
   Extensibility

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.

%prep
%setup -q -n  %_name-%branch

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

%patch1 -p1

%patch118 -p1

%autoreconf

%build
%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
--enable-crash-dialog
%else
--disable-crash-dialog
%endif
%make_build
%make -C tools

%install
%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
EOF

%find_lang %name

%files -f %name.lang
%doc AUTHORS ChangeLog* COPYING INSTALL NEWS README* TODO* RELEASE_NOTES
%_bindir/%name
%_bindir/%_name-%branch
%_man1dir/%_newname.1.gz
%_datadir/applications/%_newname.desktop
%_iconsdir/%_newname.png
%_iconsdir/hicolor/48x48/apps/%_newname.png
%_datadir/pixmaps/%_newname.png

%files devel
%_includedir/%_newname/*
%_libdir/pkgconfig/%_newname.pc
%_sysconfdir/rpm/macros.d/%name

%files plugin-dillo
%_libdir/%_newname/plugins/dillo_viewer.so

%files plugin-spamassassin
%_libdir/%_newname/plugins/spamassassin.so

%files plugin-bogofilter
%_libdir/%_newname/plugins/bogofilter.so

%files plugin-trayicon
%_libdir/%_newname/plugins/trayicon.so

%files plugin-pgpcore
%_libdir/%_newname/plugins/pgpcore.so

%files plugin-pgpmime
%_libdir/%_newname/plugins/pgpmime.so

%files plugin-pgpinline
%_libdir/%_newname/plugins/pgpinline.so

%files tools
%doc tools/README*
%_datadir/%name/tools/*

%post
%update_menus

%postun
%clean_menus

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin