3 %bcond_without ldap # build without LDAP support
4 %bcond_without gpgme # build without GPG support (experimental)
5 %bcond_without esmtp # build without ESMTP support
6 %bcond_without gtkhtml # build without HTML support
10 Summary: balsa - GNOME e-Mail program
11 Summary(pl): Klient poczty dla GNOME z silnikiem mutt-a
12 Summary(es): Balsa es un lector de e-mail. Usa el toolkit GTK
13 Summary(pt_BR): Balsa é um leitor de e-mail. Usa o toolkit GTK
18 Group: X11/Applications
19 Source0: http://balsa.gnome.org/%{name}-%{version}.tar.bz2
20 # Source0-md5: 851db68728ed9adea615eb2f249fa1ee
21 #Source0: %{name}-%{version}-%{snap}.tar.bz2
22 #Patch0: %{name}-libtool_hack.patch
23 Patch1: %{name}-desktop.patch
24 URL: http://balsa.gnome.org/
25 BuildRequires: autoconf
26 BuildRequires: automake
27 %{?with_esmtp:BuildRequires: libesmtp-devel}
28 BuildRequires: libgnomeprintui-devel >= 1.106.0
29 %{?with_gpgme:BuildRequires: gpgme-devel >= 0.3.14}
30 BuildRequires: gtk+2-devel >= 2.2.0
31 %{?with_gtkhtml:BuildRequires: libgtkhtml-devel}
32 BuildRequires: libltdl-devel
33 BuildRequires: libgnome-devel
34 BuildRequires: libgnomeui-devel >= 2.3.3.1-2
35 %{?with_ldap:BuildRequires: openldap-devel}
36 BuildRequires: aspell-devel >= 0.50
37 BuildRequires: xft-devel
38 Requires: gpgme >= 0.3.14
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 e-Mail program for the GNOME desktop, supporting local mailboxes, POP3
43 and IMAP. GNOME is the GNU Network Object Model Environment. That's a
44 fancy name but really GNOME is a nice GUI desktop environment. It
45 makes using your computer easy, powerful, and easy to configure.
48 Balsa es un lector de e-mail. Es parte del entorno GNOME. Soporta
49 cajas de correo electrónico locales, POP3 y IMAP.
52 Balsa to klient e-mail dla ¶rodowiska GNOME. Obs³uguje POP3, IMAP oraz
53 lokalne skrzynki pocztowe. GNOME to Network Object Model Environment.
54 Mimo osobliwej nazwy jest to naprawdê estetyczne ¶rodowisko graficzne.
55 Dziêki niemu u¿ywanie komputera jest ³atwiejsze; system jest
56 potê¿niejszy i ³atwo go skonfigurowaæ.
59 Balsa é um leitor de e-mail, parte do ambiente de desktop GNOME.
60 Suporta caixas de correio locais, POP3 a IMAP.
69 cp -f /usr/share/automake/config.* .
72 %{!?with_esmtp:--without-esmtp} \
73 %{?with_gtkhtml:--enable-gtkhtml} \
74 %{!?with_gtkhtml:--disable-gtkhtml}\
75 %{!?with_gpgme:--without-gpgme} \
76 %{?with_ldap:--with-ldap} \
77 %{!?with_ldap:--without-ldap}
82 rm -rf $RPM_BUILD_ROOT
85 DESTDIR=$RPM_BUILD_ROOT
87 %find_lang %{name} --with-gnome --all-name
90 rm -rf $RPM_BUILD_ROOT
92 %post -p /usr/bin/scrollkeeper-update
94 %files -f %{name}.lang
95 %defattr(644,root,root,755)
96 %doc AUTHORS ChangeLog NEWS README TODO
97 %attr(755,root,root) %{_bindir}/*
98 %{_sysconfdir}/sound/events/*
100 %{_datadir}/sounds/%{name}
102 %{_omf_dest_dir}/%{name}