]> git.pld-linux.org Git - packages/balsa.git/blame - balsa.spec
- TODO changed
[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
2f177382 4# - fix that:
5# Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
0d8f743e 6#
7# Conditional build:
42a91aa9 8%bcond_without ldap # build without LDAP support
de6d62f9 9%bcond_with gpgme # build with GPG support (experimental)
42a91aa9
JB
10%bcond_without esmtp # build without ESMTP support
11%bcond_without gtkhtml # build without HTML support
21aedbc0 12%bcond_with gtkhtml2 # build with libgtkhtml-2 (default gtkhtml-3)
f5e059ba
SS
13%bcond_with compface # build with Compface
14%bcond_with gtksourceview # build with GtkSourceView
8b2233c9 15%bcond_without gtkspell # build without GtkSpell
f5e059ba 16%bcond_with sqlite # build with SQLite for GPE address books
3e27fb1d 17#
f9e82f3d 18Summary: Balsa Mail Client
d2600085
ER
19Summary(es.UTF-8): Balsa es un lector de e-mail
20Summary(pl.UTF-8): Balsa - klient poczty
21Summary(pt_BR.UTF-8): Balsa é um leitor de e-mail
28f9a5f4 22Name: balsa
d21801d0 23Version: 2.4.9
59117e87 24Release: 0.1
d21801d0 25License: GPL v3+
baeee1cb 26Group: X11/Applications
ddd73823 27Source0: http://pawsa.fedorapeople.org/balsa/%{name}-%{version}.tar.bz2
d21801d0 28# Source0-md5: bd7ac44f0cf3117a5fdb46d17dac2b51
77378d6c 29Patch0: %{name}-desktop.patch
9f9b6cec 30Patch1: %{name}-gtkhtml4.patch
35f3bdc7 31URL: http://balsa.gnome.org/
3d60ceab 32BuildRequires: ORBit2-devel >= 1:2.12.4
d495817e 33BuildRequires: aspell-devel >= 2:0.50
3e27fb1d 34BuildRequires: autoconf >= 2.52
3dc1d28f 35BuildRequires: automake
f5e059ba 36%{?with_compface:BuildRequires: compface-devel}
b9b91a2a 37BuildRequires: docbook-dtd412-xml
38BuildRequires: gettext-devel
ea3deab1 39BuildRequires: glib2-devel >= 2.6.4-1
ddd73823 40BuildRequires: gmime-devel >= 2.4.0
b9b91a2a 41BuildRequires: gnome-doc-utils
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}
f9e9cc53 50%{!?with_gtkhtml2:BuildRequires: gtkhtml-devel >= 3.14}
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
f9e82f3d 73Balsa is an e-mail reader. This client is part of the GNOME
74desktop environment. It supports local mailboxes, POP3 and
75IMAP.
61fd82f6 76
1fa6b67f 77%description -l es.UTF-8
0d1fcbaa 78Balsa es un lector de e-mail. Es parte del entorno GNOME. Soporta
1fa6b67f 79cajas de correo electrónico locales, POP3 y IMAP.
0d1fcbaa 80
1fa6b67f
JR
81%description -l pl.UTF-8
82Balsa to klient e-mail. Jest częścią środowiska GNOME. Obsługuje POP3,
b9b91a2a 83IMAP oraz lokalne skrzynki pocztowe.
0d1fcbaa 84
1fa6b67f
JR
85%description -l pt_BR.UTF-8
86Balsa é um leitor de e-mail, parte do ambiente de desktop GNOME.
0d1fcbaa 87Suporta caixas de correio locais, POP3 a IMAP.
61fd82f6 88
892589b5 89%prep
28f9a5f4 90%setup -q
3e27fb1d 91%patch0 -p1
9f9b6cec 92%patch1 -p1
bd01d0a6 93
892589b5 94%build
3e27fb1d
JB
95%{__libtoolize}
96%{__aclocal}
97%{__autoconf}
98%{__autoheader}
99%{__autoconf}
b9e2379f 100%configure \
3d60ceab 101 --with-gss \
b9e2379f 102 --with-ssl \
de4e1b98 103 --with-unique \
4245238a 104 %{!?with_esmtp:--without-esmtp} \
4245238a 105 %{!?with_gtkhtml:--disable-gtkhtml}\
21aedbc0 106 %{?with_gtkhtml2:--with-gtkhtml=2}\
f9e82f3d 107 %{?with_gpgme:--with-gpgme} \
f5e059ba
SS
108 %{?with_compface:--with-compface} \
109 %{?with_gtksourceview:--with-gtksourceview} \
110 %{?with_gtkspell:--with-gtkspell} \
111 %{?with_sqlite:--with-sqlite} \
f9e82f3d 112 %{?with_ldap:--with-ldap}
c3d28cac 113%{__make}
892589b5 114
115%install
116rm -rf $RPM_BUILD_ROOT
117
efc8067a 118%{__make} install \
c3d28cac 119 DESTDIR=$RPM_BUILD_ROOT
28f9a5f4 120
0fcc9a77 121[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
122 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
35f3bdc7 123%find_lang %{name} --with-gnome --all-name
892589b5 124
125%clean
126rm -rf $RPM_BUILD_ROOT
127
c8f36180 128%post
c8f36180 129%scrollkeeper_update_post
130
131%postun
c8f36180 132%scrollkeeper_update_postun
fbe28c35 133
28f9a5f4 134%files -f %{name}.lang
135%defattr(644,root,root,755)
1a50b3e2 136%doc AUTHORS ChangeLog NEWS README TODO
28f9a5f4 137%attr(755,root,root) %{_bindir}/*
28f9a5f4 138%{_sysconfdir}/sound/events/*
35f3bdc7 139%{_datadir}/%{name}
140%{_datadir}/sounds/%{name}
ac12f919 141%{_mandir}/man1/*
35f3bdc7 142%{_omf_dest_dir}/%{name}
cea64269 143%{_desktopdir}/*.desktop
35f3bdc7 144%{_pixmapsdir}/*
34b555e5 145%{_iconsdir}/hicolor/48x48/mimetypes/*.png
This page took 0.131673 seconds and 4 git commands to generate.