]>
Commit | Line | Data |
---|---|---|
0d8f743e | 1 | # |
2 | # Conditional build: | |
42a91aa9 | 3 | %bcond_without ldap # build without LDAP support |
de6d62f9 | 4 | %bcond_with gpgme # build with GPG support (experimental) |
42a91aa9 JB |
5 | %bcond_without esmtp # build without ESMTP support |
6 | %bcond_without gtkhtml # build without HTML support | |
3e27fb1d | 7 | # |
f9e82f3d | 8 | Summary: Balsa Mail Client |
d2600085 ER |
9 | Summary(es.UTF-8): Balsa es un lector de e-mail |
10 | Summary(pl.UTF-8): Balsa - klient poczty | |
11 | Summary(pt_BR.UTF-8): Balsa é um leitor de e-mail | |
28f9a5f4 | 12 | Name: balsa |
4b87c787 | 13 | Version: 2.3.5 |
15d53f63 | 14 | Release: 2 |
28f9a5f4 | 15 | License: GPL |
baeee1cb | 16 | Group: X11/Applications |
b74a1b81 | 17 | Source0: http://balsa.gnome.org/%{name}-%{version}.tar.bz2 |
4b87c787 | 18 | # Source0-md5: ccc5f1f11028dd604c6dac97017a1274 |
3e27fb1d | 19 | Patch0: %{name}-locale-names.patch |
1415936a | 20 | Patch1: %{name}-desktop.patch |
ea3deab1 | 21 | Patch2: %{name}-includes.patch |
3d60ceab | 22 | Patch3: %{name}-no_hooks.patch |
35f3bdc7 | 23 | URL: http://balsa.gnome.org/ |
3d60ceab | 24 | BuildRequires: ORBit2-devel >= 1:2.12.4 |
d495817e | 25 | BuildRequires: aspell-devel >= 2:0.50 |
3e27fb1d | 26 | BuildRequires: autoconf >= 2.52 |
3dc1d28f | 27 | BuildRequires: automake |
3d60ceab | 28 | BuildRequires: heimdal-devel |
4245238a | 29 | %{?with_esmtp:BuildRequires: libesmtp-devel} |
fbe28c35 | 30 | BuildRequires: libgnomeprintui-devel >= 1.106.0 |
ea3deab1 | 31 | BuildRequires: glib2-devel >= 2.6.4-1 |
42db649f | 32 | BuildRequires: gmime-devel >= 2.1.9 |
62f0cca9 | 33 | %{?with_gpgme:BuildRequires: gpgme-devel >= 1:0.9.0} |
7840a928 | 34 | BuildRequires: gtk+2-devel >= 2:2.2.0 |
fca1b235 | 35 | BuildRequires: intltool |
3e27fb1d | 36 | %{?with_gtkhtml:BuildRequires: libgtkhtml-devel >= 2.0} |
045f787b | 37 | BuildRequires: libltdl-devel |
3e27fb1d | 38 | BuildRequires: libgnomeprintui-devel >= 2.1.4 |
d842a069 | 39 | BuildRequires: libgnomeui-devel >= 2.3.3.1-2 |
3e27fb1d | 40 | BuildRequires: libtool |
15d53f63 | 41 | %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} |
3e27fb1d JB |
42 | BuildRequires: openssl-devel >= 0.9.7d |
43 | BuildRequires: pcre-devel >= 3.0 | |
34b555e5 | 44 | BuildRequires: rpmbuild(macros) >= 1.197 |
3e27fb1d | 45 | BuildRequires: scrollkeeper >= 0.1.4 |
62f0cca9 | 46 | %{?with_gpgme:Requires: gpgme >= 1:0.9.0} |
1415936a | 47 | Requires(post,postun): scrollkeeper |
35f3bdc7 | 48 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
892589b5 | 49 | |
50 | %description | |
f9e82f3d | 51 | Balsa is an e-mail reader. This client is part of the GNOME |
52 | desktop environment. It supports local mailboxes, POP3 and | |
53 | IMAP. | |
61fd82f6 | 54 | |
1fa6b67f | 55 | %description -l es.UTF-8 |
0d1fcbaa | 56 | Balsa es un lector de e-mail. Es parte del entorno GNOME. Soporta |
1fa6b67f | 57 | cajas de correo electrónico locales, POP3 y IMAP. |
0d1fcbaa | 58 | |
1fa6b67f JR |
59 | %description -l pl.UTF-8 |
60 | Balsa to klient e-mail. Jest częścią środowiska GNOME. Obsługuje POP3, | |
0d1fcbaa JB |
61 | IMAP oraz lokalne skrzynki pocztowe. |
62 | ||
1fa6b67f JR |
63 | %description -l pt_BR.UTF-8 |
64 | Balsa é um leitor de e-mail, parte do ambiente de desktop GNOME. | |
0d1fcbaa | 65 | Suporta caixas de correio locais, POP3 a IMAP. |
61fd82f6 | 66 | |
892589b5 | 67 | %prep |
28f9a5f4 | 68 | %setup -q |
3e27fb1d | 69 | %patch0 -p1 |
b89f1f9d | 70 | %patch1 -p1 |
3e27fb1d | 71 | %patch2 -p1 |
3d60ceab | 72 | %patch3 -p1 |
3e27fb1d | 73 | |
ea3deab1 | 74 | rm -f po/no.{po,gmo} |
bd01d0a6 | 75 | |
892589b5 | 76 | %build |
ea3deab1 | 77 | %{__intltoolize} |
78 | %{__glib_gettextize} | |
3e27fb1d JB |
79 | %{__libtoolize} |
80 | %{__aclocal} | |
81 | %{__autoconf} | |
82 | %{__autoheader} | |
83 | %{__autoconf} | |
b9e2379f | 84 | %configure \ |
3d60ceab | 85 | --with-gss \ |
b9e2379f | 86 | --with-ssl \ |
4245238a | 87 | %{!?with_esmtp:--without-esmtp} \ |
4245238a | 88 | %{!?with_gtkhtml:--disable-gtkhtml}\ |
f9e82f3d | 89 | %{?with_gpgme:--with-gpgme} \ |
90 | %{?with_ldap:--with-ldap} | |
c3d28cac | 91 | %{__make} |
892589b5 | 92 | |
93 | %install | |
94 | rm -rf $RPM_BUILD_ROOT | |
95 | ||
efc8067a | 96 | %{__make} install \ |
c3d28cac | 97 | DESTDIR=$RPM_BUILD_ROOT |
28f9a5f4 | 98 | |
35f3bdc7 | 99 | %find_lang %{name} --with-gnome --all-name |
892589b5 | 100 | |
101 | %clean | |
102 | rm -rf $RPM_BUILD_ROOT | |
103 | ||
c8f36180 | 104 | %post |
c8f36180 | 105 | %scrollkeeper_update_post |
106 | ||
107 | %postun | |
c8f36180 | 108 | %scrollkeeper_update_postun |
fbe28c35 | 109 | |
28f9a5f4 | 110 | %files -f %{name}.lang |
111 | %defattr(644,root,root,755) | |
1a50b3e2 | 112 | %doc AUTHORS ChangeLog NEWS README TODO |
28f9a5f4 | 113 | %attr(755,root,root) %{_bindir}/* |
28f9a5f4 | 114 | %{_sysconfdir}/sound/events/* |
35f3bdc7 | 115 | %{_datadir}/%{name} |
116 | %{_datadir}/sounds/%{name} | |
3e27fb1d JB |
117 | %{_libdir}/bonobo/servers/*.server |
118 | %{_datadir}/idl/*.idl | |
ac12f919 | 119 | %{_mandir}/man1/* |
35f3bdc7 | 120 | %{_omf_dest_dir}/%{name} |
cea64269 | 121 | %{_desktopdir}/*.desktop |
35f3bdc7 | 122 | %{_pixmapsdir}/* |
34b555e5 | 123 | %{_iconsdir}/hicolor/48x48/mimetypes/*.png |