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