3 %bcond_without ldap # build without LDAP support
4 %bcond_with gpgme # build with GPG support (experimental)
5 %bcond_without esmtp # build without ESMTP support
6 %bcond_without gtkhtml # build without HTML support
8 Summary: Balsa Mail Client
9 Summary(pl): Balsa - klient poczty
14 Group: X11/Applications
15 Source0: http://balsa.gnome.org/%{name}-%{version}.tar.bz2
16 # Source0-md5: 4e76f41f5816f1c677e252313b432fa0
17 Patch0: %{name}-locale-names.patch
18 #Patch1: %{name}-desktop.patch
19 Patch2: %{name}-iconv-in-libc.patch
20 URL: http://balsa.gnome.org/
21 BuildRequires: aspell-devel >= 0.50
22 BuildRequires: autoconf >= 2.52
23 BuildRequires: automake
24 %{?with_esmtp:BuildRequires: libesmtp-devel}
25 BuildRequires: libgnomeprintui-devel >= 1.106.0
26 BuildRequires: gmime-devel >= 2.1.7
27 %{?with_gpgme:BuildRequires: gpgme-devel >= 0.4.3}
28 BuildRequires: gtk+2-devel >= 2.2.0
29 BuildRequires: intltool
30 %{?with_gtkhtml:BuildRequires: libgtkhtml-devel >= 2.0}
31 BuildRequires: libltdl-devel
32 BuildRequires: libgnomeprintui-devel >= 2.1.4
33 BuildRequires: libgnomeui-devel >= 2.3.3.1-2
34 BuildRequires: libtool
35 %{?with_ldap:BuildRequires: openldap-devel}
36 BuildRequires: openssl-devel >= 0.9.7d
37 BuildRequires: pcre-devel >= 3.0
38 BuildRequires: scrollkeeper >= 0.1.4
39 %{?with_gpgme:Requires: gpgme >= 0.9.0}
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 Balsa is an e-mail reader. This client is part of the GNOME
44 desktop environment. It supports local mailboxes, POP3 and
48 Balsa to klient e-mail. Jest czê¶ci± ¶rodowiska GNOME. Obs³uguje POP3, IMAP oraz
49 lokalne skrzynki pocztowe.
60 intltoolize --copy --force
68 %{!?with_esmtp:--without-esmtp} \
69 %{!?with_gtkhtml:--disable-gtkhtml}\
70 %{?with_gpgme:--with-gpgme} \
71 %{?with_ldap:--with-ldap}
76 rm -rf $RPM_BUILD_ROOT
79 DESTDIR=$RPM_BUILD_ROOT
81 %find_lang %{name} --with-gnome --all-name
84 rm -rf $RPM_BUILD_ROOT
86 %post -p /usr/bin/scrollkeeper-update
88 %files -f %{name}.lang
89 %defattr(644,root,root,755)
90 %doc AUTHORS ChangeLog NEWS README TODO
91 %attr(755,root,root) %{_bindir}/*
92 %{_sysconfdir}/sound/events/*
94 %{_datadir}/sounds/%{name}
95 %{_libdir}/bonobo/servers/*.server
98 %{_omf_dest_dir}/%{name}