File tkrat.spec of Package tkrat

# spec file for package tkrat
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           tkrat
BuildRequires:  openssl-devel
BuildRequires:  pam-devel
BuildRequires:  tk-devel
BuildRequires:  xorg-x11-devel
License:        BSD-3-Clause
Group:          Productivity/Networking/Email/Clients
AutoReqProv:    on
Version:        2.2
Release:        50
Summary:        A very mighty, graphical emailclient
Source0:        tkrat-2.2-20100721.tar.bz2
Patch0:         tkrat.patch
Patch1:         tkrat-warnings.patch
Patch2:         tkrat-load.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

TkRat is a very nice e-mail client with a graphical user interface. It
supports all major protocols (SMTP, POP3, IMAP) and mailbox formats. It
has powerful search function, is localized, can handle encrypted and
MIME-encoded e-mail, has a nice mail monitor, can sync e-mail for
offline work, and has many other nice features.

%setup -q -n %name
%patch2 -p 1

export CFLAGS="%optflags -fno-strict-aliasing"
export CC=gcc
%configure \
	--prefix=%_prefix \
	--libdir=%tcl_archdir \
	--datadir=%tcl_noarchdir \
	--with-tkconfig=%_libdir \
# tkrat's build system doesn not support make -j

rm -rf %buildroot
make install INSTALL_PREFIX=%buildroot

%doc doc/changes doc/interface doc/user* doc/LSM
%doc %_mandir/man1/tkrat.1*

openSUSE Build Service is sponsored by