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