503cdbc
%define config_opts --prefix=%{_prefix} --sysconfdir=%{_sysconfdir} --mandir=%{_mandir} --libdir=%{_libdir} --bindir=%{_bindir} --includedir=%{_includedir} --datadir=%{_datadir} --disable-more-warnings --with-ssl --with-gss --with-gtkspell
905f80c
19a65ec
Name:           balsa
be5e8dd
Version:        2.3.13
9cedf1a
Release:        2%{?dist}
395d228
Summary:        Mail Client
19a65ec
19a65ec
Group:          Applications/Internet
19a65ec
License:        GPL
19a65ec
URL:            http://balsa.gnome.org/
19a65ec
Source0:        http://balsa.gnome.org/%{name}-%{version}.tar.bz2
19a65ec
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
19a65ec
9cedf1a
Requires: libesmtp >= 1.0.4
b83558d
Requires: scrollkeeper
257756a
BuildRequires: aspell-devel
503cdbc
BuildRequires: desktop-file-utils
cf5c8d2
BuildRequires: gettext
484e3a8
BuildRequires: gmime-devel
503cdbc
BuildRequires: gnome-vfs2-devel
503cdbc
BuildRequires: gtk2-devel
503cdbc
BuildRequires: gtkhtml2-devel
503cdbc
BuildRequires: gtkspell-devel
9cedf1a
BuildRequires: libesmtp-devel >= 1.0.4
503cdbc
BuildRequires: libgnome-devel
503cdbc
BuildRequires: libgnomeprint22-devel
503cdbc
BuildRequires: libgnomeprintui22-devel
503cdbc
BuildRequires: libgnomeui-devel
257756a
BuildRequires: openssl-devel
503cdbc
BuildRequires: scrollkeeper
905f80c
905f80c
%description
844aaa7
Balsa is a GNOME email client which supports mbox, maildir, and mh
844aaa7
local mailboxes, and IMAP4 and POP3 remote mailboxes. Email can be
844aaa7
sent via sendmail or SMTP. Optional multithreading support allows for
844aaa7
non-intrusive retrieval and sending of mail. A finished GUI similar to
844aaa7
that of the Eudora email client supports viewing images inline, saving
844aaa7
message parts, viewing headers, adding attachments, moving messages,
844aaa7
and printing messages.
19a65ec
905f80c
%prep
484e3a8
%setup -q
19a65ec
905f80c
%build
905f80c
257756a
%configure %{config_opts}
257756a
19a65ec
make %{?_smp_mflags}
905f80c
905f80c
905f80c
%install
19a65ec
rm -rf $RPM_BUILD_ROOT
19a65ec
make install DESTDIR="$RPM_BUILD_ROOT"
f9078ee
f9078ee
desktop-file-install $RPM_BUILD_ROOT%{_datadir}/applications/balsa.desktop \
f9078ee
        --vendor=fedora \
f9078ee
        --add-category=X-Fedora \
f9078ee
        --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
f9078ee
        --copy-name-to-generic-name \
f9078ee
        --delete-original
905f80c
%find_lang %{name}
905f80c
905f80c
%clean
f9078ee
rm -rf "$RPM_BUILD_ROOT"
905f80c
905f80c
%post
526080e
scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
526080e
526080e
/bin/touch --no-create %{_datadir}/icons/hicolor
526080e
touch --no-create %{_datadir}/icons/hicolor || :
526080e
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
526080e
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
526080e
fi
257756a
905f80c
%postun
526080e
scrollkeeper-update -q || :
19a65ec
526080e
touch --no-create %{_datadir}/icons/hicolor || :
526080e
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
526080e
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
526080e
fi
905f80c
905f80c
%files -f %{name}.lang
19a65ec
%defattr(-,root,root,-)
905f80c
%doc README COPYING ChangeLog NEWS TODO AUTHORS HACKING docs/mh-mail-HOWTO
905f80c
%doc docs/vconvert.awk docs/pine2vcard
905f80c
%{_bindir}/balsa
526080e
%{_bindir}/balsa-ab
905f80c
%{_libdir}/bonobo/servers/GNOME_Balsa.server
f9078ee
%{_datadir}/applications/*.desktop
395d228
%{_datadir}/balsa/
395d228
%{_datadir}/gnome/help/balsa/
f9078ee
%{_datadir}/icons/hicolor/*
905f80c
%{_datadir}/idl/Balsa.idl
395d228
%{_datadir}/omf/balsa/
19a65ec
%{_datadir}/pixmaps/gnome-balsa2.png
395d228
%{_datadir}/sounds/balsa/
905f80c
%{_mandir}/man1/balsa.1*
19a65ec
%config(noreplace) %{_sysconfdir}/sound/events/balsa.soundlist
905f80c
905f80c
905f80c
%changelog
9cedf1a
* Mon Sep 11 2006 Pawel Salek <pawsa@theochem.kth.se> - 2.3.13-2
9cedf1a
- rebuild for FC6.
9cedf1a
be5e8dd
* Mon Jun 26 2006 Pawel Salek <pawsa@theochem.kth.se> - 2.3.13-1
be5e8dd
- update to upstream version 2.3.13.
be5e8dd
cf5c8d2
* Tue Jun  6 2006 Pawel Salek <pawsa@theochem.kth.se> - 2.3.12-2
cf5c8d2
- add gettext as an explicit buildreq (#194245).
cf5c8d2
0b999ab
* Sat Mar  4 2006 Pawel Salek <pawsa@theochem.kth.se> - 2.3.12-1
0b999ab
- update to upstream version 2.3.12.
0b999ab
484e3a8
* Wed Mar  1 2006 Pawel Salek <pawsa@theochem.kth.se> - 2.3.11-1
484e3a8
- update to upstream version 2.3.11.
484e3a8
0eb3c34
* Sun Jan 29 2006 Pawel Salek <pawsa@theochem.kth.se> - 2.3.10-1
0eb3c34
- update to upstream 2.3.10
0eb3c34
25a5eb6
* Sat Jan  7 2006 Pawel Salek <pawsa@theochem.kth.se> - 2.3.9-1
25a5eb6
- update to 2.3.9.
25a5eb6
503cdbc
* Wed Dec 28 2005 Pawel Salek <pawsa@theochem.kth.se> - 2.3.8-1
503cdbc
- update to 2.3.8; enable gtkhtml and gtkspell.
503cdbc
17b96d4
* Sun Dec  4 2005 Pawel Salek <pawsa@theochem.kth.se> - 2.3.7-1
17b96d4
- update to upstream version 2.3.7. Use gmime-2.1.17
17b96d4
526080e
* Wed Oct 23 2005 Pawel Salek <pawsa@theochem.kth.se> - 2.3.6-1
526080e
- update to upstream version 2.3.6
526080e
1a1c85f
* Wed Oct 19 2005 Pawel Salek <pawsa@theochem.kth.se> - 2.3.5
1a1c85f
- update to upstream version 2.3.5
1a1c85f
484e3a8
* Tue Jul  5 2005 Pawel Salek <pawsa@theochem.kth.se> - 2.3.4
844aaa7
- update to upstream version 2.3.4
844aaa7
395d228
* Tue Jun 14 2005 Pawel Salek <pawsa@theochem.kth.se> - 2.3.3
395d228
- directory ownership cleanup (credit to Michael Schwendt).
395d228
9e80bd2
* Mon Jun 13 2005 Pawel Salek <pawsa@theochem.kth.se> - 2.3.3
b83558d
- add missing scrollkeeper dependency.
b83558d
b83558d
* Mon Jun 13 2005 Pawel Salek <pawsa@theochem.kth.se> - 2.3.3
9e80bd2
- libesmtp imported to fedora extras - reenable.
9e80bd2
9e80bd2
* Sat Jun 11 2005 Pawel Salek <pawsa@theochem.kth.se> - 2.3.3
f9078ee
- Implement the reviewers's suggestions as on fedora-extras-list
f9078ee
257756a
* Tue Jun  7 2005 Pawel Salek <pawsa@theochem.kth.se> - 2.3.3-1
257756a
- bump version to 2.3.3
257756a
- add libesmtp-devel dependency.
257756a
- do not forget about config_opts.
257756a
19a65ec
* Fri May 20 2005 Pawel Salek <pawsa@theochem.kth.se> - 2.3.2-1
19a65ec
- adapt to Fedora Extras template.
905f80c
905f80c
905f80c
* Sat Jul 26 2003 Misu Moldovan <dumol@go.ro>
905f80c
- further split the Red Hat and Mandrake sections
905f80c
- fix Mandrake 9.x dependencies
905f80c
905f80c
* Mon Sep 16 2002 Pawel Salek <pawsa@theochem.kth.se>
905f80c
- adapt to GNOME2 requirements.
905f80c
905f80c
* Sun Jun 24 2001 Spider <spider@darkmere.wanfear.com>
905f80c
- remove all defined paths to user-specified. 
905f80c
- update configures, locales, update esmtp as a requires/buildrequires 
905f80c