]> git.pld-linux.org Git - packages/balsa.git/blame - balsa.spec
- added bcond gtkhtml2
[packages/balsa.git] / balsa.spec
CommitLineData
77378d6c 1# TODO:
f5e059ba 2# - lots files listed twice
77378d6c 3# - not packaged /usr/share/locale/ar/LC_MESSAGES/balsa.mo
f5e059ba 4# - problems with id locale
0d8f743e 5#
6# Conditional build:
42a91aa9 7%bcond_without ldap # build without LDAP support
de6d62f9 8%bcond_with gpgme # build with GPG support (experimental)
42a91aa9
JB
9%bcond_without esmtp # build without ESMTP support
10%bcond_without gtkhtml # build without HTML support
21aedbc0 11%bcond_with gtkhtml2 # build with libgtkhtml-2 (default gtkhtml-3)
f5e059ba
SS
12%bcond_with compface # build with Compface
13%bcond_with gtksourceview # build with GtkSourceView
14%bcond_with gtkspell # build with GtkSpell
15%bcond_with sqlite # build with SQLite for GPE address books
3e27fb1d 16#
f9e82f3d 17Summary: Balsa Mail Client
d2600085
ER
18Summary(es.UTF-8): Balsa es un lector de e-mail
19Summary(pl.UTF-8): Balsa - klient poczty
20Summary(pt_BR.UTF-8): Balsa é um leitor de e-mail
28f9a5f4 21Name: balsa
77378d6c
SS
22Version: 2.3.14
23Release: 0.1
28f9a5f4 24License: GPL
baeee1cb 25Group: X11/Applications
b74a1b81 26Source0: http://balsa.gnome.org/%{name}-%{version}.tar.bz2
77378d6c
SS
27# Source0-md5: 6a86f8bebc21bd279b9fd4d2a21a36c0
28Patch0: %{name}-desktop.patch
29Patch1: %{name}-includes.patch
30Patch2: %{name}-without_id_lang.patch
35f3bdc7 31URL: http://balsa.gnome.org/
3d60ceab 32BuildRequires: ORBit2-devel >= 1:2.12.4
d495817e 33BuildRequires: aspell-devel >= 2:0.50
3e27fb1d 34BuildRequires: autoconf >= 2.52
3dc1d28f 35BuildRequires: automake
f5e059ba 36%{?with_compface:BuildRequires: compface-devel}
3d60ceab 37BuildRequires: heimdal-devel
77378d6c 38%{?with_esmtp:BuildRequires: libesmtp-devel >= 1.0.4}
fbe28c35 39BuildRequires: libgnomeprintui-devel >= 1.106.0
ea3deab1 40BuildRequires: glib2-devel >= 2.6.4-1
42db649f 41BuildRequires: gmime-devel >= 2.1.9
62f0cca9 42%{?with_gpgme:BuildRequires: gpgme-devel >= 1:0.9.0}
7840a928 43BuildRequires: gtk+2-devel >= 2:2.2.0
f5e059ba
SS
44%{?with_gtksourceview:BuildRequires: gtksourceview-devel}
45%{?with_gtkspell:BuildRequires: gtkspell-devel}
fca1b235 46BuildRequires: intltool
21aedbc0
SS
47%if %{with gtkhtml}
48%{?with_gtkhtml2:BuildRequires: libgtkhtml-devel >= 2.0}
49%{!?with_gtkhtml2:BuildRequires: gtkhtml-devel >= 3.0}
50%endif
045f787b 51BuildRequires: libltdl-devel
3e27fb1d 52BuildRequires: libgnomeprintui-devel >= 2.1.4
d842a069 53BuildRequires: libgnomeui-devel >= 2.3.3.1-2
3e27fb1d 54BuildRequires: libtool
15d53f63 55%{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
3e27fb1d
JB
56BuildRequires: openssl-devel >= 0.9.7d
57BuildRequires: pcre-devel >= 3.0
34b555e5 58BuildRequires: rpmbuild(macros) >= 1.197
3e27fb1d 59BuildRequires: 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 63Requires(post,postun): scrollkeeper
35f3bdc7 64BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
892589b5 65
66%description
f9e82f3d 67Balsa is an e-mail reader. This client is part of the GNOME
68desktop environment. It supports local mailboxes, POP3 and
69IMAP.
61fd82f6 70
1fa6b67f 71%description -l es.UTF-8
0d1fcbaa 72Balsa es un lector de e-mail. Es parte del entorno GNOME. Soporta
1fa6b67f 73cajas de correo electrónico locales, POP3 y IMAP.
0d1fcbaa 74
1fa6b67f
JR
75%description -l pl.UTF-8
76Balsa to klient e-mail. Jest częścią środowiska GNOME. Obsługuje POP3,
0d1fcbaa
JB
77IMAP oraz lokalne skrzynki pocztowe.
78
1fa6b67f
JR
79%description -l pt_BR.UTF-8
80Balsa é um leitor de e-mail, parte do ambiente de desktop GNOME.
0d1fcbaa 81Suporta caixas de correio locais, POP3 a IMAP.
61fd82f6 82
892589b5 83%prep
28f9a5f4 84%setup -q
3e27fb1d 85%patch0 -p1
b89f1f9d 86%patch1 -p1
3e27fb1d 87%patch2 -p1
bd01d0a6 88
892589b5 89%build
ea3deab1 90%{__intltoolize}
91%{__glib_gettextize}
3e27fb1d
JB
92%{__libtoolize}
93%{__aclocal}
94%{__autoconf}
95%{__autoheader}
96%{__autoconf}
b9e2379f 97%configure \
3d60ceab 98 --with-gss \
b9e2379f 99 --with-ssl \
4245238a 100 %{!?with_esmtp:--without-esmtp} \
4245238a 101 %{!?with_gtkhtml:--disable-gtkhtml}\
21aedbc0 102 %{?with_gtkhtml2:--with-gtkhtml=2}\
f9e82f3d 103 %{?with_gpgme:--with-gpgme} \
f5e059ba
SS
104 %{?with_compface:--with-compface} \
105 %{?with_gtksourceview:--with-gtksourceview} \
106 %{?with_gtkspell:--with-gtkspell} \
107 %{?with_sqlite:--with-sqlite} \
f9e82f3d 108 %{?with_ldap:--with-ldap}
c3d28cac 109%{__make}
892589b5 110
111%install
112rm -rf $RPM_BUILD_ROOT
113
efc8067a 114%{__make} install \
c3d28cac 115 DESTDIR=$RPM_BUILD_ROOT
28f9a5f4 116
35f3bdc7 117%find_lang %{name} --with-gnome --all-name
892589b5 118
119%clean
120rm -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
This page took 0.051638 seconds and 4 git commands to generate.