File tkrat.spec of Package tkrat

#
# spec file for package tkrat (Version 2.2)
#
# Copyright (c) 2009 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 http://bugs.opensuse.org/
#

# norootforbuild


Name:           tkrat
Url:            http://www.tkrat.org
BuildRequires:  openssl-devel pam-devel tk-devel 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-20071230.tar.bz2
Patch0:         tkrat.patch
Patch1:         tkrat-warnings.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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



Authors:
--------
    maf@dtek.chalmers.se

%prep
%setup -q -n %name
%patch0
%patch1

%build
export CFLAGS="%optflags -fno-strict-aliasing"
export CC=gcc
./configure \
	--prefix=%_prefix \
	--libdir=%tcl_archdir \
	--datadir=%tcl_noarchdir \
	--with-tkconfig=%_libdir \
	--mandir=%_mandir
make CC=gcc

%install
rm -rf %buildroot
make install INSTALL_PREFIX=%buildroot

%clean
rm -rf %buildroot

%files
%defattr(-,root,root)
%_prefix/bin/tkrat
%tcl_archdir
%tcl_noarchdir
%doc BLURB COPYRIGHT README
%doc doc/changes doc/interface doc/user* doc/LSM
%doc %_mandir/man1/tkrat.1*

%changelog
* Tue Apr 15 2008 jblunck@suse.de
- Remove exit 0 from install section
* Wed Apr 09 2008 max@suse.de
- Update to version 2.2 from CVS
- Works with Tcl/Tk 8.5
* Tue Feb 21 2006 max@suse.de
- Fixed some serious warnings (#152209).
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Dec 14 2005 ro@suse.de
- fix typo in tcl configure script
* Mon Aug 29 2005 max@suse.de
- Adjusted the content of the pkgIndex.tcl files, so that they
  work again at the new location.
* Tue Aug 02 2005 ro@suse.de
- mv pkgIndex.tcl to /usr/share
* Fri Jul 08 2005 max@suse.de
- New version: 2.1.5.
- Added missing header includes to allow lightweight buffer
  overflow checking.
* Mon Mar 01 2004 max@suse.de
- New version: 2.1.4.
- Obsoletes tkrat-tk8.4.patch, and tkrat-CONST.patch.
- Installing into %%_prefix instead of /usr/X11R6.
* Fri Jan 16 2004 ro@suse.de
- added pam-devel to neededforbuild
* Sat Jan 10 2004 adrian@suse.de
- add %%defattr
* Thu Jul 24 2003 max@suse.de
- Added tk-devel to neededforbuild.
* Tue Nov 12 2002 ro@suse.de
- changed neededforbuild <xf86 xdevel> to <x-devel-packages>
* Tue Sep 17 2002 ro@suse.de
- removed bogus self-provides
* Fri Aug 16 2002 max@suse.de
- Added tkrat-CONST.patch to reflect the latest changes in Tk.
* Fri Aug 09 2002 max@suse.de
- Updated to 2.1.
* Mon Jul 29 2002 max@suse.de
- Updated to version 2.1b3 which has better support for Tcl/Tk 8.4.
- Building with OpenSSL support.
- Added patch for Tk 8.4.
* Tue Sep 04 2001 egger@suse.de
- Updated to version 2.0.3. Bugfix release.
* Thu Mar 08 2001 max@suse.de
- added manpage to file list
- using Buildroot now
- added xdevel to neededforbuild
* Thu Feb 22 2001 uli@suse.de
- fixed for new glibc
* Thu Feb 22 2001 egger@suse.de
- Updated to version 2.0.1.
* Sat Dec 09 2000 egger@suse.de
- Updated to final version 2.0.
* Wed Nov 29 2000 ro@suse.de
- changed neededforbuild <tcld> to <tcl-devel>
* Wed Nov 08 2000 egger@suse.de
- Updated to version 2.0rc7.
* Thu Sep 14 2000 egger@suse.de
- Update to version 2.0rc6.
- Cleaned up specfile.
* Tue Jan 11 2000 max@suse.de
- added patch supplied from Thomas Gandy <thomas@gandy.dyndns.org>
  that fixes a y2k bug
* Mon Oct 11 1999 max@suse.de
- new version 1.2
- ready for new Tcl/Tk packages
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Thu Jan 08 1998 hf@suse.de
  new MUA tkrat version 1.0.5
openSUSE Build Service is sponsored by