]> git.pld-linux.org Git - packages/balsa.git/blame - balsa.spec
- updated to 2.4.10
[packages/balsa.git] / balsa.spec
CommitLineData
77378d6c 1# TODO:
917bba73
ER
2# - use webkit as html widget?
3# - gtkhtml4 causes gtk2/gtk3 conflict:
2f177382 4# Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
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
917bba73 11%bcond_without gtkhtml2 # build with libgtkhtml-2 (default gtkhtml-4)
f5e059ba
SS
12%bcond_with compface # build with Compface
13%bcond_with gtksourceview # build with GtkSourceView
8b2233c9 14%bcond_without gtkspell # build without GtkSpell
f5e059ba 15%bcond_with sqlite # build with SQLite for GPE address books
917bba73 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
a2a1a71c 22Version: 2.4.10
23Release: 0.1
d21801d0 24License: GPL v3+
baeee1cb 25Group: X11/Applications
ddd73823 26Source0: http://pawsa.fedorapeople.org/balsa/%{name}-%{version}.tar.bz2
a2a1a71c 27# Source0-md5: fa2b7cb9d248912ac2e3dcc08cd6aa5b
77378d6c 28Patch0: %{name}-desktop.patch
9f9b6cec 29Patch1: %{name}-gtkhtml4.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}
b9b91a2a 36BuildRequires: docbook-dtd412-xml
37BuildRequires: gettext-devel
ea3deab1 38BuildRequires: glib2-devel >= 2.6.4-1
ddd73823 39BuildRequires: gmime-devel >= 2.4.0
b9b91a2a 40BuildRequires: gnome-doc-utils
62f0cca9 41%{?with_gpgme:BuildRequires: gpgme-devel >= 1:0.9.0}
96b911ba 42BuildRequires: gtk+2-devel >= 2:2.10.0
f5e059ba
SS
43%{?with_gtksourceview:BuildRequires: gtksourceview-devel}
44%{?with_gtkspell:BuildRequires: gtkspell-devel}
7ed9b27e 45BuildRequires: heimdal-devel
b9b91a2a 46BuildRequires: intltool
99b8f17c 47%{?with_esmtp:BuildRequires: libesmtp-devel >= 1.0.4}
21aedbc0 48%if %{with gtkhtml}
36601551 49%{!?with_gtkhtml2:BuildRequires: gtkhtml-devel >= 4.0}
b9b91a2a 50%{?with_gtkhtml2:BuildRequires: libgtkhtml-devel >= 2.0}
21aedbc0 51%endif
d842a069 52BuildRequires: libgnomeui-devel >= 2.3.3.1-2
99b8f17c 53BuildRequires: libltdl-devel
96b911ba 54BuildRequires: libnotify-devel
3e27fb1d 55BuildRequires: libtool
de4e1b98 56BuildRequires: libunique-devel
a2fec028 57%{?with_ldap:BuildRequires: openldap-devel >= 2.4.6}
3e27fb1d
JB
58BuildRequires: openssl-devel >= 0.9.7d
59BuildRequires: pcre-devel >= 3.0
b9b91a2a 60BuildRequires: pkgconfig
34b555e5 61BuildRequires: rpmbuild(macros) >= 1.197
3e27fb1d 62BuildRequires: scrollkeeper >= 0.1.4
510949b2
SS
63# actually, it requires sqlite >= 2.8
64%{?with_sqlite:BuildRequires: sqlite3-devel}
62f0cca9 65%{?with_gpgme:Requires: gpgme >= 1:0.9.0}
1415936a 66Requires(post,postun): scrollkeeper
0fcc9a77 67# sr@Latn vs. sr@latin
68Conflicts: glibc-misc < 6:2.7
35f3bdc7 69BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
892589b5 70
71%description
917bba73
ER
72Balsa is an e-mail reader. This client is part of the GNOME desktop
73environment. It supports local mailboxes, POP3 and IMAP.
61fd82f6 74
1fa6b67f 75%description -l es.UTF-8
0d1fcbaa 76Balsa es un lector de e-mail. Es parte del entorno GNOME. Soporta
1fa6b67f 77cajas de correo electrónico locales, POP3 y IMAP.
0d1fcbaa 78
1fa6b67f
JR
79%description -l pl.UTF-8
80Balsa to klient e-mail. Jest częścią środowiska GNOME. Obsługuje POP3,
b9b91a2a 81IMAP oraz lokalne skrzynki pocztowe.
0d1fcbaa 82
1fa6b67f
JR
83%description -l pt_BR.UTF-8
84Balsa é um leitor de e-mail, parte do ambiente de desktop GNOME.
0d1fcbaa 85Suporta caixas de correio locais, POP3 a IMAP.
61fd82f6 86
892589b5 87%prep
28f9a5f4 88%setup -q
3e27fb1d 89%patch0 -p1
917bba73 90%{!?with_gtkhtml2:%patch1 -p1}
bd01d0a6 91
892589b5 92%build
3e27fb1d
JB
93%{__libtoolize}
94%{__aclocal}
95%{__autoconf}
96%{__autoheader}
97%{__autoconf}
b9e2379f 98%configure \
3d60ceab 99 --with-gss \
b9e2379f 100 --with-ssl \
de4e1b98 101 --with-unique \
a2a1a71c 102 --disable-silent-rules \
4245238a 103 %{!?with_esmtp:--without-esmtp} \
917bba73
ER
104%if %{with gtkhtml}
105 --with-html-widget=%{?with_gtkhtml2:gtkhtml2}%{!?with_gtkhtml2:gtkhtml4} \
106%else
107 --disable-gtkhtml \
108%endif
f9e82f3d 109 %{?with_gpgme:--with-gpgme} \
f5e059ba
SS
110 %{?with_compface:--with-compface} \
111 %{?with_gtksourceview:--with-gtksourceview} \
112 %{?with_gtkspell:--with-gtkspell} \
113 %{?with_sqlite:--with-sqlite} \
f9e82f3d 114 %{?with_ldap:--with-ldap}
c3d28cac 115%{__make}
892589b5 116
117%install
118rm -rf $RPM_BUILD_ROOT
119
efc8067a 120%{__make} install \
c3d28cac 121 DESTDIR=$RPM_BUILD_ROOT
28f9a5f4 122
0fcc9a77 123[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
124 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
35f3bdc7 125%find_lang %{name} --with-gnome --all-name
892589b5 126
127%clean
128rm -rf $RPM_BUILD_ROOT
129
c8f36180 130%post
c8f36180 131%scrollkeeper_update_post
132
133%postun
c8f36180 134%scrollkeeper_update_postun
fbe28c35 135
28f9a5f4 136%files -f %{name}.lang
137%defattr(644,root,root,755)
1a50b3e2 138%doc AUTHORS ChangeLog NEWS README TODO
917bba73
ER
139%attr(755,root,root) %{_bindir}/balsa
140%attr(755,root,root) %{_bindir}/balsa-ab
141%dir %{_sysconfdir}/sound/events
142%{_sysconfdir}/sound/events/balsa.soundlist
35f3bdc7 143%{_datadir}/%{name}
144%{_datadir}/sounds/%{name}
917bba73 145%{_mandir}/man1/balsa.1*
35f3bdc7 146%{_omf_dest_dir}/%{name}
917bba73
ER
147%{_desktopdir}/balsa.desktop
148%{_pixmapsdir}/gnome-balsa2.png
34b555e5 149%{_iconsdir}/hicolor/48x48/mimetypes/*.png
This page took 0.0534 seconds and 4 git commands to generate.