File muttng.spec of Package muttng
#
# spec file for package muttng (Version 20060601)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
# usedforbuild aaa_base acl attr audit-libs autoconf automake bash bind-devel bind-libs bind-utils binutils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl cyrus-sasl-devel db diffutils e2fsprogs e2fsprogs-devel file filesystem fillup findutils flex gawk gcc gdbm gdbm-devel gettext gettext-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv klogd krb5 krb5-devel less libacl libattr libcom_err libesmtp libesmtp-devel libgcc libidn libidn-devel libltdl libnscd libstdc++ libtool libvolume_id libxcrypt libzio m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl openssl-devel pam pam-modules patch perl permissions popt procinfo procps psmisc pwdutils rcs readline rpm sed strace sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel
Name: muttng
%define with_gpgme 1
BuildRequires: bind-devel cyrus-sasl-devel krb5-devel libesmtp-devel libidn-devel openssl-devel
%if %{with_gpgme}
BuildRequires: gpgme-devel
%endif
Summary: Mutt next generation
Version: 20060601
Release: 2
License: GPL
URL: http://mutt-ng.berlios.de/
Group: Productivity/Networking/Email/Clients
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Autoreqprov: on
%description
Mutt next generation (mutt-ng) is a fork of the well-known email client
mutt with the goal to both incorporate all the patches that are
floating around in the web, and to fix all the other little annoyances
of mutt.
Authors:
--------
Please note that this is by no means an exhaustive list of all the
persons who have been contributing to this program. Please see the
manual for a (probably still non complete) list of the persons who
have been helpful with the development of this program.
Copyright (C) 1996-2001 Michael R. Elkins <me@cs.hmc.edu>
Copyright (C) 1996-2001 Brandon Long <blong@fiction.net>
Copyright (C) 1997-2001 Thomas Roessler <roessler@guug.de>
Copyright (C) 1998-2001 Werner Koch <wk@isil.d.shuttle.de>
Copyright (C) 1999-2001 Brendan Cully <brendan@kublai.com>
Copyright (C) 1999-2001 Tommi Komulainen <Tommi.Komulainen@iki.fi>
Copyright (C) 2000-2001 Edmund Grimley Evans <edmundo@rano.org>
Copyright (C) 2005:
Parts written/modified by:
Andreas Krennmair <ak@synflood.at>
Nico Golde <nico@ngolde.de>
Rocco Rutte <pdmef@cs.tu-berlin.de>
%debug_package
%prep
%setup
%build
#-I. -D_GNU_SOURCE
export CFLAGS="-Wall $RPM_OPT_FLAGS -fno-strict-aliasing"
%if 0%{?suse_version} > 1000
export CFLAGS="$CFLAGS -fstack-protector"
%endif
%configure \
--with-docdir=%_docdir/%{name} \
--disable-domain \
--enable-imap \
--enable-pop \
--enable-nntp \
--enable-pgp \
--enable-smime \
--enable-nfs-fix \
--enable-compressed \
--disable-inodesort \
--enable-buffy-size \
--enable-hcache \
--with-regexp \
--with-sasl2 \
--with-gss \
%if %{with_gpgme}
--enable-gpgme \
%endif
--with-idn \
--with-ssl=%{_prefix} \
--with-libesmtp
%{__make}
%install
%makeinstall
%find_lang %{name}
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/fleang
%{_bindir}/muttng
%{_bindir}/muttngbug
%{_bindir}/pgpewrapng
%{_bindir}/pgpringng
%{_bindir}/smime_keysng
%doc %{_docdir}/%{name}
%{_sysconfdir}/Muttngrc
%{_sysconfdir}/muttng-mime.types
%{_mandir}/man1/fleang.1*
%{_mandir}/man1/muttng-flea.1*
%{_mandir}/man1/muttng.1*
%{_mandir}/man1/muttng_dotlock.1*
%{_mandir}/man1/muttngbug.1*
%{_mandir}/man5/muttng-mbox.5*
%{_mandir}/man5/muttngrc.5*
%changelog -n muttng
* Mon Jun 05 2006 - mrueckert@suse.de
- conditionally enable GPGME support
set with_gpgme to 1 if you want to build with it.
* Mon Jun 05 2006 - mrueckert@suse.de
- enabled smime and gss support explicitly
- added krb5-devel to the build requires
- build with stackprotector on 10.1 and higher
- fixed docdir path
- use configure macro
- use %%find_lang
- added body to the %%clean
- uncommented 2 CFLAGS, it seems we dont need them anymore.
* Sat Jun 03 2006 - hmacht@suse.de
- initial package creation