]> git.pld-linux.org Git - packages/balsa.git/blame - balsa.spec
- BR: docbook-dtd412-xml, gettext-devel, gnome-doc-utils, pkgconfig
[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
ddd73823 21Version: 2.4.0
154a4c5b 22Release: 2
28f9a5f4 23License: GPL
baeee1cb 24Group: X11/Applications
ddd73823
JR
25Source0: http://pawsa.fedorapeople.org/balsa/%{name}-%{version}.tar.bz2
26# Source0-md5: 47d68219a5ee768f1ebd2502a9c3c6f2
77378d6c 27Patch0: %{name}-desktop.patch
ddd73823 28Patch1: %{name}-without_id_lang.patch
35f3bdc7 29URL: http://balsa.gnome.org/
3d60ceab 30BuildRequires: ORBit2-devel >= 1:2.12.4
d495817e 31BuildRequires: aspell-devel >= 2:0.50
3e27fb1d 32BuildRequires: autoconf >= 2.52
3dc1d28f 33BuildRequires: automake
f5e059ba 34%{?with_compface:BuildRequires: compface-devel}
b9b91a2a 35BuildRequires: docbook-dtd412-xml
36BuildRequires: gettext-devel
ea3deab1 37BuildRequires: glib2-devel >= 2.6.4-1
ddd73823 38BuildRequires: gmime-devel >= 2.4.0
b9b91a2a 39BuildRequires: gnome-doc-utils
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}
21aedbc0 48%{!?with_gtkhtml2:BuildRequires: gtkhtml-devel >= 3.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
a2fec028 55%{?with_ldap:BuildRequires: openldap-devel >= 2.4.6}
3e27fb1d
JB
56BuildRequires: openssl-devel >= 0.9.7d
57BuildRequires: pcre-devel >= 3.0
b9b91a2a 58BuildRequires: pkgconfig
34b555e5 59BuildRequires: rpmbuild(macros) >= 1.197
3e27fb1d 60BuildRequires: scrollkeeper >= 0.1.4
510949b2
SS
61# actually, it requires sqlite >= 2.8
62%{?with_sqlite:BuildRequires: sqlite3-devel}
62f0cca9 63%{?with_gpgme:Requires: gpgme >= 1:0.9.0}
1415936a 64Requires(post,postun): scrollkeeper
0fcc9a77 65# sr@Latn vs. sr@latin
66Conflicts: glibc-misc < 6:2.7
35f3bdc7 67BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
892589b5 68
69%description
f9e82f3d 70Balsa is an e-mail reader. This client is part of the GNOME
71desktop environment. It supports local mailboxes, POP3 and
72IMAP.
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
b89f1f9d 89%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 \
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
0fcc9a77 117[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
118 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
35f3bdc7 119%find_lang %{name} --with-gnome --all-name
892589b5 120
121%clean
122rm -rf $RPM_BUILD_ROOT
123
c8f36180 124%post
c8f36180 125%scrollkeeper_update_post
126
127%postun
c8f36180 128%scrollkeeper_update_postun
fbe28c35 129
28f9a5f4 130%files -f %{name}.lang
131%defattr(644,root,root,755)
1a50b3e2 132%doc AUTHORS ChangeLog NEWS README TODO
28f9a5f4 133%attr(755,root,root) %{_bindir}/*
28f9a5f4 134%{_sysconfdir}/sound/events/*
35f3bdc7 135%{_datadir}/%{name}
136%{_datadir}/sounds/%{name}
3e27fb1d
JB
137%{_libdir}/bonobo/servers/*.server
138%{_datadir}/idl/*.idl
ac12f919 139%{_mandir}/man1/*
35f3bdc7 140%{_omf_dest_dir}/%{name}
cea64269 141%{_desktopdir}/*.desktop
35f3bdc7 142%{_pixmapsdir}/*
34b555e5 143%{_iconsdir}/hicolor/48x48/mimetypes/*.png
This page took 0.590013 seconds and 4 git commands to generate.