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