620ceab
%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 --with-gpgme
905f80c
19a65ec
Name:           balsa
4645e3e
Version:        2.4.0
4645e3e
Release:        1%{?dist}
395d228
Summary:        Mail Client
19a65ec
19a65ec
Group:          Applications/Internet
acfbb42
License:        GPLv2+
4645e3e
URL:            http://pawsa.fedorapeople.org/balsa/
4645e3e
Source0:        http://pawsa.fedorapeople.org/balsa/%{name}-%{version}.tar.bz2
19a65ec
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
19a65ec
9cedf1a
Requires: libesmtp >= 1.0.4
b83558d
Requires: scrollkeeper
b9403f6
BuildRequires: autoconf
e0ccf3d
BuildRequires: automake
503cdbc
BuildRequires: desktop-file-utils
cf5c8d2
BuildRequires: gettext
4645e3e
BuildRequires: gmime-devel >= 2.4.0
987e8bf
BuildRequires: gnome-doc-utils
503cdbc
BuildRequires: gnome-vfs2-devel
620ceab
BuildRequires: gpgme-devel
503cdbc
BuildRequires: gtk2-devel
503cdbc
BuildRequires: gtkhtml2-devel
503cdbc
BuildRequires: gtkspell-devel
05a5993
BuildRequires: intltool
9cedf1a
BuildRequires: libesmtp-devel >= 1.0.4
503cdbc
BuildRequires: libgnome-devel
503cdbc
BuildRequires: libgnomeui-devel
290a1dd
BuildRequires: libnotify-devel
b9403f6
BuildRequires: libtool
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
068dbe6
905f80c
%build
905f80c
4645e3e
#Disabled: autoreconf -f -i
257756a
%configure %{config_opts}
257756a
19a65ec
make %{?_smp_mflags}
905f80c
905f80c
905f80c
%install
9fadf1d
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 \
bead8a2
        --add-category=Email \
bead8a2
	--remove-category=Application \
f9078ee
        --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
f9078ee
        --copy-name-to-generic-name \
f9078ee
        --delete-original
9fadf1d
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
4645e3e
* Thu May 28 2009 Pawel Salek <salek@kth.se> - 2.4.0-1
4645e3e
- update to upstream 2.4.0.
4645e3e
b9403f6
* Thu Mar 19 2009 Lubomir Rintel <lkundrak@v3.sk> - 2.3.28-4
b9403f6
- Patch for newer gmime
b9403f6
- Fix BRs
b9403f6
df2bd60
* Mon Mar  2 2009 Pawel Salek <pawsa@theochem.kth.se> - 2.3.28-3
df2bd60
- Add autoreconf, mock on devel does not work right now.
df2bd60
9aabdd2
* Mon Mar  2 2009 Pawel Salek <pawsa@theochem.kth.se> - 2.3.28-2
9aabdd2
- specify a correct patch path strip argument.
9aabdd2
bead8a2
* Mon Mar  2 2009 Pawel Salek <pawsa@theochem.kth.se> - 2.3.28-1
bead8a2
- upgrade to 2.3.28. Fix bug 487780.
bead8a2
4c73ad0
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.26-5
4c73ad0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4c73ad0
b153f9b
* Thu Jan 15 2009 Tomas Mraz <tmraz@redhat.com> - 2.3.26-4
b153f9b
- rebuild with new openssl
b153f9b
2a18faf
* Thu Dec 18 2008 Pawel Salek <pawsa at theochem.kth.se> - 2.3.26-3
2a18faf
- Port to gmime-2.4 using http://bugzilla.gnome.org/537507 
2a18faf
068dbe6
* Sun Sep 08 2008 Pawel Salek <pawsa at theochem.kth.se> - 2.3.26-2
068dbe6
- Use deprecated GTK+ interface until upstream fixes their bugs.
068dbe6
9fadf1d
* Sun Sep 07 2008 Pawel Salek <pawsa at theochem.kth.se> - 2.3.26-1
9fadf1d
- update to upstream 2.3.26.
9fadf1d
acfbb42
* Mon Jul 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.3.25-2
acfbb42
- fix license tag
acfbb42
1de6227
* Wed Jun 18 2008 Pawel Salek <pawsa at theochem.kth.se> - 2.3.25-1
1de6227
- update to upstream 2.3.25.
1de6227
620ceab
* Sat May 31 2008 Pawel Salek <pawsa at theochem.kth.se> - 2.3.24-1
620ceab
- update to upstream 2.3.24.
620ceab
620ceab
* Mon Mar 31 2008 Pawel Salek <pawsa at theochem.kth.se> - 2.3.23-1
a193959
- update to upstream 2.3.23.
a193959
ac6be6b
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.3.22-2
ac6be6b
- Autorebuild for GCC 4.3
ac6be6b
12c0249
* Tue Dec 25 2007 Pawel Salek <pawsa at theochem kth se> - 2.3.22-1
12c0249
- Update to upstream 2.3.22.
12c0249
cf146ad
* Sat Dec 08 2007 Pawel Salek <pawsa@theochem.kth.se> - 2.3.21-1
cf146ad
- update to 2.3.21 and rebuild.
cf146ad
e20395f
* Thu Dec 06 2007 Release Engineering <rel-eng at fedoraproject dot org> - 2.3.20-2
e20395f
 - Rebuild for deps
e20395f
a4447ae
* Fri Sep  7 2007 Pawel Salek <pawsa@theochem.kth.se> - 2.3.20-1
a4447ae
- update to upstream 2.3.20.
a4447ae
42cc885
* Sat Aug 25 2007 Pawel Salek <pawsa@theochem.kth.se> - 2.3.19-1
42cc885
- Update to upstream 2.3.19.
42cc885
e0ccf3d
* Wed Aug 22 2007 Pawel Salek <pawsa@theochem.kth.se> - 2.3.18-4
eedbb3d
- Fix parallel build.
eedbb3d
eedbb3d
* Wed Aug 22 2007 Pawel Salek <pawsa@theochem.kth.se> - 2.3.18-1
fc17726
- update to upstream 2.3.18.
fc17726
c344746
* Sat Aug 11 2007 Pawel Salek <pawsa@theochem.kth.se> - 2.3.17-2
c344746
- work around build problem.
c344746
8d47142
* Wed Jul  4 2007 Pawel Salek <pawsa@theochem.kth.se> - 2.3.17-1
8d47142
- update to upstream 2.3.17.
8d47142
3a8ff86
* Sun May 27 2007 Pawel Salek <pawsa@theochem.kth.se> - 2.3.16-1
3a8ff86
- update to upstream 2.3.16.
3a8ff86
fbf7bab
* Sat May  5 2007 Pawel Salek <pawsa@theochem.kth.se> - 2.3.15-3
d810c96
- fix HTML+print interaction.
d810c96
d810c96
* Tue May  1 2007 Pawel Salek <pawsa@theochem.kth.se> - 2.3.15-1
290a1dd
- update to upstream 2.3.15.
290a1dd
f440dd4
* Wed Dec 12 2006 Pawel Salek <pawsa@theochem.kth.se> - 2.3.14-1
f440dd4
- update to upstream version 2.3.14.
f440dd4
9cedf1a
* Mon Sep 11 2006 Pawel Salek <pawsa@theochem.kth.se> - 2.3.13-2
9cedf1a
- rebuild for FC6.
9cedf1a