]> git.pld-linux.org Git - packages/balsa.git/blame - balsa.spec
- use libunique, BR: libunique-devel
[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
59117e87 4# - finish support for gtkhtml-4
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
21aedbc0 11%bcond_with gtkhtml2 # build with libgtkhtml-2 (default gtkhtml-3)
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
3e27fb1d 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
d21801d0 22Version: 2.4.9
59117e87 23Release: 0.1
d21801d0 24License: GPL v3+
baeee1cb 25Group: X11/Applications
ddd73823 26Source0: http://pawsa.fedorapeople.org/balsa/%{name}-%{version}.tar.bz2
d21801d0 27# Source0-md5: bd7ac44f0cf3117a5fdb46d17dac2b51
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}
f9e9cc53 49%{!?with_gtkhtml2:BuildRequires: gtkhtml-devel >= 3.14}
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
f9e82f3d 72Balsa is an e-mail reader. This client is part of the GNOME
73desktop environment. It supports local mailboxes, POP3 and
74IMAP.
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
9f9b6cec 91%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 \
4245238a 103 %{!?with_esmtp:--without-esmtp} \
4245238a 104 %{!?with_gtkhtml:--disable-gtkhtml}\
21aedbc0 105 %{?with_gtkhtml2:--with-gtkhtml=2}\
f9e82f3d 106 %{?with_gpgme:--with-gpgme} \
f5e059ba
SS
107 %{?with_compface:--with-compface} \
108 %{?with_gtksourceview:--with-gtksourceview} \
109 %{?with_gtkspell:--with-gtkspell} \
110 %{?with_sqlite:--with-sqlite} \
f9e82f3d 111 %{?with_ldap:--with-ldap}
c3d28cac 112%{__make}
892589b5 113
114%install
115rm -rf $RPM_BUILD_ROOT
116
efc8067a 117%{__make} install \
c3d28cac 118 DESTDIR=$RPM_BUILD_ROOT
28f9a5f4 119
0fcc9a77 120[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
121 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
35f3bdc7 122%find_lang %{name} --with-gnome --all-name
892589b5 123
124%clean
125rm -rf $RPM_BUILD_ROOT
126
c8f36180 127%post
c8f36180 128%scrollkeeper_update_post
129
130%postun
c8f36180 131%scrollkeeper_update_postun
fbe28c35 132
28f9a5f4 133%files -f %{name}.lang
134%defattr(644,root,root,755)
1a50b3e2 135%doc AUTHORS ChangeLog NEWS README TODO
28f9a5f4 136%attr(755,root,root) %{_bindir}/*
28f9a5f4 137%{_sysconfdir}/sound/events/*
35f3bdc7 138%{_datadir}/%{name}
139%{_datadir}/sounds/%{name}
3e27fb1d
JB
140%{_libdir}/bonobo/servers/*.server
141%{_datadir}/idl/*.idl
ac12f919 142%{_mandir}/man1/*
35f3bdc7 143%{_omf_dest_dir}/%{name}
cea64269 144%{_desktopdir}/*.desktop
35f3bdc7 145%{_pixmapsdir}/*
34b555e5 146%{_iconsdir}/hicolor/48x48/mimetypes/*.png
This page took 0.049067 seconds and 4 git commands to generate.