]>
Commit | Line | Data |
---|---|---|
77378d6c | 1 | # TODO: |
77378d6c | 2 | # - not packaged /usr/share/locale/ar/LC_MESSAGES/balsa.mo |
f5e059ba | 3 | # - problems with id locale |
0d8f743e | 4 | # |
5 | # Conditional build: | |
42a91aa9 | 6 | %bcond_without ldap # build without LDAP support |
de6d62f9 | 7 | %bcond_with gpgme # build with GPG support (experimental) |
42a91aa9 JB |
8 | %bcond_without esmtp # build without ESMTP support |
9 | %bcond_without gtkhtml # build without HTML support | |
21aedbc0 | 10 | %bcond_with gtkhtml2 # build with libgtkhtml-2 (default gtkhtml-3) |
f5e059ba SS |
11 | %bcond_with compface # build with Compface |
12 | %bcond_with gtksourceview # build with GtkSourceView | |
8b2233c9 | 13 | %bcond_without gtkspell # build without GtkSpell |
f5e059ba | 14 | %bcond_with sqlite # build with SQLite for GPE address books |
3e27fb1d | 15 | # |
f9e82f3d | 16 | Summary: Balsa Mail Client |
d2600085 ER |
17 | Summary(es.UTF-8): Balsa es un lector de e-mail |
18 | Summary(pl.UTF-8): Balsa - klient poczty | |
19 | Summary(pt_BR.UTF-8): Balsa é um leitor de e-mail | |
28f9a5f4 | 20 | Name: balsa |
ddd73823 JR |
21 | Version: 2.4.0 |
22 | Release: 1 | |
28f9a5f4 | 23 | License: GPL |
baeee1cb | 24 | Group: X11/Applications |
ddd73823 JR |
25 | Source0: http://pawsa.fedorapeople.org/balsa/%{name}-%{version}.tar.bz2 |
26 | # Source0-md5: 47d68219a5ee768f1ebd2502a9c3c6f2 | |
77378d6c | 27 | Patch0: %{name}-desktop.patch |
ddd73823 | 28 | Patch1: %{name}-without_id_lang.patch |
35f3bdc7 | 29 | URL: http://balsa.gnome.org/ |
3d60ceab | 30 | BuildRequires: ORBit2-devel >= 1:2.12.4 |
d495817e | 31 | BuildRequires: aspell-devel >= 2:0.50 |
3e27fb1d | 32 | BuildRequires: autoconf >= 2.52 |
3dc1d28f | 33 | BuildRequires: automake |
f5e059ba | 34 | %{?with_compface:BuildRequires: compface-devel} |
ea3deab1 | 35 | BuildRequires: glib2-devel >= 2.6.4-1 |
ddd73823 | 36 | BuildRequires: gmime-devel >= 2.4.0 |
62f0cca9 | 37 | %{?with_gpgme:BuildRequires: gpgme-devel >= 1:0.9.0} |
96b911ba | 38 | BuildRequires: gtk+2-devel >= 2:2.10.0 |
f5e059ba SS |
39 | %{?with_gtksourceview:BuildRequires: gtksourceview-devel} |
40 | %{?with_gtkspell:BuildRequires: gtkspell-devel} | |
fca1b235 | 41 | BuildRequires: intltool |
7ed9b27e | 42 | BuildRequires: heimdal-devel |
99b8f17c | 43 | %{?with_esmtp:BuildRequires: libesmtp-devel >= 1.0.4} |
21aedbc0 SS |
44 | %if %{with gtkhtml} |
45 | %{?with_gtkhtml2:BuildRequires: libgtkhtml-devel >= 2.0} | |
46 | %{!?with_gtkhtml2:BuildRequires: gtkhtml-devel >= 3.0} | |
47 | %endif | |
d842a069 | 48 | BuildRequires: libgnomeui-devel >= 2.3.3.1-2 |
99b8f17c | 49 | BuildRequires: libltdl-devel |
96b911ba | 50 | BuildRequires: libnotify-devel |
3e27fb1d | 51 | BuildRequires: libtool |
a2fec028 | 52 | %{?with_ldap:BuildRequires: openldap-devel >= 2.4.6} |
3e27fb1d JB |
53 | BuildRequires: openssl-devel >= 0.9.7d |
54 | BuildRequires: pcre-devel >= 3.0 | |
34b555e5 | 55 | BuildRequires: rpmbuild(macros) >= 1.197 |
3e27fb1d | 56 | BuildRequires: scrollkeeper >= 0.1.4 |
510949b2 SS |
57 | # actually, it requires sqlite >= 2.8 |
58 | %{?with_sqlite:BuildRequires: sqlite3-devel} | |
62f0cca9 | 59 | %{?with_gpgme:Requires: gpgme >= 1:0.9.0} |
1415936a | 60 | Requires(post,postun): scrollkeeper |
0fcc9a77 | 61 | # sr@Latn vs. sr@latin |
62 | Conflicts: glibc-misc < 6:2.7 | |
35f3bdc7 | 63 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
892589b5 | 64 | |
65 | %description | |
f9e82f3d | 66 | Balsa is an e-mail reader. This client is part of the GNOME |
67 | desktop environment. It supports local mailboxes, POP3 and | |
68 | IMAP. | |
61fd82f6 | 69 | |
1fa6b67f | 70 | %description -l es.UTF-8 |
0d1fcbaa | 71 | Balsa es un lector de e-mail. Es parte del entorno GNOME. Soporta |
1fa6b67f | 72 | cajas de correo electrónico locales, POP3 y IMAP. |
0d1fcbaa | 73 | |
1fa6b67f JR |
74 | %description -l pl.UTF-8 |
75 | Balsa to klient e-mail. Jest częścią środowiska GNOME. Obsługuje POP3, | |
0d1fcbaa JB |
76 | IMAP oraz lokalne skrzynki pocztowe. |
77 | ||
1fa6b67f JR |
78 | %description -l pt_BR.UTF-8 |
79 | Balsa é um leitor de e-mail, parte do ambiente de desktop GNOME. | |
0d1fcbaa | 80 | Suporta caixas de correio locais, POP3 a IMAP. |
61fd82f6 | 81 | |
892589b5 | 82 | %prep |
28f9a5f4 | 83 | %setup -q |
3e27fb1d | 84 | %patch0 -p1 |
b89f1f9d | 85 | %patch1 -p1 |
bd01d0a6 | 86 | |
892589b5 | 87 | %build |
3e27fb1d JB |
88 | %{__libtoolize} |
89 | %{__aclocal} | |
90 | %{__autoconf} | |
91 | %{__autoheader} | |
92 | %{__autoconf} | |
b9e2379f | 93 | %configure \ |
3d60ceab | 94 | --with-gss \ |
b9e2379f | 95 | --with-ssl \ |
4245238a | 96 | %{!?with_esmtp:--without-esmtp} \ |
4245238a | 97 | %{!?with_gtkhtml:--disable-gtkhtml}\ |
21aedbc0 | 98 | %{?with_gtkhtml2:--with-gtkhtml=2}\ |
f9e82f3d | 99 | %{?with_gpgme:--with-gpgme} \ |
f5e059ba SS |
100 | %{?with_compface:--with-compface} \ |
101 | %{?with_gtksourceview:--with-gtksourceview} \ | |
102 | %{?with_gtkspell:--with-gtkspell} \ | |
103 | %{?with_sqlite:--with-sqlite} \ | |
f9e82f3d | 104 | %{?with_ldap:--with-ldap} |
c3d28cac | 105 | %{__make} |
892589b5 | 106 | |
107 | %install | |
108 | rm -rf $RPM_BUILD_ROOT | |
109 | ||
efc8067a | 110 | %{__make} install \ |
c3d28cac | 111 | DESTDIR=$RPM_BUILD_ROOT |
28f9a5f4 | 112 | |
0fcc9a77 | 113 | [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ |
114 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} | |
35f3bdc7 | 115 | %find_lang %{name} --with-gnome --all-name |
892589b5 | 116 | |
117 | %clean | |
118 | rm -rf $RPM_BUILD_ROOT | |
119 | ||
c8f36180 | 120 | %post |
c8f36180 | 121 | %scrollkeeper_update_post |
122 | ||
123 | %postun | |
c8f36180 | 124 | %scrollkeeper_update_postun |
fbe28c35 | 125 | |
28f9a5f4 | 126 | %files -f %{name}.lang |
127 | %defattr(644,root,root,755) | |
1a50b3e2 | 128 | %doc AUTHORS ChangeLog NEWS README TODO |
28f9a5f4 | 129 | %attr(755,root,root) %{_bindir}/* |
28f9a5f4 | 130 | %{_sysconfdir}/sound/events/* |
35f3bdc7 | 131 | %{_datadir}/%{name} |
132 | %{_datadir}/sounds/%{name} | |
3e27fb1d JB |
133 | %{_libdir}/bonobo/servers/*.server |
134 | %{_datadir}/idl/*.idl | |
ac12f919 | 135 | %{_mandir}/man1/* |
35f3bdc7 | 136 | %{_omf_dest_dir}/%{name} |
cea64269 | 137 | %{_desktopdir}/*.desktop |
35f3bdc7 | 138 | %{_pixmapsdir}/* |
34b555e5 | 139 | %{_iconsdir}/hicolor/48x48/mimetypes/*.png |