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